com.google.appengine.api.search.checkers
Class SortExpressionChecker

java.lang.Object
  extended by com.google.appengine.api.search.checkers.SortExpressionChecker

public class SortExpressionChecker
extends java.lang.Object

Checks the values of a SortExpression.


Constructor Summary
SortExpressionChecker()
           
 
Method Summary
static SortSpec checkValid(SortSpec spec)
          Checks the ScorerSpec 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 ScorerSpec is valid, specifically checking the limit on number of documents to score is not too large.

Parameters:
spec - the ScorerSpec to check
Returns:
the checked spec
Throws:
java.lang.IllegalArgumentException - if the spec is invalid