case class MutateInResult(id: String, content: CoreSubdocMutateResult, cas: Long, mutationToken: Option[MutationToken]) extends HasDurabilityTokens with Product with Serializable
The results of a SubDocument mutateIn
operation.
When doing a mutateIn
the application provides a sequence of MutateInSpec. The indexes into this sequence
are used when retrieving the results.
- id
the unique identifier of the document
- cas
the document's CAS value at the time of the lookup
- mutationToken
if the com.couchbase.client.scala.env.ClusterEnvironment's
ioConfig() .mutationTokensEnabled()
field is true (which is recommended), this will contain aMutationToken
providing additional context on the mutation.
- Alphabetic
- By Inheritance
- MutateInResult
- Serializable
- Product
- Equals
- HasDurabilityTokens
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MutateInResult(id: String, content: CoreSubdocMutateResult, cas: Long, mutationToken: Option[MutationToken])
- id
the unique identifier of the document
- cas
the document's CAS value at the time of the lookup
- mutationToken
if the com.couchbase.client.scala.env.ClusterEnvironment's
ioConfig() .mutationTokensEnabled()
field is true (which is recommended), this will contain aMutationToken
providing additional context on the mutation.
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
- val cas: Long
- Definition Classes
- MutateInResult → HasDurabilityTokens
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def contentAs[T](index: Int)(implicit deserializer: JsonDeserializer[T]): Try[T]
Retrieve the content returned for a particular
MutateInSpec
, converted into the application's preferred representation.Retrieve the content returned for a particular
MutateInSpec
, converted into the application's preferred representation.This is only applicable for counter operations, which return the content of the counter post-mutation.
- T
as this is only applicable for counters, the application should pass T=Long
- index
the index of the MutateInSpec provided to the
mutateIn
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mutationToken: Option[MutationToken]
- Definition Classes
- MutateInResult → HasDurabilityTokens
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated