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, 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, 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. val indexAndType: IndexAndType

    Permalink
  29. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
  34. val parent: Option[String]

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

    Permalink
  36. val refresh: Option[RefreshPolicy]

    Permalink
  37. def refreshImmediately: UpdateRequest

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

    Permalink
  39. val retryOnConflict: Option[Int]

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

    Permalink
  41. val routing: Option[String]

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

    Permalink
  43. val script: Option[Script]

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

    Permalink
  45. val scriptedUpsert: Option[Boolean]

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

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

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

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

    Permalink
  50. val timeout: Option[Duration]

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

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

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

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

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

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

    Permalink
  57. val upsertSource: Option[String]

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

    Permalink
  59. val version: Option[Long]

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

    Permalink
  61. val versionType: Option[String]

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

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

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

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

    Permalink
  66. 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