Class Project
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.physical.base.AbstractSingle
org.apache.drill.exec.physical.config.Project
- All Implemented Interfaces:
Iterable<PhysicalOperator>
,GraphValue<PhysicalOperator>
,PhysicalOperator
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.base.AbstractSingle
child
Fields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
-
Constructor Summary
ConstructorDescriptionProject
(List<NamedExpression> exprs, PhysicalOperator child) Project
(List<NamedExpression> exprs, PhysicalOperator child, boolean outputProj) -
Method Summary
Modifier and TypeMethodDescription<T,
X, E extends Throwable>
Taccept
(PhysicalVisitor<T, X, E> physicalVisitor, X value) Provides capability to build a set of output based on traversing a query graph tree.getExprs()
protected PhysicalOperator
getNewWithChild
(PhysicalOperator child) Describes the SelectionVector Mode for the output steam from this physical op.boolean
Methods inherited from class org.apache.drill.exec.physical.base.AbstractSingle
getChild, getNewWithChildren, iterator
Methods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
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
-
OPERATOR_TYPE
- See Also:
-
-
Constructor Details
-
Project
-
Project
-
-
Method Details
-
getExprs
-
isOutputProj
public boolean isOutputProj()- Returns:
- true if Project is for the query's final output. Such Project is added by TopProjectVisitor, to handle fast NONE when all the inputs to the query are empty and are skipped.
-
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperator
Provides capability to build a set of output based on traversing a query graph tree.- Throws:
E extends Throwable
-
getNewWithChild
- Specified by:
getNewWithChild
in classAbstractSingle
-
getSVMode
Description copied from interface:PhysicalOperator
Describes the SelectionVector Mode for the output steam from this physical op. This property is used during physical plan creating usingPhysicalPlanCreator
.- Specified by:
getSVMode
in interfacePhysicalOperator
- Overrides:
getSVMode
in classAbstractBase
-
getOperatorType
-