public interface StreamingAggregator
Modifier and Type | Interface and Description |
---|---|
static class |
StreamingAggregator.AggOutcome
The Aggregator can return one of the following outcomes:
|
Modifier and Type | Field and Description |
---|---|
static TemplateClassDefinition<StreamingAggregator> |
TEMPLATE_DEFINITION |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
StreamingAggregator.AggOutcome |
doWork(RecordBatch.IterOutcome outerOutcome) |
RecordBatch.IterOutcome |
getOutcome() |
int |
getOutputCount() |
boolean |
isDone() |
boolean |
previousBatchProcessed() |
void |
setup(OperatorContext context,
RecordBatch incoming,
StreamingAggBatch outgoing,
int outputRowCount) |
static final TemplateClassDefinition<StreamingAggregator> TEMPLATE_DEFINITION
void setup(OperatorContext context, RecordBatch incoming, StreamingAggBatch outgoing, int outputRowCount) throws SchemaChangeException
SchemaChangeException
RecordBatch.IterOutcome getOutcome()
int getOutputCount()
StreamingAggregator.AggOutcome doWork(RecordBatch.IterOutcome outerOutcome)
boolean isDone()
void cleanup()
boolean previousBatchProcessed()
Copyright © 1970 The Apache Software Foundation. All rights reserved.