Class Replace

java.lang.Object
com.couchbase.client.java.kv.MutateInSpec
com.couchbase.client.java.kv.Replace

public class Replace extends MutateInSpec
An intention to perform a SubDocument replace operation.
Since:
1.0.0
Author:
Graham Pople
  • Method Details

    • xattr

      public Replace xattr()
      Sets that this is an extended attribute (xattr) field.
      Returns:
      this, for chaining
    • toCore

      public CoreSubdocMutateCommand toCore(JsonSerializer serializer)
      Description copied from class: MutateInSpec
      Internal operation called from the encoding side that encodes the spec into its internal representation.
      Specified by:
      toCore in class MutateInSpec
      Parameters:
      serializer - the serializer that should be used.
      Returns:
      the encoded command.