org.apache.spark

SparkContext

object SparkContext extends Logging

The SparkContext object contains a number of implicit conversions and parameters for use with various Spark features.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SparkContext
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  15. def jarOfClass(cls: Class[_]): Option[String]

    Find the JAR from which a given class was loaded, to make it easy for users to pass their JARs to SparkContext.

  16. def jarOfObject(obj: AnyRef): Option[String]

    Find the JAR that contains the class of a particular object, to make it easy for users to pass their JARs to SparkContext.

    Find the JAR that contains the class of a particular object, to make it easy for users to pass their JARs to SparkContext. In most cases you can call jarOfObject(this) in your driver program.

  17. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  18. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  19. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  20. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  22. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  24. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  25. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  27. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. object DoubleAccumulatorParam extends AccumulatorParam[Double]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  2. object FloatAccumulatorParam extends AccumulatorParam[Float]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  3. object IntAccumulatorParam extends AccumulatorParam[Int]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  4. object LongAccumulatorParam extends AccumulatorParam[Long]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  5. implicit def boolToBoolWritable(b: Boolean): BooleanWritable

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  6. def booleanWritableConverter(): WritableConverter[Boolean]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  7. implicit def bytesToBytesWritable(aob: Array[Byte]): BytesWritable

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  8. def bytesWritableConverter(): WritableConverter[Array[Byte]]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  9. def doubleRDDToDoubleRDDFunctions(rdd: RDD[Double]): DoubleRDDFunctions

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  10. implicit def doubleToDoubleWritable(d: Double): DoubleWritable

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  11. def doubleWritableConverter(): WritableConverter[Double]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  12. implicit def floatToFloatWritable(f: Float): FloatWritable

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  13. def floatWritableConverter(): WritableConverter[Float]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  14. implicit def intToIntWritable(i: Int): IntWritable

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  15. def intWritableConverter(): WritableConverter[Int]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  16. implicit def longToLongWritable(l: Long): LongWritable

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  17. def longWritableConverter(): WritableConverter[Long]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  18. def numericRDDToDoubleRDDFunctions[T](rdd: RDD[T])(implicit num: Numeric[T]): DoubleRDDFunctions

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  19. def rddToAsyncRDDActions[T](rdd: RDD[T])(implicit arg0: ClassTag[T]): AsyncRDDActions[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  20. def rddToOrderedRDDFunctions[K, V](rdd: RDD[(K, V)])(implicit arg0: Ordering[K], arg1: ClassTag[K], arg2: ClassTag[V]): OrderedRDDFunctions[K, V, (K, V)]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  21. def rddToPairRDDFunctions[K, V](rdd: RDD[(K, V)])(implicit kt: ClassTag[K], vt: ClassTag[V], ord: Ordering[K] = null): PairRDDFunctions[K, V]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  22. def rddToSequenceFileRDDFunctions[K, V](rdd: RDD[(K, V)])(implicit arg0: (K) ⇒ Writable, arg1: ClassTag[K], arg2: (V) ⇒ Writable, arg3: ClassTag[V]): SequenceFileRDDFunctions[K, V]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  23. implicit def stringToText(s: String): Text

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  24. def stringWritableConverter(): WritableConverter[String]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

  25. def writableWritableConverter[T <: Writable](): WritableConverter[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0)

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped