public interface BroadcastFactory
Modifier and Type | Method and Description |
---|---|
void |
initialize(boolean isDriver,
SparkConf conf) |
<T> Broadcast<T> |
newBroadcast(T value,
boolean isLocal,
long id,
scala.reflect.ClassTag<T> evidence$1)
Creates a new broadcast variable.
|
void |
stop() |
void |
unbroadcast(long id,
boolean removeFromDriver,
boolean blocking) |
void initialize(boolean isDriver, SparkConf conf)
<T> Broadcast<T> newBroadcast(T value, boolean isLocal, long id, scala.reflect.ClassTag<T> evidence$1)
value
- value to broadcastisLocal
- whether we are in local mode (single JVM process)id
- unique id representing this broadcast variableevidence$1
- (undocumented)void stop()
void unbroadcast(long id, boolean removeFromDriver, boolean blocking)