Packages

c

io.dataos.spark.writers.elasticsearch

ElasticsearchWriterOptions

case class ElasticsearchWriterOptions(esNodes: String, resource: String, username: Option[String], password: Option[String], indexType: String, addTimestampToIndex: Option[Boolean], skipIndexType: Boolean, saveMode: SaveMode = SaveMode.Append, options: Map[String, String] = Map.empty) extends Product with Serializable

A case class that represents the configuration options for the Elasticsearch writer.

esNodes

Comma-separated Elasticsearch nodes' addresses.

resource

The Elasticsearch resource to write data to.

username

An optional username for HTTP authentication with Elasticsearch.

password

An optional password for HTTP authentication with Elasticsearch.

indexType

The type of the Elasticsearch index to write data to.

addTimestampToIndex

An optional flag to add timestamp to the Elasticsearch index.

skipIndexType

A flag indicating whether to skip the index type in the Elasticsearch resource.

saveMode

The SaveMode used for writing data to Elasticsearch (default is Append).

options

Additional options as key-value pairs to configure the writer (default is an empty Map).

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

Instance Constructors

  1. new ElasticsearchWriterOptions(esNodes: String, resource: String, username: Option[String], password: Option[String], indexType: String, addTimestampToIndex: Option[Boolean], skipIndexType: Boolean, saveMode: SaveMode = SaveMode.Append, options: Map[String, String] = Map.empty)

    esNodes

    Comma-separated Elasticsearch nodes' addresses.

    resource

    The Elasticsearch resource to write data to.

    username

    An optional username for HTTP authentication with Elasticsearch.

    password

    An optional password for HTTP authentication with Elasticsearch.

    indexType

    The type of the Elasticsearch index to write data to.

    addTimestampToIndex

    An optional flag to add timestamp to the Elasticsearch index.

    skipIndexType

    A flag indicating whether to skip the index type in the Elasticsearch resource.

    saveMode

    The SaveMode used for writing data to Elasticsearch (default is Append).

    options

    Additional options as key-value pairs to configure the writer (default is an empty Map).

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. val addTimestampToIndex: Option[Boolean]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val esNodes: String
  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. val indexType: String
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. val options: Map[String, String]
  17. val password: Option[String]
  18. val resource: String
  19. val saveMode: SaveMode
  20. val skipIndexType: Boolean
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val username: Option[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 AnyRef

Inherited from Any

Ungrouped