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 theFilteras 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.EntryAggregatorgetAggregator()Returns theInvocableMap.EntryAggregator, if any, for the query.com.tangosol.util.FiltergetFilter()Returns theFiltercriteria for the query.org.springframework.data.domain.SortgetSort()Return the desiredSortorder.
-
-
-
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 theFiltercriteria for the query.- Returns:
- the
Filtercriteria 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 desiredSortorder.- Returns:
- the desired sort order
-
-