Class SortExpressionChecker
- java.lang.Object
-
- com.google.appengine.api.search.checkers.SortExpressionChecker
-
public class SortExpressionChecker extends Object
Checks the values of aSortExpression.
-
-
Constructor Summary
Constructors Constructor Description SortExpressionChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.appengine.api.search.proto.SearchServicePb.SortSpeccheckValid(com.google.appengine.api.search.proto.SearchServicePb.SortSpec spec)Checks theSearchServicePb.SortSpecis valid, specifically checking the limit on number of documents to score is not too large.
-
-
-
Method Detail
-
checkValid
public static com.google.appengine.api.search.proto.SearchServicePb.SortSpec checkValid(com.google.appengine.api.search.proto.SearchServicePb.SortSpec spec)
Checks theSearchServicePb.SortSpecis valid, specifically checking the limit on number of documents to score is not too large.- Parameters:
spec- theSearchServicePb.SortSpecto check- Returns:
- the checked spec
- Throws:
IllegalArgumentException- if the spec is invalid
-
-