java.lang.Object
com.oracle.coherence.spring.data.repository.query.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 Summary

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

    Modifier and Type
    Method
    Description
    com.tangosol.util.InvocableMap.EntryAggregator
    Returns the InvocableMap.EntryAggregator, if any, for the query.
    com.tangosol.util.Filter
    Returns the Filter criteria for the query.
    org.springframework.data.domain.Sort
    Return the desired Sort order.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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