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, toStringpublic Expression getChild()
public Object eval(RowRecord record)
eval in interface Expressionrecord - the input record to evaluate.RowRecord.public java.util.List<Expression> children()
children in interface ExpressionList of the immediate children of this nodepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object