elasticsearch v0.3.1 Elasticsearch.DataStream View Source

Functions for building Streams using the configured Elasticsearch.Store. See stream/2.

Link to this section Summary

Functions

Creates a Stream from a given source

Link to this section Types

Link to this type source() View Source
source() :: any()

Link to this section Functions

Creates a Stream from a given source.

Example

iex> stream = DataStream.stream(Cluster, MyApp.Schema, Elasticsearch.Test.Store)
...> is_function(stream)
true