Package

com.sksamuel.elastic4s.akka

streams

Permalink

package streams

Visibility
  1. Public
  2. All

Type Members

  1. class ElasticSink[T] extends GraphStage[SinkShape[T]]

    Permalink
  2. class ElasticSource extends GraphStage[SourceShape[SearchHit]]

    Permalink

    An Akka akka.stream.scaladsl.Source, that publishes documents using an elasticsearch scroll cursor.

    An Akka akka.stream.scaladsl.Source, that publishes documents using an elasticsearch scroll cursor. The initial query must be provided to the source, and there are helpers to create a query for all documents in an index.

  3. trait RequestBuilder[T] extends AnyRef

    Permalink

    An implementation of this typeclass must provide a bulk compatible request for the given instance of T.

    An implementation of this typeclass must provide a bulk compatible request for the given instance of T. The bulk compatible request will then be sent to elastic.

    A bulk compatible request can be either an index, update, or delete.

    T

    the type of elements this builder supports

  4. case class SinkSettings(bufferSize: Int, refreshAfterOp: Boolean = false) extends Product with Serializable

    Permalink
  5. case class SourceSettings(search: SearchRequest, maxItems: Long, fetchThreshold: Int = 0, warm: Boolean) extends Product with Serializable

    Permalink

Ungrouped