Class IntersectOperator
- java.lang.Object
-
- org.apache.pinot.query.runtime.operator.MultiStageOperator
-
- org.apache.pinot.query.runtime.operator.SetOperator
-
- org.apache.pinot.query.runtime.operator.IntersectOperator
-
- All Implemented Interfaces:
AutoCloseable,Operator<TransferableBlock>
public class IntersectOperator extends SetOperator
Intersect operator.
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.query.runtime.operator.SetOperator
_rightRowSet
-
Fields inherited from class org.apache.pinot.query.runtime.operator.MultiStageOperator
_context, _opChainStats, _operatorId
-
-
Constructor Summary
Constructors Constructor Description IntersectOperator(OpChainExecutionContext opChainExecutionContext, List<MultiStageOperator> upstreamOperators, DataSchema dataSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanhandleRowMatched(Object[] row)Returns true if the row is matched.StringtoExplainString()-
Methods inherited from class org.apache.pinot.query.runtime.operator.SetOperator
constructResultBlockSet, constructRightBlockSet, explainPlan, getChildOperators, getExecutionStatistics, getIndexSegment, getNextBlock, prepareForExplainPlan
-
Methods inherited from class org.apache.pinot.query.runtime.operator.MultiStageOperator
cancel, close, getOperatorId, nextBlock, shouldCollectStats
-
-
-
-
Constructor Detail
-
IntersectOperator
public IntersectOperator(OpChainExecutionContext opChainExecutionContext, List<MultiStageOperator> upstreamOperators, DataSchema dataSchema)
-
-
Method Detail
-
toExplainString
@Nullable public String toExplainString()
-
handleRowMatched
protected boolean handleRowMatched(Object[] row)
Description copied from class:SetOperatorReturns true if the row is matched. Also updates the right row set based on the Operator.- Specified by:
handleRowMatchedin classSetOperator- Returns:
- true if the row is matched.
-
-