Class QueryResult
- java.lang.Object
-
- com.oracle.coherence.spring.data.repository.query.QueryResult
-
public class QueryResult extends Object
The final result of query processing that includes theFilter
as the query discriminate and theEntryAggregator
.- Since:
- 3.0
- Author:
- Ryan Lubke
-
-
Constructor Summary
Constructors Constructor Description QueryResult(QueryState state, org.springframework.data.domain.Sort sort)
Creates a newQueryResult
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.tangosol.util.InvocableMap.EntryAggregator
getAggregator()
Returns theInvocableMap.EntryAggregator
, if any, for the query.com.tangosol.util.Filter
getFilter()
Returns theFilter
criteria for the query.org.springframework.data.domain.Sort
getSort()
Return the desiredSort
order.
-
-
-
Constructor Detail
-
QueryResult
public QueryResult(QueryState state, org.springframework.data.domain.Sort sort)
Creates a newQueryResult
.- Parameters:
state
- the final state of the parsed querysort
- the sort to be applied to the results
-
-
Method Detail
-
getFilter
public com.tangosol.util.Filter getFilter()
Returns theFilter
criteria for the query.- Returns:
- the
Filter
criteria for the query
-
getAggregator
@Nullable public com.tangosol.util.InvocableMap.EntryAggregator getAggregator()
Returns theInvocableMap.EntryAggregator
, if any, for the query.- Returns:
- the
InvocableMap.EntryAggregator
, if any, for the query
-
getSort
public org.springframework.data.domain.Sort getSort()
Return the desiredSort
order.- Returns:
- the desired sort order
-
-