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
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,V, E extends Exception>
Taccept(ExprVisitor<T, V, E> visitor, V value) intintiterator()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
HoldingContainerExpression
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<LogicalExpression>
-
getMajorType
- Specified by:
getMajorTypein interfaceLogicalExpression
-
accept
- Specified by:
acceptin interfaceLogicalExpression- Throws:
E
-
getContainer
-
getPosition
- Specified by:
getPositionin interfaceLogicalExpression
-
getSelfCost
public int getSelfCost()- Specified by:
getSelfCostin interfaceLogicalExpression
-
getCumulativeCost
public int getCumulativeCost()- Specified by:
getCumulativeCostin interfaceLogicalExpression
-
toString
-