public abstract class Twister2TranslationContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<PValue,edu.iu.dsc.tws.api.tset.sets.TSet<?>> |
dataSets |
Constructor and Description |
---|
Twister2TranslationContext(Twister2PipelineOptions options) |
Modifier and Type | Method and Description |
---|---|
abstract void |
eval(edu.iu.dsc.tws.tset.sets.batch.SinkTSet<?> tSet) |
org.apache.beam.sdk.runners.AppliedPTransform<?,?,?> |
getCurrentTransform() |
edu.iu.dsc.tws.tset.env.TSetEnvironment |
getEnvironment() |
<T extends PValue> |
getInput(PTransform<T,?> transform) |
<T> edu.iu.dsc.tws.api.tset.sets.TSet<org.apache.beam.sdk.util.WindowedValue<T>> |
getInputDataSet(PValue input) |
<T> java.util.Map<TupleTag<?>,PCollection<?>> |
getInputs() |
java.util.Set<edu.iu.dsc.tws.api.tset.sets.TSet> |
getLeaves() |
Twister2PipelineOptions |
getOptions() |
<T extends PValue> |
getOutput(PTransform<?,T> transform) |
java.util.Map<TupleTag<?>,Coder<?>> |
getOutputCoders() |
java.util.Map<TupleTag<?>,PCollection<?>> |
getOutputs() |
java.util.Map<java.lang.String,edu.iu.dsc.tws.api.tset.sets.batch.BatchTSet<?>> |
getSideInputDataSets() |
void |
setCurrentTransform(org.apache.beam.sdk.runners.AppliedPTransform<?,?,?> transform) |
<T> void |
setOutputDataSet(PCollection<T> output,
edu.iu.dsc.tws.api.tset.sets.TSet<org.apache.beam.sdk.util.WindowedValue<T>> tset) |
<ViewT,ElemT> |
setSideInputDataSet(java.lang.String value,
edu.iu.dsc.tws.api.tset.sets.batch.BatchTSet<org.apache.beam.sdk.util.WindowedValue<ElemT>> set) |
protected final java.util.Map<PValue,edu.iu.dsc.tws.api.tset.sets.TSet<?>> dataSets
public Twister2TranslationContext(Twister2PipelineOptions options)
public <T extends PValue> T getOutput(PTransform<?,T> transform)
public Twister2PipelineOptions getOptions()
public <T> void setOutputDataSet(PCollection<T> output, edu.iu.dsc.tws.api.tset.sets.TSet<org.apache.beam.sdk.util.WindowedValue<T>> tset)
public <T> edu.iu.dsc.tws.api.tset.sets.TSet<org.apache.beam.sdk.util.WindowedValue<T>> getInputDataSet(PValue input)
public <T> java.util.Map<TupleTag<?>,PCollection<?>> getInputs()
public <T extends PValue> T getInput(PTransform<T,?> transform)
public void setCurrentTransform(org.apache.beam.sdk.runners.AppliedPTransform<?,?,?> transform)
public org.apache.beam.sdk.runners.AppliedPTransform<?,?,?> getCurrentTransform()
public java.util.Map<TupleTag<?>,PCollection<?>> getOutputs()
public edu.iu.dsc.tws.tset.env.TSetEnvironment getEnvironment()
public abstract void eval(edu.iu.dsc.tws.tset.sets.batch.SinkTSet<?> tSet)
public <ViewT,ElemT> void setSideInputDataSet(java.lang.String value, edu.iu.dsc.tws.api.tset.sets.batch.BatchTSet<org.apache.beam.sdk.util.WindowedValue<ElemT>> set)
public java.util.Set<edu.iu.dsc.tws.api.tset.sets.TSet> getLeaves()
public java.util.Map<java.lang.String,edu.iu.dsc.tws.api.tset.sets.batch.BatchTSet<?>> getSideInputDataSets()