trait Elasticsearch extends AnyRef
- Alphabetic
- By Inheritance
- Elasticsearch
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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, whereAis a case class that has an implicitSchemainstance in scope.Executes a zio.elasticsearch.ElasticRequest.SearchRequest and stream resulting documents as
A, whereAis a case class that has an implicitSchemainstance 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, whereAis a case class that has an implicitSchemainstance in scope.Executes a zio.elasticsearch.ElasticRequest.SearchRequest and stream resulting documents as
A, whereAis a case class that has an implicitSchemainstance 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( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )