Package org.apache.drill.exec.expr
Class HoldingContainerExpression
java.lang.Object
org.apache.drill.exec.expr.HoldingContainerExpression
- All Implemented Interfaces:
Iterable<LogicalExpression>
,LogicalExpression
Wrapper around a representation of a "Holder" to represent that
Holder as an expression. Whether this expression represents a
declaration, initialization, or reference (use) of the holder
depends on the visitor applied to this expression.
This expression class is a run-time implementation detail; it
shows up in the "unknown" bucket within the visitor, where it
must be parsed out using instanceof
(or assumed.)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.common.expression.LogicalExpression
LogicalExpression.De, LogicalExpression.Se
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T,
V, E extends Exception>
Taccept
(ExprVisitor<T, V, E> visitor, V value) int
int
iterator()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
HoldingContainerExpression
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<LogicalExpression>
-
getMajorType
- Specified by:
getMajorType
in interfaceLogicalExpression
-
accept
- Specified by:
accept
in interfaceLogicalExpression
- Throws:
E extends Exception
-
getContainer
-
getPosition
- Specified by:
getPosition
in interfaceLogicalExpression
-
getSelfCost
public int getSelfCost()- Specified by:
getSelfCost
in interfaceLogicalExpression
-
getCumulativeCost
public int getCumulativeCost()- Specified by:
getCumulativeCost
in interfaceLogicalExpression
-
toString
-