Class QueryResult


  • public class QueryResult
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      QueryResult​(QueryState state, org.springframework.data.domain.Sort sort)
      Creates a new QueryResult.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.tangosol.util.InvocableMap.EntryAggregator getAggregator()
      Returns the InvocableMap.EntryAggregator, if any, for the query.
      com.tangosol.util.Filter getFilter()
      Returns the Filter criteria for the query.
      org.springframework.data.domain.Sort getSort()
      Return the desired Sort order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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