Interface SideInputValues<T>
-
- All Superinterfaces:
com.esotericsoftware.kryo.KryoSerializable,java.io.Serializable
- All Known Implementing Classes:
SideInputValues.BaseSideInputValues,SideInputValues.ByWindow,SideInputValues.Global
@Internal public interface SideInputValues<T> extends java.io.Serializable, com.esotericsoftware.kryo.KryoSerializableSideInputValuesserves as a Kryo serializable container that contains a materialized view of side inputs. Once the materialized view is build, the container is broadcasted for use in theSparkSideInputReader. This happens during translation time of the pipeline.If Kryo serialization is disabled in Spark, Java serialization will be used instead and some optimizations will not be available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSideInputValues.BaseSideInputValues<BinaryT,ValuesT extends @NonNull java.lang.Object,T>static classSideInputValues.ByWindow<T>GeneralSideInputValuesforBoundedWindowsin two possible states.static classSideInputValues.Global<T>SpecializedSideInputValuesfor use with theGlobalWindowin two possible states.static interfaceSideInputValues.Loader<T>Factory function for loadSideInputValuesfrom aDataset.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<T>get(org.apache.beam.sdk.transforms.windowing.BoundedWindow window)static <T> SideInputValues.Loader<T>loader(org.apache.beam.sdk.values.PCollection<T> pCol)Factory to loadSideInputValuesfrom aDatasetbased on the window strategy.
-
-
-
Method Detail
-
get
@Nullable java.util.List<T> get(org.apache.beam.sdk.transforms.windowing.BoundedWindow window)
-
loader
static <T> SideInputValues.Loader<T> loader(org.apache.beam.sdk.values.PCollection<T> pCol)
Factory to loadSideInputValuesfrom aDatasetbased on the window strategy.
-
-