Class SetOp
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.physical.base.AbstractMultiple
org.apache.drill.exec.physical.config.SetOp
- All Implemented Interfaces:
Iterable<PhysicalOperator>,GraphValue<PhysicalOperator>,PhysicalOperator
-
Field Summary
FieldsFields inherited from class org.apache.drill.exec.physical.base.AbstractMultiple
childrenFields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName -
Constructor Summary
ConstructorsConstructorDescriptionSetOp(List<PhysicalOperator> children, org.apache.calcite.sql.SqlKind kind, boolean all) -
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.org.apache.calcite.sql.SqlKindgetKind()getNewWithChildren(List<PhysicalOperator> children) Regenerate with this node with a new set of children.booleanisAll()booleanisBufferedOperator(QueryContext queryContext) Any operator that supports spilling should override this method (and return true)Methods inherited from class org.apache.drill.exec.physical.base.AbstractMultiple
getChildren, iteratorMethods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isExecutable, setCost, setMaxAllocation, setOperatorIdMethods 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
-
kind
public org.apache.calcite.sql.SqlKind kind -
all
public boolean all
-
-
Constructor Details
-
SetOp
-
-
Method Details
-
getKind
public org.apache.calcite.sql.SqlKind getKind() -
isAll
public boolean isAll() -
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperatorProvides capability to build a set of output based on traversing a query graph tree.- Parameters:
physicalVisitor-- Throws:
E
-
getNewWithChildren
Description copied from interface:PhysicalOperatorRegenerate with this node with a new set of children. This is used in the case of materialization or optimization.- Parameters:
children-
-
getOperatorType
-
isBufferedOperator
Description copied from class:AbstractBaseAny operator that supports spilling should override this method (and return true)- Specified by:
isBufferedOperatorin interfacePhysicalOperator- Overrides:
isBufferedOperatorin classAbstractBase- Parameters:
queryContext-- Returns:
- false
-