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. implicit object DoubleAccumulatorParam extends AccumulatorParam[Double]

  7. implicit object FloatAccumulatorParam extends AccumulatorParam[Float]

  8. implicit object IntAccumulatorParam extends AccumulatorParam[Int]

  9. implicit object LongAccumulatorParam extends AccumulatorParam[Long]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. implicit def boolToBoolWritable(b: Boolean): BooleanWritable

  12. implicit def booleanWritableConverter(): WritableConverter[Boolean]

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

  14. implicit def bytesWritableConverter(): WritableConverter[Array[Byte]]

  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. implicit def doubleRDDToDoubleRDDFunctions(rdd: RDD[Double]): DoubleRDDFunctions

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

  18. implicit def doubleWritableConverter(): WritableConverter[Double]

  19. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. implicit def floatToFloatWritable(f: Float): FloatWritable

  23. implicit def floatWritableConverter(): WritableConverter[Float]

  24. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  26. implicit def intToIntWritable(i: Int): IntWritable

  27. implicit def intWritableConverter(): WritableConverter[Int]

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  30. 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.

  31. 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.

  32. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  39. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  44. implicit def longToLongWritable(l: Long): LongWritable

  45. implicit def longWritableConverter(): WritableConverter[Long]

  46. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  49. implicit def numericRDDToDoubleRDDFunctions[T](rdd: RDD[T])(implicit num: Numeric[T]): DoubleRDDFunctions

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

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

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

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

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

  55. implicit def stringWritableConverter(): WritableConverter[String]

  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. implicit def writableWritableConverter[T <: Writable](): WritableConverter[T]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped