SortExpressionChecker (Google App Engine API for Java)

com.google.appengine.api.search.checkers

Class SortExpressionChecker

  • java.lang.Object
    • com.google.appengine.api.search.checkers.SortExpressionChecker


  • public class SortExpressionChecker
    extends java.lang.Object
    Checks the values of a SortExpression.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static SortSpec checkValid(SortSpec spec)
      Checks the SortSpec is valid, specifically checking the limit on number of documents to score is not too large.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SortExpressionChecker

        public SortExpressionChecker()
    • Method Detail

      • checkValid

        public static SortSpec checkValid(SortSpec spec)
        Checks the SortSpec is valid, specifically checking the limit on number of documents to score is not too large.
        Parameters:
        spec - the SortSpec to check
        Returns:
        the checked spec
        Throws:
        java.lang.IllegalArgumentException - if the spec is invalid