Package pyspark :: Module broadcast :: Class Broadcast
[frames] | no frames]

Class Broadcast

source code

object --+
         |
        Broadcast

A broadcast variable created with SparkContext.broadcast(). Access its value through .value.

Instance Methods
 
__init__(self, bid, value, java_broadcast=None, pickle_registry=None)
Should not be called directly by users -- use SparkContext.broadcast() instead.
source code
 
__reduce__(self)
helper for pickle
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, bid, value, java_broadcast=None, pickle_registry=None)
(Constructor)

source code 

Should not be called directly by users -- use SparkContext.broadcast() instead.

Overrides: object.__init__

__reduce__(self)

source code 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)