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).
- Alphabetic
- By Inheritance
- ElasticsearchWriterOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val addTimestampToIndex: Option[Boolean]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val esNodes: String
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val indexType: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val options: Map[String, String]
- val password: Option[String]
- val resource: String
- val saveMode: SaveMode
- val skipIndexType: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val username: Option[String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()