Class SortExpressionChecker

    • Constructor Detail

      • SortExpressionChecker

        public SortExpressionChecker()
    • Method Detail

      • checkValid

        public static com.google.appengine.api.search.proto.SearchServicePb.SortSpec checkValid​(com.google.appengine.api.search.proto.SearchServicePb.SortSpec spec)
        Checks the SearchServicePb.SortSpec is valid, specifically checking the limit on number of documents to score is not too large.
        Parameters:
        spec - the SearchServicePb.SortSpec to check
        Returns:
        the checked spec
        Throws:
        IllegalArgumentException - if the spec is invalid