Packages

case class UpdateRequest(index: Index, id: String, detectNoop: Option[Boolean] = None, docAsUpsert: Option[Boolean] = None, fetchSource: Option[FetchSourceContext] = None, parent: Option[String] = None, retryOnConflict: Option[Int] = None, refresh: Option[RefreshPolicy] = None, routing: Option[String] = None, script: Option[Script] = None, scriptedUpsert: Option[Boolean] = None, timeout: Option[Duration] = None, version: Option[Long] = None, ifSeqNo: Option[Long] = None, ifPrimaryTerm: Option[Long] = None, versionType: Option[String] = None, waitForActiveShards: Option[Int] = None, upsertSource: Option[String] = None, upsertFields: Map[String, Any] = Map.empty, documentFields: Map[String, Any] = Map.empty, documentSource: Option[String] = None) extends BulkCompatibleRequest with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, BulkCompatibleRequest, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateRequest
  2. Serializable
  3. Product
  4. Equals
  5. BulkCompatibleRequest
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UpdateRequest(index: Index, id: String, detectNoop: Option[Boolean] = None, docAsUpsert: Option[Boolean] = None, fetchSource: Option[FetchSourceContext] = None, parent: Option[String] = None, retryOnConflict: Option[Int] = None, refresh: Option[RefreshPolicy] = None, routing: Option[String] = None, script: Option[Script] = None, scriptedUpsert: Option[Boolean] = None, timeout: Option[Duration] = None, version: Option[Long] = None, ifSeqNo: Option[Long] = None, ifPrimaryTerm: Option[Long] = None, versionType: Option[String] = None, waitForActiveShards: Option[Int] = None, upsertSource: Option[String] = None, upsertFields: Map[String, Any] = Map.empty, documentFields: Map[String, Any] = Map.empty, documentSource: Option[String] = None)

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]) @HotSpotIntrinsicCandidate() @native()
  6. def detectNoop(detectNoop: Boolean): UpdateRequest
  7. val detectNoop: Option[Boolean]
  8. def doc(map: Map[String, Any]): UpdateRequest
  9. def doc(iterable: Iterable[(String, Any)]): UpdateRequest
  10. def doc(fields: (String, Any)*): UpdateRequest
  11. def doc(field: (String, Any)): UpdateRequest
  12. def doc(doc: String): UpdateRequest
  13. def doc[T](t: T)(implicit indexable: Indexable[T]): UpdateRequest
  14. def docAsUpsert(shouldUpsertDoc: Boolean): UpdateRequest
  15. def docAsUpsert(map: Map[String, Any]): UpdateRequest
  16. def docAsUpsert(iterable: Iterable[(String, Any)]): UpdateRequest
  17. def docAsUpsert(fields: (String, Any)*): UpdateRequest
  18. def docAsUpsert(field: (String, Any)): UpdateRequest
  19. def docAsUpsert[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest
  20. def docAsUpsert(json: String): UpdateRequest
  21. val docAsUpsert: Option[Boolean]
  22. val documentFields: Map[String, Any]
  23. val documentSource: Option[String]
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def fetchSource(includes: Iterable[String], excludes: Iterable[String]): UpdateRequest
  26. def fetchSource(fetch: Boolean): UpdateRequest
  27. val fetchSource: Option[FetchSourceContext]
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  29. val id: String
  30. def ifPrimaryTerm(ifPrimaryTerm: Long): UpdateRequest
  31. val ifPrimaryTerm: Option[Long]
  32. def ifSeqNo(ifSeqNo: Long): UpdateRequest
  33. val ifSeqNo: Option[Long]
  34. val index: Index
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  39. def parent(parent: String): UpdateRequest
  40. val parent: Option[String]
  41. def productElementNames: Iterator[String]
    Definition Classes
    Product
  42. def refresh(refresh: RefreshPolicy): UpdateRequest
  43. val refresh: Option[RefreshPolicy]
  44. def refreshImmediately: UpdateRequest
  45. def retryOnConflict(retryOnConflict: Int): UpdateRequest
  46. val retryOnConflict: Option[Int]
  47. def routing(routing: String): UpdateRequest
  48. val routing: Option[String]
  49. def script(script: Script): UpdateRequest
  50. val script: Option[Script]
  51. def scriptedUpsert(upsert: Boolean): UpdateRequest
  52. val scriptedUpsert: Option[Boolean]
  53. def source[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest
  54. def sourceAsUpsert[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def timeout(duration: FiniteDuration): UpdateRequest
  57. val timeout: Option[Duration]
  58. def upsert(doc: String): UpdateRequest
  59. def upsert[T](t: T)(implicit indexable: Indexable[T]): UpdateRequest
  60. def upsert(iterable: Iterable[(String, Any)]): UpdateRequest
  61. def upsert(first: (String, Any), rest: (String, Any)*): UpdateRequest
  62. def upsert(first: (String, Any)): UpdateRequest
  63. def upsert(map: Map[String, Any]): UpdateRequest
  64. val upsertFields: Map[String, Any]
  65. val upsertSource: Option[String]
  66. def version(version: Long): UpdateRequest
  67. val version: Option[Long]
  68. def versionType(versionType: String): UpdateRequest
  69. val versionType: Option[String]
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  73. def waitForActiveShards(waitForActiveShards: Int): UpdateRequest
  74. val waitForActiveShards: Option[Int]

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 Serializable

Inherited from Product

Inherited from Equals

Inherited from BulkCompatibleRequest

Inherited from AnyRef

Inherited from Any

Ungrouped