Class HashJoinPOP
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.physical.base.AbstractJoinPop
org.apache.drill.exec.physical.config.HashJoinPOP
- All Implemented Interfaces:
Iterable<PhysicalOperator>,GraphValue<PhysicalOperator>,PhysicalOperator
-
Field Summary
FieldsFields inherited from class org.apache.drill.exec.physical.base.AbstractJoinPop
condition, conditions, joinType, left, right, semiJoinFields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName -
Constructor Summary
ConstructorsConstructorDescriptionHashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType) HashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType, boolean semiJoin, RuntimeFilterDef runtimeFilterDef, boolean isRowKeyJoin, int joinControl) HashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType, RuntimeFilterDef runtimeFilterDef) HashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType, RuntimeFilterDef runtimeFilterDef, boolean isRowKeyJoin, int joinControl) -
Method Summary
Modifier and TypeMethodDescriptionintgetNewWithChildren(List<PhysicalOperator> children) Regenerate with this node with a new set of children.booleanisBufferedOperator(QueryContext queryContext) The Hash Aggregate operator supports spillingbooleanvoidsetMaxAllocation(long maxAllocation) Any operator that supports spilling should override this methodvoidsetRuntimeFilterDef(RuntimeFilterDef runtimeFilterDef) voidsetSubScanForRowKeyJoin(SubScan subScan) Methods inherited from class org.apache.drill.exec.physical.base.AbstractJoinPop
accept, getCondition, getConditions, getJoinType, getLeft, getRight, isSemiJoin, iteratorMethods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isExecutable, setCost, 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
-
OPERATOR_TYPE
- See Also:
-
-
Constructor Details
-
HashJoinPOP
public HashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType, boolean semiJoin, RuntimeFilterDef runtimeFilterDef, boolean isRowKeyJoin, int joinControl) -
HashJoinPOP
public HashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType, RuntimeFilterDef runtimeFilterDef, boolean isRowKeyJoin, int joinControl) -
HashJoinPOP
public HashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType) -
HashJoinPOP
public HashJoinPOP(PhysicalOperator left, PhysicalOperator right, List<JoinCondition> conditions, org.apache.calcite.rel.core.JoinRelType joinType, RuntimeFilterDef runtimeFilterDef)
-
-
Method Details
-
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-
-
isRowKeyJoin
public boolean isRowKeyJoin() -
getJoinControl
public int getJoinControl() -
getSubScanForRowKeyJoin
-
setSubScanForRowKeyJoin
-
flipIfRight
-
getOperatorType
-
setMaxAllocation
public void setMaxAllocation(long maxAllocation) Description copied from class:AbstractBaseAny operator that supports spilling should override this method- Specified by:
setMaxAllocationin interfacePhysicalOperator- Overrides:
setMaxAllocationin classAbstractBase- Parameters:
maxAllocation- The max memory allocation to be set
-
isBufferedOperator
The Hash Aggregate operator supports spilling- Specified by:
isBufferedOperatorin interfacePhysicalOperator- Overrides:
isBufferedOperatorin classAbstractBase- Parameters:
queryContext-- Returns:
- true (unless a single partition is forced)
-
setRuntimeFilterDef
-
getRuntimeFilterDef
-