Packages

object ElasticsearchFlow

Scala API to create Elasticsearch flows.

Source
ElasticsearchFlow.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElasticsearchFlow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def create[T](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], writer: 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 port of the WriteResult and must be checked for successful execution.

  2. def create[T](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _])(implicit sprayJsonWriter: JsonWriter[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 port of the WriteResult and must be checked for successful execution.

    This factory method requires an implicit Spray JSON writer for T.

  3. def createBulk[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], writer: MessageWriter[T]): Flow[Seq[WriteMessage[T, C]], Seq[WriteResult[T, C]], NotUsed]

    Create a flow to update Elasticsearch with WriteMessage]s containing type T with passThrough of type C.

    Create a flow to update Elasticsearch with WriteMessage]s containing type T with passThrough of type C. The result status is part of the immutable.SeqWriteResult and must be checked for successful execution.

  4. def createBulk[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _])(implicit sprayJsonWriter: JsonWriter[T]): Flow[Seq[WriteMessage[T, C]], Seq[WriteResult[T, C]], NotUsed]

    Create a flow to update Elasticsearch with WriteMessage]s containing type T with passThrough of type C.

    Create a flow to update Elasticsearch with WriteMessage]s containing type T with passThrough of type C. The result status is part of the immutable.SeqWriteResult and must be checked for successful execution.

    This factory method requires an implicit Spray JSON writer for T.

  5. def createWithContext[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], writer: MessageWriter[T]): FlowWithContext[WriteMessage[T, NotUsed], C, WriteResult[T, C], C, NotUsed]

    Create a flow to update Elasticsearch with WriteMessages containing type T with context of type C.

    Create a flow to update Elasticsearch with WriteMessages containing type T with context of type C. The result status is part of the WriteResult and must be checked for successful execution.

    Annotations
    @ApiMayChange()
  6. def createWithContext[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _])(implicit sprayJsonWriter: JsonWriter[T]): FlowWithContext[WriteMessage[T, NotUsed], C, WriteResult[T, C], C, NotUsed]

    Create a flow to update Elasticsearch with WriteMessages containing type T with context of type C.

    Create a flow to update Elasticsearch with WriteMessages containing type T with context of type C. The result status is part of the WriteResult and must be checked for successful execution.

    This factory method requires an implicit Spray JSON writer for T.

    Annotations
    @ApiMayChange()
  7. def createWithPassThrough[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], writer: MessageWriter[T]): Flow[WriteMessage[T, C], WriteResult[T, C], NotUsed]

    Create a flow to update Elasticsearch with WriteMessages containing type T with passThrough of type C.

    Create a flow to update Elasticsearch with WriteMessages containing type T with passThrough of type C. The result status is part of the WriteResult and must be checked for successful execution.

  8. def createWithPassThrough[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _])(implicit sprayJsonWriter: JsonWriter[T]): Flow[WriteMessage[T, C], WriteResult[T, C], NotUsed]

    Create a flow to update Elasticsearch with WriteMessages containing type T with passThrough of type C.

    Create a flow to update Elasticsearch with WriteMessages containing type T with passThrough of type C. The result status is part of the WriteResult and must be checked for successful execution.

    This factory method requires an implicit Spray JSON writer for T.