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
Fields inherited from class org.apache.drill.exec.physical.base.AbstractJoinPop
condition, conditions, joinType, left, right, semiJoin
Fields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
-
Constructor Summary
ConstructorDescriptionHashJoinPOP
(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 TypeMethodDescriptionint
getNewWithChildren
(List<PhysicalOperator> children) Regenerate with this node with a new set of children.boolean
isBufferedOperator
(QueryContext queryContext) The Hash Aggregate operator supports spillingboolean
void
setMaxAllocation
(long maxAllocation) Any operator that supports spilling should override this methodvoid
setRuntimeFilterDef
(RuntimeFilterDef runtimeFilterDef) void
setSubScanForRowKeyJoin
(SubScan subScan) Methods inherited from class org.apache.drill.exec.physical.base.AbstractJoinPop
accept, getCondition, getConditions, getJoinType, getLeft, getRight, isSemiJoin, iterator
Methods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isExecutable, setCost, 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
-
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:PhysicalOperator
Regenerate with this node with a new set of children. This is used in the case of materialization or optimization. -
isRowKeyJoin
public boolean isRowKeyJoin() -
getJoinControl
public int getJoinControl() -
getSubScanForRowKeyJoin
-
setSubScanForRowKeyJoin
-
flipIfRight
-
getOperatorType
-
setMaxAllocation
public void setMaxAllocation(long maxAllocation) Description copied from class:AbstractBase
Any operator that supports spilling should override this method- Specified by:
setMaxAllocation
in interfacePhysicalOperator
- Overrides:
setMaxAllocation
in classAbstractBase
- Parameters:
maxAllocation
- The max memory allocation to be set
-
isBufferedOperator
The Hash Aggregate operator supports spilling- Specified by:
isBufferedOperator
in interfacePhysicalOperator
- Overrides:
isBufferedOperator
in classAbstractBase
- Parameters:
queryContext
-- Returns:
- true (unless a single partition is forced)
-
setRuntimeFilterDef
-
getRuntimeFilterDef
-