SortOptions (Google App Engine API for Java)

Class SortOptions

  • java.lang.Object

  • public final class SortOptions
    extends java.lang.Object
    Definition of how to sort documents. You may specify zero or more sort expressions and set a match scorer. If you have a large index, it is advisable to set a limit.
    • Method Detail

      • getSortExpressions

        public java.util.List<SortExpression> getSortExpressions()
        a list of sort expressions representing a multi-dimensional sort
      • getLimit

        public int getLimit()
        the limit on the number of documents to score or sort
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object