Package org.yamcs.yarch
Class WindowProcessor
- java.lang.Object
-
- org.yamcs.yarch.WindowProcessor
-
public abstract class WindowProcessor extends Object
-
-
Field Summary
Fields Modifier and Type Field Description TupleDefinition
aggInputDef
protected List<CompiledAggregateExpression>
aggList
protected static List<Tuple>
EMPTY_RETURN
-
Constructor Summary
Constructors Constructor Description WindowProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static WindowProcessor
getInstance(WindowSpecification spec, TupleDefinition aggInputDef, List<CompiledAggregateExpression> aggList, TupleDefinition aggregateOutputDef)
abstract List<Tuple>
newData(Tuple tuple)
protected abstract List<Tuple>
streamClosed()
Called when the input stream closes, the window has the opportunity to emit some tuples before closure
-
-
-
Field Detail
-
aggList
protected List<CompiledAggregateExpression> aggList
-
aggInputDef
public TupleDefinition aggInputDef
-
-
Method Detail
-
getInstance
public static WindowProcessor getInstance(WindowSpecification spec, TupleDefinition aggInputDef, List<CompiledAggregateExpression> aggList, TupleDefinition aggregateOutputDef)
-
-