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
Ordering
- Alphabetic
- By Inheritance
Inherited
- UpdateRequest
- Serializable
- Product
- Equals
- BulkCompatibleRequest
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- 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]) @HotSpotIntrinsicCandidate() @native()
- def detectNoop(detectNoop: Boolean): UpdateRequest
- val detectNoop: Option[Boolean]
- def doc(map: Map[String, Any]): UpdateRequest
- def doc(iterable: Iterable[(String, Any)]): UpdateRequest
- def doc(fields: (String, Any)*): UpdateRequest
- def doc(field: (String, Any)): UpdateRequest
- def doc(doc: String): UpdateRequest
- def doc[T](t: T)(implicit indexable: Indexable[T]): UpdateRequest
- def docAsUpsert(shouldUpsertDoc: Boolean): UpdateRequest
- def docAsUpsert(map: Map[String, Any]): UpdateRequest
- def docAsUpsert(iterable: Iterable[(String, Any)]): UpdateRequest
- def docAsUpsert(fields: (String, Any)*): UpdateRequest
- def docAsUpsert(field: (String, Any)): UpdateRequest
- def docAsUpsert[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest
- def docAsUpsert(json: String): UpdateRequest
- val docAsUpsert: Option[Boolean]
- val documentFields: Map[String, Any]
- val documentSource: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fetchSource(includes: Iterable[String], excludes: Iterable[String]): UpdateRequest
- def fetchSource(fetch: Boolean): UpdateRequest
- val fetchSource: Option[FetchSourceContext]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val id: String
- def ifPrimaryTerm(ifPrimaryTerm: Long): UpdateRequest
- val ifPrimaryTerm: Option[Long]
- def ifSeqNo(ifSeqNo: Long): UpdateRequest
- val ifSeqNo: Option[Long]
- val index: Index
- 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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parent(parent: String): UpdateRequest
- val parent: Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def refresh(refresh: RefreshPolicy): UpdateRequest
- val refresh: Option[RefreshPolicy]
- def refreshImmediately: UpdateRequest
- def retryOnConflict(retryOnConflict: Int): UpdateRequest
- val retryOnConflict: Option[Int]
- def routing(routing: String): UpdateRequest
- val routing: Option[String]
- def script(script: Script): UpdateRequest
- val script: Option[Script]
- def scriptedUpsert(upsert: Boolean): UpdateRequest
- val scriptedUpsert: Option[Boolean]
- def source[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest
- def sourceAsUpsert[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeout(duration: FiniteDuration): UpdateRequest
- val timeout: Option[Duration]
- def upsert(doc: String): UpdateRequest
- def upsert[T](t: T)(implicit indexable: Indexable[T]): UpdateRequest
- def upsert(iterable: Iterable[(String, Any)]): UpdateRequest
- def upsert(first: (String, Any), rest: (String, Any)*): UpdateRequest
- def upsert(first: (String, Any)): UpdateRequest
- def upsert(map: Map[String, Any]): UpdateRequest
- val upsertFields: Map[String, Any]
- val upsertSource: Option[String]
- def version(version: Long): UpdateRequest
- val version: Option[Long]
- def versionType(versionType: String): UpdateRequest
- val versionType: Option[String]
- 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])
- def waitForActiveShards(waitForActiveShards: Int): UpdateRequest
- val waitForActiveShards: Option[Int]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)