c

io.dataos.spark.models.output

MongoDbDatasourceOutput

case class MongoDbDatasourceOutput(nodes: List[String], subprotocol: String, database: String, table: String, username: String, password: String, saveMode: SaveMode = SaveMode.Append, connectionProps: Option[String], sparkOptions: Map[String, String] = Map.empty) extends DatasourceOutput with Product with Serializable

Represents the output configuration for a MongoDB datasource.

nodes

The list of MongoDB server nodes.

subprotocol

The MongoDB connection subprotocol.

database

The name of the MongoDB database.

table

The name of the MongoDB collection/table.

username

The username for authentication.

password

The password for authentication.

connectionProps

MongoDB connection url specific properties

sparkOptions

(Optional) Additional options for the MongoDB spark datasource.

Linear Supertypes
Serializable, Serializable, Product, Equals, DatasourceOutput, OutputConfig, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoDbDatasourceOutput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DatasourceOutput
  7. OutputConfig
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoDbDatasourceOutput(nodes: List[String], subprotocol: String, database: String, table: String, username: String, password: String, saveMode: SaveMode = SaveMode.Append, connectionProps: Option[String], sparkOptions: Map[String, String] = Map.empty)

    nodes

    The list of MongoDB server nodes.

    subprotocol

    The MongoDB connection subprotocol.

    database

    The name of the MongoDB database.

    table

    The name of the MongoDB collection/table.

    username

    The username for authentication.

    password

    The password for authentication.

    connectionProps

    MongoDB connection url specific properties

    sparkOptions

    (Optional) Additional options for the MongoDB spark datasource.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val connectionProps: Option[String]
  7. val database: String
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val nodes: List[String]
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. val password: String
  17. val saveMode: SaveMode
  18. val sparkOptions: Map[String, String]
  19. val subprotocol: String
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. val table: String
  22. val username: String
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DatasourceOutput

Inherited from OutputConfig

Inherited from AnyRef

Inherited from Any

Ungrouped