public abstract class Twister2TranslationContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<PValue,TSet<?>> |
dataSets |
Constructor and Description |
---|
Twister2TranslationContext(Twister2PipelineOptions options) |
Modifier and Type | Method and Description |
---|---|
abstract void |
eval(SinkTSet<?> tSet) |
void |
execute() |
<any> |
getCurrentTransform() |
TSetEnvironment |
getEnvironment() |
<T extends PValue> |
getInput(<any> transform) |
<T> TSet<<any>> |
getInputDataSet(PValue input) |
<T> java.util.Map<<any>,PValue> |
getInputs() |
java.util.Set<TSet> |
getLeaves() |
PipelineOptions |
getOptions() |
<T extends PValue> |
getOutput(<any> transform) |
java.util.Map<<any>,<any>> |
getOutputCoders() |
java.util.Map<<any>,PValue> |
getOutputs() |
SerializablePipelineOptions |
getSerializableOptions() |
java.util.Map<java.lang.String,BatchTSet<?>> |
getSideInputDataSets() |
void |
setCurrentTransform(<any> transform) |
<T> void |
setOutputDataSet(<any> output,
TSet<<any>> tset) |
<VT,ET> void |
setSideInputDataSet(java.lang.String value,
BatchTSet<<any>> set) |
protected final java.util.Map<PValue,TSet<?>> dataSets
public Twister2TranslationContext(Twister2PipelineOptions options)
public SerializablePipelineOptions getSerializableOptions()
public <T extends PValue> T getOutput(<any> transform)
public PipelineOptions getOptions()
public <T> void setOutputDataSet(<any> output, TSet<<any>> tset)
public <T> TSet<<any>> getInputDataSet(PValue input)
public <T> java.util.Map<<any>,PValue> getInputs()
public <T extends PValue> T getInput(<any> transform)
public void setCurrentTransform(<any> transform)
public <any> getCurrentTransform()
public java.util.Map<<any>,PValue> getOutputs()
public java.util.Map<<any>,<any>> getOutputCoders()
public TSetEnvironment getEnvironment()
public void execute()
public abstract void eval(SinkTSet<?> tSet)
public <VT,ET> void setSideInputDataSet(java.lang.String value, BatchTSet<<any>> set)
public java.util.Set<TSet> getLeaves()
public java.util.Map<java.lang.String,BatchTSet<?>> getSideInputDataSets()