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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. implicit object DoubleAccumulatorParam extends AccumulatorParam[Double]

  5. implicit object FloatAccumulatorParam extends AccumulatorParam[Float]

  6. implicit object IntAccumulatorParam extends AccumulatorParam[Int]

  7. implicit object LongAccumulatorParam extends AccumulatorParam[Long]

  8. final def asInstanceOf[T0]: T0

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

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

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

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

  13. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isTraceEnabled(): Boolean

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

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

  30. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  37. def logName: String

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

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

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

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

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

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

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

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

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

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

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

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

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

  51. 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]

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

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

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

    Definition Classes
    AnyRef
  55. def toString(): String

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

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

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

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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped