Class SideInputBroadcast<T>
- java.lang.Object
-
- org.apache.beam.runners.spark.util.SideInputBroadcast<T>
-
- All Implemented Interfaces:
java.io.Serializable
public class SideInputBroadcast<T> extends java.lang.Object implements java.io.SerializableBroadcast helper for side inputs. Helps to do the transformation from bytes transform to broadcast transform to value by coder- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbroadcast(org.apache.spark.api.java.JavaSparkContext jsc)static <T> SideInputBroadcast<T>create(byte[] bytes, org.apache.beam.sdk.coders.Coder<T> coder)longgetBroadcastSizeEstimate()TgetValue()voidunpersist()
-
-
-
Method Detail
-
create
public static <T> SideInputBroadcast<T> create(byte[] bytes, org.apache.beam.sdk.coders.Coder<T> coder)
-
getValue
public T getValue()
-
broadcast
public void broadcast(org.apache.spark.api.java.JavaSparkContext jsc)
-
unpersist
public void unpersist()
-
getBroadcastSizeEstimate
public long getBroadcastSizeEstimate()
-
-