|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.search.dev.Expression
public abstract class Expression
Abstract base class for all expression evaluators.
Nested Class Summary | |
---|---|
static interface |
Expression.Sorter
Sort class for potential multi dimensional sorting of the expression. |
Constructor Summary | |
---|---|
Expression()
|
Method Summary | |
---|---|
abstract FieldValue |
eval(Document doc)
Evaluate the expression to field value proto for the specified document. |
abstract java.util.List<Expression.Sorter> |
getSorters(int sign,
double defaultValueNumeric,
java.lang.String defaultValueText)
Get list of sort classes for the expression. |
static FieldValue |
makeValue(ContentType type,
java.lang.String stringValue)
Helper function to make field value proto from specified content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Expression()
Method Detail |
---|
public abstract FieldValue eval(Document doc) throws EvaluationException
EvaluationException
public static final FieldValue makeValue(ContentType type, java.lang.String stringValue)
public abstract java.util.List<Expression.Sorter> getSorters(int sign, double defaultValueNumeric, java.lang.String defaultValueText)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |