Class QueryResult


  • public class QueryResult
    extends Object
    The final result of query processing that includes the Filter as the query discriminate and the EntryAggregator.
    Since:
    3.0
    Author:
    Ryan Lubke
    • Constructor Detail

      • QueryResult

        public QueryResult​(QueryState state,
                           org.springframework.data.domain.Sort sort)
        Creates a new QueryResult.
        Parameters:
        state - the final state of the parsed query
        sort - the sort to be applied to the results
    • Method Detail

      • getFilter

        public com.tangosol.util.Filter getFilter()
        Returns the Filter criteria for the query.
        Returns:
        the Filter criteria for the query
      • getAggregator

        @Nullable
        public com.tangosol.util.InvocableMap.EntryAggregator getAggregator()
        Returns the InvocableMap.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 desired Sort order.
        Returns:
        the desired sort order