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
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface org.apache.drill.common.expression.LogicalExpression
LogicalExpression.De, LogicalExpression.Se
-
Field Summary
Modifier and TypeFieldDescriptionfinal LogicalExpression
final IfExpression.IfCondition
final TypeProtos.MajorType
-
Method Summary
Modifier and TypeMethodDescription<T,
V, E extends Exception>
Taccept
(ExprVisitor<T, V, E> visitor, V value) int
iterator()
static IfExpression.Builder
Methods inherited from class org.apache.drill.common.expression.LogicalExpressionBase
getDescription, getPosition, getSelfCost, i
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
ifCondition
-
elseExpression
-
outputType
-
-
Method Details
-
accept
- Throws:
E extends Exception
-
getMajorType
- Specified by:
getMajorType
in interfaceLogicalExpression
- Overrides:
getMajorType
in classLogicalExpressionBase
-
newBuilder
-
iterator
-
getCumulativeCost
public int getCumulativeCost()- Specified by:
getCumulativeCost
in interfaceLogicalExpression
- Overrides:
getCumulativeCost
in classLogicalExpressionBase
-