Class IndexSourceOperator
java.lang.Object
io.trino.operator.index.IndexSourceOperator
- All Implemented Interfaces:
Operator,SourceOperator,AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.trino.operator.Operator
NOT_BLOCKED -
Constructor Summary
ConstructorsConstructorDescriptionIndexSourceOperator(OperatorContext operatorContext, PlanNodeId planNodeId, ConnectorIndex index, Function<RecordSet, RecordSet> probeKeyNormalizer) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an input page to the operator.voidvoidclose()This method will always be called before releasing the Operator reference.voidfinish()Notifies the operator that no more pages will be added and the operator should finish processing and flush results.Gets an output page from the operator.booleanIs this operator completely finished processing and no more output pages will be produced.booleanReturns true if and only if this operator can accept an input page.voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.Operator
finishMemoryRevoke, isBlocked, startMemoryRevoke
-
Constructor Details
-
IndexSourceOperator
public IndexSourceOperator(OperatorContext operatorContext, PlanNodeId planNodeId, ConnectorIndex index, Function<RecordSet, RecordSet> probeKeyNormalizer)
-
-
Method Details
-
getOperatorContext
- Specified by:
getOperatorContextin interfaceOperator
-
getSourceId
- Specified by:
getSourceIdin interfaceSourceOperator
-
addSplit
- Specified by:
addSplitin interfaceSourceOperator
-
noMoreSplits
public void noMoreSplits()- Specified by:
noMoreSplitsin interfaceSourceOperator
-
finish
-
isFinished
public boolean isFinished()Description copied from interface:OperatorIs this operator completely finished processing and no more output pages will be produced.- Specified by:
isFinishedin interfaceOperator
-
needsInput
public boolean needsInput()Description copied from interface:OperatorReturns true if and only if this operator can accept an input page.- Specified by:
needsInputin interfaceOperator
-
addInput
-
getOutput
-
close
-