Class IfExpression
java.lang.Object
org.apache.drill.common.expression.LogicalExpressionBase
org.apache.drill.common.expression.IfExpression
- All Implemented Interfaces:
Iterable<LogicalExpression>,LogicalExpression
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.apache.drill.common.expression.LogicalExpression
LogicalExpression.De, LogicalExpression.Se -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal LogicalExpressionfinal IfExpression.IfConditionfinal TypeProtos.MajorType -
Method Summary
Modifier and TypeMethodDescription<T,V, E extends Exception>
Taccept(ExprVisitor<T, V, E> visitor, V value) intiterator()static IfExpression.BuilderMethods inherited from class org.apache.drill.common.expression.LogicalExpressionBase
getDescription, getPosition, getSelfCost, iMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
ifCondition
-
elseExpression
-
outputType
-
-
Method Details
-
accept
- Throws:
E
-
getMajorType
- Specified by:
getMajorTypein interfaceLogicalExpression- Overrides:
getMajorTypein classLogicalExpressionBase
-
newBuilder
-
iterator
-
getCumulativeCost
public int getCumulativeCost()- Specified by:
getCumulativeCostin interfaceLogicalExpression- Overrides:
getCumulativeCostin classLogicalExpressionBase
-