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 aSortExpression
.
-
-
Constructor Summary
Constructors Constructor and Description SortExpressionChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static SortSpec
checkValid(SortSpec spec)
Checks theSortSpec
is valid, specifically checking the limit on number of documents to score is not too large.
-
-
-
Method Detail
-
checkValid
public static SortSpec checkValid(SortSpec spec)
Checks theSortSpec
is valid, specifically checking the limit on number of documents to score is not too large.- Parameters:
spec
- theSortSpec
to check- Returns:
- the checked spec
- Throws:
java.lang.IllegalArgumentException
- if the spec is invalid
-
-