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 class
static class
GeneralSideInputValues
forBoundedWindows
in two possible states.static class
SpecializedSideInputValues
for use with theGlobalWindow
in two possible states.static interface
Factory function for loadSideInputValues
from aDataset
. -
Method Summary
Modifier and TypeMethodDescriptionget
(BoundedWindow window) static <T> SideInputValues.Loader
<T> loader
(PCollection<T> pCol) Factory to loadSideInputValues
from aDataset
based on the window strategy.Methods inherited from interface com.esotericsoftware.kryo.KryoSerializable
read, write
-
Method Details
-
get
-
loader
Factory to loadSideInputValues
from aDataset
based on the window strategy.
-