Class QueryResult
java.lang.Object
com.oracle.coherence.spring.data.repository.query.QueryResult
The final result of query processing that includes the
Filter
as the query discriminate and the EntryAggregator
.- Since:
- 3.0
- Author:
- Ryan Lubke
-
Constructor Summary
ConstructorDescriptionQueryResult
(QueryState state, org.springframework.data.domain.Sort sort) Creates a newQueryResult
. -
Method Summary
Modifier and TypeMethodDescriptioncom.tangosol.util.InvocableMap.EntryAggregator
Returns theInvocableMap.EntryAggregator
, if any, for the query.com.tangosol.util.Filter
Returns theFilter
criteria for the query.org.springframework.data.domain.Sort
getSort()
Return the desiredSort
order.
-
Constructor Details
-
QueryResult
Creates a newQueryResult
.- Parameters:
state
- the final state of the parsed querysort
- the sort to be applied to the results
-
-
Method Details
-
getFilter
public com.tangosol.util.Filter getFilter()Returns theFilter
criteria for the query.- Returns:
- the
Filter
criteria for the query
-
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
-