public class StatisticsWriterOperator extends Object implements Operator
| Modifier and Type | Class and Description |
|---|---|
static interface |
StatisticsWriterOperator.StatisticsWriter |
static class |
StatisticsWriterOperator.StatisticsWriterOperatorFactory |
| Modifier and Type | Field and Description |
|---|---|
static List<Type> |
TYPES |
NOT_BLOCKED| Constructor and Description |
|---|
StatisticsWriterOperator(OperatorContext operatorContext,
StatisticsWriterOperator.StatisticsWriter statisticsWriter,
StatisticAggregationsDescriptor<Integer> descriptor,
boolean rowCountEnabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInput(Page page)
Adds an input page to the operator.
|
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.
|
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, waitclose, finishMemoryRevoke, isBlocked, startMemoryRevokepublic StatisticsWriterOperator(OperatorContext operatorContext, StatisticsWriterOperator.StatisticsWriter statisticsWriter, StatisticAggregationsDescriptor<Integer> descriptor, boolean rowCountEnabled)
public OperatorContext getOperatorContext()
getOperatorContext in interface Operatorpublic boolean needsInput()
OperatorneedsInput in interface Operatorpublic void addInput(Page page)
OperatorneedsInput() returns true.public Page getOutput()
Operatorpublic void finish()
Operatorpublic boolean isFinished()
OperatorisFinished in interface OperatorCopyright © 2012–2019. All rights reserved.