implicit final class ElasticsearchSCollection[T] extends AnyVal
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ElasticsearchSCollection
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ElasticsearchSCollection(self: SCollection[T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def saveAsElasticsearch(esOptions: ElasticsearchOptions, flushInterval: Duration = WriteParam.DefaultFlushInterval, numOfShards: Long = WriteParam.DefaultNumShards, maxBulkRequestOperations: Int = WriteParam.DefaultMaxBulkRequestOperations, maxBulkRequestBytes: Long = WriteParam.DefaultMaxBulkRequestBytes, errorFn: (BulkExecutionException) => Unit = WriteParam.DefaultErrorFn, retry: RetryConfig = WriteParam.DefaultRetryConfig)(f: (T) => Iterable[BulkOperation]): ClosedTap[Nothing]
Save this SCollection into Elasticsearch.
Save this SCollection into Elasticsearch.
- esOptions
Elasticsearch options
- flushInterval
delays to Elasticsearch writes for rate limiting purpose
- numOfShards
number of parallel writes to be performed, recommended setting is the number of pipeline workers
- errorFn
function to handle error when performing Elasticsearch bulk writes
- f
function to transform arbitrary type T to Elasticsearch
DocWriteRequest
- def toString(): String
- Definition Classes
- Any