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
    @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. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. val id: String

    Permalink
  29. val indexAndType: IndexAndType

    Permalink
  30. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def parent(parent: String): UpdateRequest

    Permalink
  35. val parent: Option[String]

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

    Permalink
  37. val refresh: Option[RefreshPolicy]

    Permalink
  38. def refreshImmediately: UpdateRequest

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

    Permalink
  40. val retryOnConflict: Option[Int]

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

    Permalink
  42. val routing: Option[String]

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

    Permalink
  44. val script: Option[Script]

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

    Permalink
  46. val scriptedUpsert: Option[Boolean]

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

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

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

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

    Permalink
  51. val timeout: Option[Duration]

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

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

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

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

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

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

    Permalink
  58. val upsertSource: Option[String]

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

    Permalink
  60. val version: Option[Long]

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

    Permalink
  62. val versionType: Option[String]

    Permalink
  63. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
  67. val waitForActiveShards: Option[Int]

    Permalink

Deprecated Value Members

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