object ElasticsearchFlow
- Alphabetic
- By Inheritance
- ElasticsearchFlow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def create[T](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): Flow[WriteMessage[T, NotUsed], WriteResult[T, NotUsed], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
.Create a flow to update Elasticsearch with WriteMessages containing type
T
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- messageWriter
converts type
T
to aString
containing valid JSON
- def create[T](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): Flow[WriteMessage[T, NotUsed], WriteResult[T, NotUsed], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
.Create a flow to update Elasticsearch with WriteMessages containing type
T
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- objectMapper
Jackson object mapper converting type
T
to JSON
- def createBulk[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): Flow[List[WriteMessage[T, C]], List[WriteResult[T, C]], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult] and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- messageWriter
converts type
T
to aString
containing valid JSON
- def createBulk[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): Flow[List[WriteMessage[T, C]], List[WriteResult[T, C]], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult] and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- objectMapper
Jackson object mapper converting type
T
to JSON
- def createWithContext[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): FlowWithContext[WriteMessage[T, NotUsed], C, WriteResult[T, C], C, NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.- messageWriter
converts type
T
to aString
containing valid JSON
- Annotations
- @ApiMayChange()
- Exceptions thrown
IllegalArgumentException
When settings configure retrying.
- def createWithContext[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): FlowWithContext[WriteMessage[T, NotUsed], C, WriteResult[T, C], C, NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.- objectMapper
Jackson object mapper converting type
T
to JSON
- Annotations
- @ApiMayChange()
- Exceptions thrown
IllegalArgumentException
When settings configure retrying.
- def createWithPassThrough[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): Flow[WriteMessage[T, C], WriteResult[T, C], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- messageWriter
converts type
T
to aString
containing valid JSON
- def createWithPassThrough[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): Flow[WriteMessage[T, C], WriteResult[T, C], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- objectMapper
Jackson object mapper converting type
T
to JSON
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()