trait Elasticsearch extends AnyRef
- Alphabetic
- By Inheritance
- Elasticsearch
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def execute[A](request: ElasticRequest[A]): Task[A]
Executes the given ElasticRequest.
Executes the given ElasticRequest.
- A
the type of the expected response
- request
the zio.elasticsearch.ElasticRequest to execute
- returns
a Task representing the response of the executed request.
- abstract def stream(request: SearchRequest, config: StreamConfig): Stream[Throwable, Item]
Executes a zio.elasticsearch.ElasticRequest.SearchRequest with a given StreamConfig.
Executes a zio.elasticsearch.ElasticRequest.SearchRequest with a given StreamConfig.
- request
the zio.elasticsearch.ElasticRequest.SearchRequest to execute
- config
the zio.elasticsearch.StreamConfig object that represents configuration options for the stream
- returns
a stream of zio.elasticsearch.result.Item.
- abstract def stream(request: SearchRequest): Stream[Throwable, Item]
Executes the given zio.elasticsearch.ElasticRequest.SearchRequest as a stream.
Executes the given zio.elasticsearch.ElasticRequest.SearchRequest as a stream.
- request
the zio.elasticsearch.ElasticRequest.SearchRequest to execute
- returns
a stream of zio.elasticsearch.result.Item.
- abstract def streamAs[A](request: SearchRequest, config: StreamConfig)(implicit arg0: Schema[A]): Stream[Throwable, A]
Executes a zio.elasticsearch.ElasticRequest.SearchRequest and stream resulting documents as
A
, whereA
is a case class that has an implicitSchema
instance in scope.Executes a zio.elasticsearch.ElasticRequest.SearchRequest and stream resulting documents as
A
, whereA
is a case class that has an implicitSchema
instance in scope.- A
the type of documents to be returned
- request
the zio.elasticsearch.ElasticRequest.SearchRequest to execute
- config
the zio.elasticsearch.StreamConfig object that represents configuration options for the stream
- returns
a stream of the resulting documents as
A
.
- abstract def streamAs[A](request: SearchRequest)(implicit arg0: Schema[A]): Stream[Throwable, A]
Executes a zio.elasticsearch.ElasticRequest.SearchRequest and stream resulting documents as
A
, whereA
is a case class that has an implicitSchema
instance in scope.Executes a zio.elasticsearch.ElasticRequest.SearchRequest and stream resulting documents as
A
, whereA
is a case class that has an implicitSchema
instance in scope.- A
the type of documents to be returned
- request
the zio.elasticsearch.ElasticRequest.SearchRequest to execute
- returns
a stream of the resulting documents as
A
.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])