Class SelectStatementBuilder.AsyncSelectStatement
- java.lang.Object
-
- com.tangosol.coherence.dslquery.statement.SelectStatementBuilder.AsyncSelectStatement
-
- Enclosing class:
- SelectStatementBuilder
public static class SelectStatementBuilder.AsyncSelectStatement extends Object
Async implementation of the CohQL "SELECT" command.
-
-
Field Summary
Fields Modifier and Type Field Description protected InvocableMap.EntryAggregatorf_aggregatorTheInvocableMap.EntryAggregatorto use in the query.protected Filterf_filterTheFilterto use in the query.protected booleanf_fReductionFlag to denote whether this query is an aggregation to select specific fields from the values of a cache; e.g. select x, y, z from foo.protected Stringf_sCacheThe name of the cache to query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<StatementResult>execute(ExecutionContext ctx)InvocableMap.EntryAggregatorgetAggregator()Return theInvocableMap.EntryAggregatorto use to execute this query.FiltergetFilter()Return theFilterto use to execute this query.
-
-
-
Field Detail
-
f_sCache
protected final String f_sCache
The name of the cache to query.
-
f_aggregator
protected final InvocableMap.EntryAggregator f_aggregator
TheInvocableMap.EntryAggregatorto use in the query.
-
f_fReduction
protected final boolean f_fReduction
Flag to denote whether this query is an aggregation to select specific fields from the values of a cache; e.g. select x, y, z from foo.
-
-
Method Detail
-
execute
public CompletableFuture<StatementResult> execute(ExecutionContext ctx)
-
getFilter
public Filter getFilter()
Return theFilterto use to execute this query.- Returns:
- the
Filterto use to execute this query
-
getAggregator
public InvocableMap.EntryAggregator getAggregator()
Return theInvocableMap.EntryAggregatorto use to execute this query.- Returns:
- the InvocableMap.EntryAggregator to use to execute this query
-
-