public class SortExpressionCheckerChecks the values of a com.google.appengine.api.search.SortExpression.
Static Methods
checkValid(SearchServicePb.SortSpec spec)
public static SearchServicePb.SortSpec checkValid(SearchServicePb.SortSpec spec)Checks the SortSpec is valid, specifically checking the limit on number of documents to score is not too large.
| Parameter | |
|---|---|
| Name | Description |
spec |
com.google.appengine.api.search.proto.SearchServicePb.SortSpecthe SortSpec to check |
| Returns | |
|---|---|
| Type | Description |
com.google.appengine.api.search.proto.SearchServicePb.SortSpec |
the checked spec |
Constructors
SortExpressionChecker()
public SortExpressionChecker()