Class Transcoder.EncodedValue

  • All Implemented Interfaces:
    com.couchbase.client.core.api.kv.CoreEncodedContent
    Enclosing interface:
    Transcoder

    public static class Transcoder.EncodedValue
    extends Object
    implements com.couchbase.client.core.api.kv.CoreEncodedContent
    Represents the tuple of encoded value and flags to be used on the wire.
    • Constructor Detail

      • EncodedValue

        public EncodedValue​(byte[] encoded,
                            int flags)
    • Method Detail

      • encoded

        public byte[] encoded()
        Specified by:
        encoded in interface com.couchbase.client.core.api.kv.CoreEncodedContent
      • flags

        public int flags()
        Specified by:
        flags in interface com.couchbase.client.core.api.kv.CoreEncodedContent