Class SparkBroadcastVariables

  • public final class SparkBroadcastVariables
    extends java.lang.Object
    Broadcast variables of Spark.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<,​java.lang.Object> getAll()  
      static long register​(java.lang.Object variable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • register

        public static long register​(java.lang.Object variable)
        variable - data.
        the id of the variable.
      • getAll

        public static java.util.Map<,​java.lang.Object> getAll()
        all the map from ids to variables.