elasticsearch v0.3.0 Elasticsearch.DataStream View Source
Functions for building Stream
s using the configured Elasticsearch.Store
.
See stream/2
.
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
stream(cluster, source, store)
View Source
stream(Elasticsearch.Cluster.t(), source(), Elasticsearch.Store.t()) :: Stream.t()
Creates a Stream
from a given source.
Example
iex> stream = DataStream.stream(Cluster, MyApp.Schema, Elasticsearch.Test.Store)
...> is_function(stream)
true