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
ConstructorsConstructorDescriptionQueryResult(QueryState state, org.springframework.data.domain.Sort sort) Creates a newQueryResult. -
Method Summary
Modifier and TypeMethodDescriptioncom.tangosol.util.InvocableMap.EntryAggregatorReturns theInvocableMap.EntryAggregator, if any, for the query.com.tangosol.util.FilterReturns theFiltercriteria for the query.org.springframework.data.domain.SortgetSort()Return the desiredSortorder.
-
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 theFiltercriteria for the query.- Returns:
- the
Filtercriteria 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 desiredSortorder.- Returns:
- the desired sort order
-