sealed trait UpdateRequest extends BulkableRequest[UpdateOutcome] with HasRefresh[UpdateRequest] with HasRouting[UpdateRequest]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateRequest
  2. HasRouting
  3. HasRefresh
  4. BulkableRequest
  5. ElasticRequest
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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.

  2. 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
  3. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def refreshFalse: UpdateRequest

    Sets refresh parameter to false in the zio.elasticsearch.ElasticRequest.

    Sets refresh parameter to false in the zio.elasticsearch.ElasticRequest. Same as refresh(false).

    returns

    a new instance of the zio.elasticsearch.ElasticRequest with the refresh parameter set to false.

    Definition Classes
    HasRefresh
    See also

    #refresh

  15. final def refreshTrue: UpdateRequest

    Sets refresh parameter to true in the zio.elasticsearch.ElasticRequest.

    Sets refresh parameter to true in the zio.elasticsearch.ElasticRequest. Same as refresh(true).

    returns

    a new instance of the zio.elasticsearch.ElasticRequest with the refresh parameter set to true.

    Definition Classes
    HasRefresh
    See also

    #refresh

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from HasRouting[UpdateRequest]

Inherited from HasRefresh[UpdateRequest]

Inherited from AnyRef

Inherited from Any

Ungrouped