Class

com.sksamuel.elastic4s.update

UpdateRequest

Related Doc: package update

Permalink

case class UpdateRequest(indexAndType: IndexAndType, 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, Serializable, Product, Equals, BulkCompatibleRequest, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BulkCompatibleRequest
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdateRequest(indexAndType: IndexAndType, 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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def detectNoop(detectNoop: Boolean): UpdateRequest

    Permalink
  7. val detectNoop: Option[Boolean]

    Permalink
  8. def doc(map: Map[String, Any]): UpdateRequest

    Permalink
  9. def doc(iterable: Iterable[(String, Any)]): UpdateRequest

    Permalink
  10. def doc(fields: (String, Any)*): UpdateRequest

    Permalink
  11. def doc(doc: String): UpdateRequest

    Permalink
  12. def doc[T](t: T)(implicit indexable: Indexable[T]): UpdateRequest

    Permalink
  13. def docAsUpsert(shouldUpsertDoc: Boolean): UpdateRequest

    Permalink
  14. def docAsUpsert(map: Map[String, Any]): UpdateRequest

    Permalink
  15. def docAsUpsert(iterable: Iterable[(String, Any)]): UpdateRequest

    Permalink
  16. def docAsUpsert(fields: (String, Any)*): UpdateRequest

    Permalink
  17. def docAsUpsert[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest

    Permalink
  18. def docAsUpsert(json: String): UpdateRequest

    Permalink
  19. val docAsUpsert: Option[Boolean]

    Permalink
  20. val documentFields: Map[String, Any]

    Permalink
  21. val documentSource: Option[String]

    Permalink
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def fetchSource(includes: Iterable[String], excludes: Iterable[String]): UpdateRequest

    Permalink
  24. def fetchSource(fetch: Boolean): UpdateRequest

    Permalink
  25. val fetchSource: Option[FetchSourceContext]

    Permalink
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  27. val id: String

    Permalink
  28. def ifPrimaryTerm(ifPrimaryTerm: Long): UpdateRequest

    Permalink
  29. val ifPrimaryTerm: Option[Long]

    Permalink
  30. def ifSeqNo(ifSeqNo: Long): UpdateRequest

    Permalink
  31. val ifSeqNo: Option[Long]

    Permalink
  32. val indexAndType: IndexAndType

    Permalink
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  37. def parent(parent: String): UpdateRequest

    Permalink
  38. val parent: Option[String]

    Permalink
  39. def refresh(refresh: RefreshPolicy): UpdateRequest

    Permalink
  40. val refresh: Option[RefreshPolicy]

    Permalink
  41. def refreshImmediately: UpdateRequest

    Permalink
  42. def retryOnConflict(retryOnConflict: Int): UpdateRequest

    Permalink
  43. val retryOnConflict: Option[Int]

    Permalink
  44. def routing(routing: String): UpdateRequest

    Permalink
  45. val routing: Option[String]

    Permalink
  46. def script(script: Script): UpdateRequest

    Permalink
  47. val script: Option[Script]

    Permalink
  48. def scriptedUpsert(upsert: Boolean): UpdateRequest

    Permalink
  49. val scriptedUpsert: Option[Boolean]

    Permalink
  50. def source[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest

    Permalink
  51. def sourceAsUpsert[T](t: T)(implicit arg0: Indexable[T]): UpdateRequest

    Permalink
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  53. def timeout(duration: FiniteDuration): UpdateRequest

    Permalink
  54. val timeout: Option[Duration]

    Permalink
  55. def upsert(doc: String): UpdateRequest

    Permalink
  56. def upsert[T](t: T)(implicit indexable: Indexable[T]): UpdateRequest

    Permalink
  57. def upsert(iterable: Iterable[(String, Any)]): UpdateRequest

    Permalink
  58. def upsert(fields: (String, Any)*): UpdateRequest

    Permalink
  59. def upsert(map: Map[String, Any]): UpdateRequest

    Permalink
  60. val upsertFields: Map[String, Any]

    Permalink
  61. val upsertSource: Option[String]

    Permalink
  62. def version(version: Long): UpdateRequest

    Permalink
  63. val version: Option[Long]

    Permalink
  64. def versionType(versionType: String): UpdateRequest

    Permalink
  65. val versionType: Option[String]

    Permalink
  66. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. def waitForActiveShards(waitForActiveShards: Int): UpdateRequest

    Permalink
  70. val waitForActiveShards: Option[Int]

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def refresh(refresh: String): UpdateRequest

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use the typed version, refresh(RefreshPolicy)

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BulkCompatibleRequest

Inherited from AnyRef

Inherited from Any

Ungrouped