Trait/Object

com.datawizards.sparklocal.session

SparkSessionAPI

Related Docs: object SparkSessionAPI | package session

Permalink

trait SparkSessionAPI extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkSessionAPI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def broadcast[T](value: T)(implicit arg0: ClassTag[T]): BroadcastAPI[T]

    Permalink

    Broadcast a read-only variable to the cluster, returning a broadcast object for reading it in distributed functions.

    Broadcast a read-only variable to the cluster, returning a broadcast object for reading it in distributed functions. The variable will be sent to each cluster only once.

  2. abstract def collectionAccumulator[T](name: String): CollectionAccumulatorAPI[T]

    Permalink

    Create and register a CollectionAccumulator, which starts with empty list and accumulates inputs by adding them into the list.

  3. abstract def collectionAccumulator[T]: CollectionAccumulatorAPI[T]

    Permalink

    Create and register a CollectionAccumulator, which starts with empty list and accumulates inputs by adding them into the list.

  4. abstract def createDataset[T](data: Seq[T])(implicit arg0: ClassTag[T], enc: Encoder[T]): DataSetAPI[T]

    Permalink

    Create new DataSet based on Scala collection

  5. abstract def createRDD[T](data: Seq[T])(implicit arg0: ClassTag[T]): RDDAPI[T]

    Permalink

    Create new RDD based on Scala collection

  6. abstract def doubleAccumulator(name: String): DoubleAccumulatorAPI

    Permalink

    Create and register a double accumulator, which starts with 0 and accumulates inputs by add.

  7. abstract def doubleAccumulator: DoubleAccumulatorAPI

    Permalink

    Create and register a double accumulator, which starts with 0 and accumulates inputs by add.

  8. abstract def longAccumulator(name: String): LongAccumulatorAPI

    Permalink

    Create and register a long accumulator, which starts with 0 and accumulates inputs by add.

  9. abstract def longAccumulator: LongAccumulatorAPI

    Permalink

    Create and register a long accumulator, which starts with 0 and accumulates inputs by add.

  10. abstract def read[T]: ReaderExecutor[T]

    Permalink

    Returns a ReaderExecutor that can be used to read non-streaming data in as a DataSet

  11. abstract def register(acc: AccumulatorV2API[_, _]): Unit

    Permalink

    Register the given accumulator.

  12. abstract def register(acc: AccumulatorV2API[_, _], name: String): Unit

    Permalink

    Register the given accumulator with given name.

  13. abstract def textFile(path: String, minPartitions: Int = 2): RDDAPI[String]

    Permalink

    Read a text file from HDFS, a local file system (available on all nodes), or any Hadoop-supported file system URI, and return it as an RDD of Strings.

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createDataset[T](data: RDDAPI[T])(implicit arg0: ClassTag[T], enc: Encoder[T]): DataSetAPI[T]

    Permalink

    Create new DataSet based on RDD

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped