Class

com.mongodb.spark.MongoSpark

Builder

Related Doc: package MongoSpark

Permalink

class Builder extends AnyRef

Builder for configuring and creating a MongoSpark

It requires a SparkSession or the SparkContext

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

Instance Constructors

  1. new Builder()

    Permalink

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 build(): MongoSpark

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def connector(connector: MongoConnector): Builder

    Permalink

    Sets the com.mongodb.spark.MongoConnector to use

    connector

    the MongoConnector

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. def javaSparkContext(javaSparkContext: JavaSparkContext): Builder

    Permalink

    Sets the SparkSession from the javaSparkContext

    Sets the SparkSession from the javaSparkContext

    javaSparkContext

    for the RDD

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def option(key: String, value: String): Builder

    Permalink

    Append a configuration option

    Append a configuration option

    These options can be used to configure all aspects of how to connect to MongoDB

    key

    the configuration key

    value

    the configuration value

  19. def options(options: Map[String, String]): Builder

    Permalink

    Set configuration options

    Set configuration options

    These options can configure all aspects of how to connect to MongoDB

    options

    the configuration options

  20. def options(options: Map[String, String]): Builder

    Permalink

    Set configuration options

    Set configuration options

    These options can configure all aspects of how to connect to MongoDB

    options

    the configuration options

  21. def pipeline(pipeline: Seq[Bson]): Builder

    Permalink

    Sets the aggregation pipeline to use

    Sets the aggregation pipeline to use

    pipeline

    the aggregation pipeline

  22. def readConfig(readConfig: ReadConfig): Builder

    Permalink

    Sets the com.mongodb.spark.config.ReadConfig to use

    readConfig

    the readConfig

  23. def sparkContext(sparkContext: SparkContext): Builder

    Permalink

    Sets the SparkSession from the sparkContext

    Sets the SparkSession from the sparkContext

    sparkContext

    for the RDD

  24. def sparkSession(sparkSession: SparkSession): Builder

    Permalink

    Sets the SparkSession from the sparkContext

    Sets the SparkSession from the sparkContext

    sparkSession

    for the RDD

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

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

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

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

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

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

Deprecated Value Members

  1. def sqlContext(sqlContext: SQLContext): Builder

    Permalink

    Sets the SparkSession

    Sets the SparkSession

    sqlContext

    for the RDD

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) As of Spark 2.0 SQLContext was replaced by SparkSession. Use the SparkSession method instead

Inherited from AnyRef

Inherited from Any

Ungrouped