O - Output type of TSetI - Input Type of TSetpublic class WindowComputeTSet<O,I> extends StreamingTSetImpl<O>
BaseTSet.StateType| Constructor and Description |
|---|
WindowComputeTSet(StreamingEnvironment tSetEnv,
int parallelism,
WindowParameter winParam,
Schema inputSchema) |
WindowComputeTSet(StreamingEnvironment tSetEnv,
java.lang.String name,
int parallelism,
WindowParameter winParam,
Schema inputSchema) |
| Modifier and Type | Method and Description |
|---|---|
WindowComputeTSet<O,I> |
aggregate(AggregateFunc<O> aggregateFunction)
This method reduces the values inside a window
|
ICompute<I> |
getINode() |
WindowComputeTSet<O,I> |
process(WindowComputeFunc<O,I> processFunction) |
WindowComputeTSet<O,I> |
setName(java.lang.String name)
Sets the name
|
WindowComputeTSet<O,I> |
withSchema(Schema schema)
Sets the data type of the
TSet output. |
allGather, allReduce, direct, gather, getTSetEnv, mapToTuple, partition, partition, reduce, replicate, union, uniongetInputSchema, getOutputSchema, setOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuildgenerateID, getTBaseGraphpublic WindowComputeTSet(StreamingEnvironment tSetEnv, int parallelism, WindowParameter winParam, Schema inputSchema)
public WindowComputeTSet(StreamingEnvironment tSetEnv, java.lang.String name, int parallelism, WindowParameter winParam, Schema inputSchema)
public WindowComputeTSet<O,I> setName(java.lang.String name)
TSetpublic WindowComputeTSet<O,I> process(WindowComputeFunc<O,I> processFunction)
public WindowComputeTSet<O,I> aggregate(AggregateFunc<O> aggregateFunction)
aggregateFunction - reduce function definitionpublic WindowComputeTSet<O,I> withSchema(Schema schema)
TSetTSet output. This will be used in the packers for efficient
SER-DE operations in the following TLinkswithSchema in interface TSet<O>withSchema in class StreamingTSetImpl<O>schema - data type as a MessageTypeTSet