Class SideInputBroadcast<T>
java.lang.Object
org.apache.beam.runners.spark.util.SideInputBroadcast<T>
- All Implemented Interfaces:
Serializable
Broadcast helper for side inputs. Helps to do the transformation from bytes transform to
broadcast transform to value by coder
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcast
(org.apache.spark.api.java.JavaSparkContext jsc) static <T> SideInputBroadcast
<T> create
(byte[] bytes, SparkPCollectionView.Type type, Coder<T> coder) long
getValue()
void
-
Method Details
-
create
public static <T> SideInputBroadcast<T> create(byte[] bytes, SparkPCollectionView.Type type, Coder<T> coder) -
getValue
-
broadcast
public void broadcast(org.apache.spark.api.java.JavaSparkContext jsc) -
getSparkPCollectionViewType
-
unpersist
public void unpersist() -
getBroadcastSizeEstimate
public long getBroadcastSizeEstimate()
-