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, union
getInputSchema, getOutputSchema, setOutputSchema
addChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
build
generateID, getTBaseGraph
public 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)
TSet
public 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)
TSet
TSet
output. This will be used in the packers for efficient
SER-DE operations in the following TLink
swithSchema
in interface TSet<O>
withSchema
in class StreamingTSetImpl<O>
schema
- data type as a MessageType
TSet