public class ComputeTSet<O,I> extends BatchTSetImpl<O>
BaseTSet.StateType| Constructor and Description |
|---|
ComputeTSet() |
ComputeTSet(BatchEnvironment tSetEnv,
ComputeCollectorFunc<O,I> computeFn,
int parallelism,
Schema inputSchema) |
ComputeTSet(BatchEnvironment tSetEnv,
ComputeFunc<O,I> computeFn,
int parallelism,
Schema inputSchema) |
ComputeTSet(BatchEnvironment tSetEnv,
java.lang.String name,
ComputeCollectorFunc<O,I> computeFn,
int parallelism,
Schema inputSchema) |
ComputeTSet(BatchEnvironment tSetEnv,
java.lang.String name,
ComputeFunc<O,I> computeFn,
int parallelism,
Schema inputSchema) |
| Modifier and Type | Method and Description |
|---|---|
ComputeTSet<O,I> |
addInput(java.lang.String key,
StorableTBase<?> input)
Adds data to this TSet
|
TFunction<O,I> |
getComputeFunc()
Get the compute function associated with this TSet
|
ICompute<I> |
getINode() |
ComputeTSet<O,I> |
setName(java.lang.String name)
Sets the name
|
ComputeTSet<O,I> |
withSchema(Schema schema)
Sets the data type of the
TSet output. |
allGather, allReduce, cache, direct, gather, getTSetEnv, lazyCache, lazyPersist, mapToTuple, partition, partition, persist, pipe, 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 ComputeTSet()
public ComputeTSet(BatchEnvironment tSetEnv, ComputeFunc<O,I> computeFn, int parallelism, Schema inputSchema)
public ComputeTSet(BatchEnvironment tSetEnv, ComputeCollectorFunc<O,I> computeFn, int parallelism, Schema inputSchema)
public ComputeTSet(BatchEnvironment tSetEnv, java.lang.String name, ComputeFunc<O,I> computeFn, int parallelism, Schema inputSchema)
public ComputeTSet(BatchEnvironment tSetEnv, java.lang.String name, ComputeCollectorFunc<O,I> computeFn, int parallelism, Schema inputSchema)
public ComputeTSet<O,I> setName(java.lang.String name)
TSetpublic ComputeTSet<O,I> addInput(java.lang.String key, StorableTBase<?> input)
BatchTSetaddInput in interface AcceptingData<O>addInput in interface BatchTSet<O>addInput in class BatchTSetImpl<O>key - the key used to store the given TSetinput - a @StorableTBase TSet to be added as an inputpublic ComputeTSet<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 BatchTSetImpl<O>schema - data type as a MessageTypeTSet