Interface SideInputValues<T>
- All Superinterfaces:
com.esotericsoftware.kryo.KryoSerializable,Serializable
- All Known Implementing Classes:
SideInputValues.BaseSideInputValues,SideInputValues.ByWindow,SideInputValues.Global
@Internal
public interface SideInputValues<T>
extends Serializable, com.esotericsoftware.kryo.KryoSerializable
SideInputValues serves 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 the
SparkSideInputReader. 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 ClassesModifier and TypeInterfaceDescriptionstatic classstatic classGeneralSideInputValuesforBoundedWindowsin two possible states.static classSpecializedSideInputValuesfor use with theGlobalWindowin two possible states.static interfaceFactory function for loadSideInputValuesfrom aDataset. -
Method Summary
Modifier and TypeMethodDescriptionget(BoundedWindow window) static <T> SideInputValues.Loader<T> loader(PCollection<T> pCol) Factory to loadSideInputValuesfrom aDatasetbased on the window strategy.Methods inherited from interface com.esotericsoftware.kryo.KryoSerializable
read, write
-
Method Details
-
get
-
loader
Factory to loadSideInputValuesfrom aDatasetbased on the window strategy.
-