Interface StreamingAggregator
- All Known Implementing Classes:
StreamingAggTemplate
public interface StreamingAggregator
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe Aggregator can return one of the following outcomes: -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()doWork(RecordBatch.IterOutcome outerOutcome) intbooleanisDone()booleanvoidsetup(OperatorContext context, RecordBatch incoming, StreamingAggBatch outgoing, int outputRowCount)
-
Field Details
-
TEMPLATE_DEFINITION
-
-
Method Details
-
setup
void setup(OperatorContext context, RecordBatch incoming, StreamingAggBatch outgoing, int outputRowCount) throws SchemaChangeException - Throws:
SchemaChangeException
-
getOutcome
RecordBatch.IterOutcome getOutcome() -
getOutputCount
int getOutputCount() -
doWork
-
isDone
boolean isDone() -
cleanup
void cleanup() -
previousBatchProcessed
boolean previousBatchProcessed()
-