public abstract class UnaryExpression extends Object implements Expression
Expression
with one input and one output. The output is by default evaluated to null
if the input is evaluated to null.Modifier and Type | Method and Description |
---|---|
java.util.List<Expression> |
children() |
boolean |
equals(Object o) |
Object |
eval(RowRecord record) |
Expression |
getChild() |
int |
hashCode() |
dataType, references, toString
public Expression getChild()
public Object eval(RowRecord record)
eval
in interface Expression
record
- the input record to evaluate.RowRecord
.public java.util.List<Expression> children()
children
in interface Expression
List
of the immediate children of this nodepublic boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object