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. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def create[T](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, writer: MessageWriter[T])(implicit elasticsearchClient: RestClient): 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.

  7. def create[T](indexName: String, typeName: String, settings: ElasticsearchWriteSettings = ElasticsearchWriteSettings.Default)(implicit elasticsearchClient: RestClient, 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.

  8. def createBulk[T, C](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, writer: MessageWriter[T])(implicit elasticsearchClient: RestClient): 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.

  9. def createBulk[T, C](indexName: String, typeName: String, settings: ElasticsearchWriteSettings = ElasticsearchWriteSettings.Default)(implicit elasticsearchClient: RestClient, 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.

  10. def createWithContext[T, C](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, writer: MessageWriter[T])(implicit elasticsearchClient: RestClient): 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()
  11. def createWithContext[T, C](indexName: String, typeName: String, settings: ElasticsearchWriteSettings = ElasticsearchWriteSettings())(implicit elasticsearchClient: RestClient, 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()
  12. def createWithPassThrough[T, C](indexName: String, typeName: String, settings: ElasticsearchWriteSettings, writer: MessageWriter[T])(implicit elasticsearchClient: RestClient): 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.

  13. def createWithPassThrough[T, C](indexName: String, typeName: String, settings: ElasticsearchWriteSettings = ElasticsearchWriteSettings.Default)(implicit elasticsearchClient: RestClient, 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.

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped