public abstract class WindowProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
TupleDefinition |
aggInputDef |
| Constructor and Description |
|---|
WindowProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static WindowProcessor |
getInstance(WindowSpecification spec,
TupleDefinition aggInputDef,
List<CompiledAggregateExpression> aggList,
TupleDefinition aggregateOutputDef) |
protected abstract boolean |
isOutsideWindow(Tuple tuple) |
List<Tuple> |
newData(Tuple tuple)
When windows closes, returns a list with the tuples to be emitted, otherwise returns null
|
protected abstract void |
setFirstTuple(Tuple tuple) |
public TupleDefinition aggInputDef
public static WindowProcessor getInstance(WindowSpecification spec, TupleDefinition aggInputDef, List<CompiledAggregateExpression> aggList, TupleDefinition aggregateOutputDef)
public List<Tuple> newData(Tuple tuple)
protected abstract void setFirstTuple(Tuple tuple)
protected abstract boolean isOutsideWindow(Tuple tuple)
Copyright © 2018 Space Applications Services. All rights reserved.