sealed trait UpdateRequest extends BulkableRequest[UpdateOutcome] with HasRefresh[UpdateRequest] with HasRouting[UpdateRequest]
- Alphabetic
- By Inheritance
- UpdateRequest
- HasRouting
- HasRefresh
- BulkableRequest
- ElasticRequest
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def orCreate[A](doc: A)(implicit arg0: Schema[A]): UpdateRequest
Sets
upsert
parameter for zio.elasticsearch.ElasticRequest.UpdateRequest which allows creation of a document if it does not exists.Sets
upsert
parameter for zio.elasticsearch.ElasticRequest.UpdateRequest which allows creation of a document if it does not exists.- A
the type of the document, for which an implicit zio.schema.Schema is required
- doc
the document to create if it does not exist
- returns
an instance of the zio.elasticsearch.ElasticRequest.UpdateRequest enriched with the
upsert
parameter.
- abstract def refresh(value: Boolean): UpdateRequest
Configures whether or not to refresh the index after the operation in the zio.elasticsearch.ElasticRequest.
Configures whether or not to refresh the index after the operation in the zio.elasticsearch.ElasticRequest.
- value
should be
true
if the index should be refreshed after the executed operation,false
otherwise- returns
an instance of the zio.elasticsearch.ElasticRequest enriched with the
refresh
parameter.
- Definition Classes
- HasRefresh
- abstract def routing(value: elasticsearch.Routing): UpdateRequest
Specifies a
routing
value to be used for this zio.elasticsearch.ElasticRequest.Specifies a
routing
value to be used for this zio.elasticsearch.ElasticRequest.- value
the Routing value to set for the zio.elasticsearch.ElasticRequest
- returns
an instance of the zio.elasticsearch.ElasticRequest enriched with the
routing
parameter.
- Definition Classes
- HasRouting
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 refreshFalse: UpdateRequest
Sets
refresh
parameter tofalse
in the zio.elasticsearch.ElasticRequest.Sets
refresh
parameter tofalse
in the zio.elasticsearch.ElasticRequest. Same as refresh(false).- returns
a new instance of the zio.elasticsearch.ElasticRequest with the
refresh
parameter set tofalse
.
- Definition Classes
- HasRefresh
- See also
#refresh
- final def refreshTrue: UpdateRequest
Sets
refresh
parameter totrue
in the zio.elasticsearch.ElasticRequest.Sets
refresh
parameter totrue
in the zio.elasticsearch.ElasticRequest. Same as refresh(true).- returns
a new instance of the zio.elasticsearch.ElasticRequest with the
refresh
parameter set totrue
.
- Definition Classes
- HasRefresh
- See also
#refresh
- 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])