public class DeleteOperator extends Object implements Operator
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteOperator.DeleteOperatorFactory |
| Modifier and Type | Field and Description |
|---|---|
static List<Type> |
TYPES |
NOT_BLOCKED| Constructor and Description |
|---|
DeleteOperator(OperatorContext operatorContext,
int rowIdChannel) |
| 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.
|
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.
|
void |
setPageSource(Supplier<Optional<UpdatablePageSource>> pageSource) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinishMemoryRevoke, startMemoryRevokepublic DeleteOperator(OperatorContext operatorContext, int rowIdChannel)
public OperatorContext getOperatorContext()
getOperatorContext in interface Operatorpublic void finish()
Operatorpublic boolean isFinished()
OperatorisFinished in interface Operatorpublic boolean needsInput()
OperatorneedsInput in interface Operatorpublic void addInput(Page page)
OperatorneedsInput() returns true.public com.google.common.util.concurrent.ListenableFuture<?> isBlocked()
OperatorNOT_BLOCKED.public Page getOutput()
Operatorpublic void close()
Operatorclose in interface Operatorclose in interface AutoCloseablepublic void setPageSource(Supplier<Optional<UpdatablePageSource>> pageSource)
Copyright © 2012–2019. All rights reserved.