public class FieldExpression extends Expression
| Constructor and Description |
|---|
FieldExpression(org.ojai.FieldPath fieldPath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
emitSql(java.lang.StringBuilder sb,
java.lang.String tableAlias)
Emit this expression's contribution to the string (where clause).
|
org.ojai.FieldPath |
getFieldPath()
Get the field path.
|
boolean |
structuralEquals(Expression e)
Check to see if the two expressions are equal.
|
int |
structuralHashCode()
Generate the hash code for the Expression.
|
void |
visit(ExpressionVisitor ev)
Visit this node.
|
gatherExpressions, toStringpublic FieldExpression(org.ojai.FieldPath fieldPath)
fieldPath - the field pathpublic org.ojai.FieldPath getFieldPath()
public void emitSql(java.lang.StringBuilder sb,
java.lang.String tableAlias)
ExpressionemitSql in class Expressionsb - where to write totableAlias - the table alias to use for field namespublic boolean structuralEquals(Expression e)
ExpressionstructuralEquals in class Expressione - the other expression to compare withpublic int structuralHashCode()
ExpressionstructuralHashCode in class Expressionpublic void visit(ExpressionVisitor ev)
Expressionvisit in class Expressionev - the visitor