Class SideInputMetadata
java.lang.Object
org.apache.beam.runners.spark.translation.SideInputMetadata
- All Implemented Interfaces:
 Serializable
Metadata class for side inputs in Spark runner. Contains serialized data, type information and
 coder for side input processing.
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic SideInputMetadatacreate(byte[] data, SparkPCollectionView.Type type, Coder<Iterable<WindowedValue<?>>> coder) Creates a new instance of SideInputMetadata.Converts this metadata to aSideInputBroadcastinstance. 
- 
Method Details
- 
create
public static SideInputMetadata create(byte[] data, SparkPCollectionView.Type type, Coder<Iterable<WindowedValue<?>>> coder) Creates a new instance of SideInputMetadata.- Parameters:
 data- The serialized side input data as byte arraytype- The type of the SparkPCollectionViewcoder- The coder for iterables of windowed values- Returns:
 - A new SideInputMetadata instance
 
 - 
toSideInputBroadcast
Converts this metadata to aSideInputBroadcastinstance.- Returns:
 - A new 
SideInputBroadcastinstance created from this metadata 
 
 -