public class LookupJoinOperator extends Object implements Operator
Modifier and Type | Class and Description |
---|---|
static class |
LookupJoinOperator.SavedRow |
static class |
LookupJoinOperator.SpillInfoSnapshot |
NOT_BLOCKED
Constructor and Description |
---|
LookupJoinOperator(OperatorContext operatorContext,
List<Type> probeTypes,
List<Type> buildOutputTypes,
LookupJoinOperators.JoinType joinType,
LookupSourceFactory lookupSourceFactory,
JoinProbe.JoinProbeFactory joinProbeFactory,
Runnable afterClose,
OptionalInt lookupJoinsCount,
HashGenerator hashGenerator,
PartitioningSpillerFactory partitioningSpillerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addInput(Page page)
Adds an input page to the operator.
|
void |
close()
This method will always be called before releasing the Operator reference.
|
void |
finish()
Notifies the operator that no more pages will be added and the
operator should finish processing and flush results.
|
OperatorContext |
getOperatorContext() |
Page |
getOutput()
Gets an output page from the operator.
|
LocalPartitionGenerator |
getPartitionGenerator() |
com.google.common.util.concurrent.ListenableFuture<?> |
isBlocked()
Returns a future that will be completed when the operator becomes
unblocked.
|
boolean |
isFinished()
Is this operator completely finished processing and no more
output pages will be produced.
|
boolean |
needsInput()
Returns true if and only if this operator can accept an input page.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finishMemoryRevoke, startMemoryRevoke
public LookupJoinOperator(OperatorContext operatorContext, List<Type> probeTypes, List<Type> buildOutputTypes, LookupJoinOperators.JoinType joinType, LookupSourceFactory lookupSourceFactory, JoinProbe.JoinProbeFactory joinProbeFactory, Runnable afterClose, OptionalInt lookupJoinsCount, HashGenerator hashGenerator, PartitioningSpillerFactory partitioningSpillerFactory)
public OperatorContext getOperatorContext()
getOperatorContext
in interface Operator
public void finish()
Operator
public boolean isFinished()
Operator
isFinished
in interface Operator
public com.google.common.util.concurrent.ListenableFuture<?> isBlocked()
Operator
NOT_BLOCKED
.public boolean needsInput()
Operator
needsInput
in interface Operator
public void addInput(Page page)
Operator
needsInput()
returns true.public LocalPartitionGenerator getPartitionGenerator()
public Page getOutput()
Operator
public void close()
Operator
close
in interface Operator
close
in interface AutoCloseable
Copyright © 2012–2022. All rights reserved.