object ElasticsearchFlow
- Alphabetic
- By Inheritance
- ElasticsearchFlow
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
create[T](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, elasticsearchClient: RestClient, 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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )