public class RowSinkTSet extends BaseTSetWithSchema<Row> implements AcceptingData<Row>
BaseTSet.StateType| Constructor and Description |
|---|
RowSinkTSet(BatchEnvironment tSetEnv,
SinkFunc<Row> sinkFn,
int parallelism,
Schema inputSchema)
Creates SinkTSet with the given parameters
|
RowSinkTSet(BatchEnvironment tSetEnv,
SinkFunc<Row> s,
Schema inputSchema)
Creates SinkTSet with the given parameters, the parallelism of the TSet is taken as 1
|
| Modifier and Type | Method and Description |
|---|---|
RowSinkTSet |
addInput(java.lang.String key,
StorableTBase<?> input)
Allows users to pass in other TSets as inputs for a TSet
|
INode |
getINode() |
TBase |
setName(java.lang.String name)
Sets the name for the
TBase |
RowSinkTSet |
withSchema(Schema schema) |
getInputSchema, getOutputSchema, setOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, getTSetEnv, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuildgenerateID, getTBaseGraphpublic RowSinkTSet(BatchEnvironment tSetEnv, SinkFunc<Row> s, Schema inputSchema)
tSetEnv - The TSetEnv used for executions - The Sink function to be usedpublic RowSinkTSet(BatchEnvironment tSetEnv, SinkFunc<Row> sinkFn, int parallelism, Schema inputSchema)
tSetEnv - The TSetEnv used for executionsinkFn - The Sink function to be usedparallelism - the parallelism of the sinkpublic RowSinkTSet addInput(java.lang.String key, StorableTBase<?> input)
AcceptingDataaddInput in interface AcceptingData<Row>key - the key used to store the given TSetinput - a StorableTBase TSet to be added as an inputpublic INode getINode()
getINode in interface BuildableTSetpublic TBase setName(java.lang.String name)
TBaseTBasepublic RowSinkTSet withSchema(Schema schema)