public class SSinkTSet<T> extends StreamingTSetImpl<T>
BaseTSet.StateType
Constructor and Description |
---|
SSinkTSet(StreamingEnvironment tSetEnv,
SinkFunc<T> s,
int parallelism,
Schema inputSchema)
Creates SinkTSet with the given parameters
|
SSinkTSet(StreamingEnvironment tSetEnv,
SinkFunc<T> s,
Schema inputSchema)
Creates SinkTSet with the given parameters, the parallelism of the TSet is taken as 1
|
Modifier and Type | Method and Description |
---|---|
ICompute |
getINode() |
SSinkTSet<T> |
setName(java.lang.String n)
Sets the name
|
SSinkTSet<T> |
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 SSinkTSet(StreamingEnvironment tSetEnv, SinkFunc<T> s, Schema inputSchema)
tSetEnv
- The TSetEnv used for executions
- The Sink function to be usedpublic SSinkTSet(StreamingEnvironment tSetEnv, SinkFunc<T> s, int parallelism, Schema inputSchema)
tSetEnv
- The TSetEnv used for executions
- The Sink function to be usedparallelism
- the parallelism of the sinkpublic SSinkTSet<T> setName(java.lang.String n)
TSet
public SSinkTSet<T> 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<T>
withSchema
in class StreamingTSetImpl<T>
schema
- data type as a MessageType
TSet
public ICompute getINode()