public abstract class Expression
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Expression.Sorter
Sort class for potential multi dimensional sorting of the expression.
|
| Constructor and Description |
|---|
Expression() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public abstract FieldValue eval(Document doc)
throws EvaluationException
EvaluationExceptionpublic 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)