Package com.couchbase.client.java.kv
Class EncodedDocument
- java.lang.Object
-
- com.couchbase.client.java.kv.EncodedDocument
-
@Volatile public class EncodedDocument extends Object
TheEncodedDocument
has everything which is important for a document on the wire and is needed for properly decoding it after reading it.While the surface area is pretty small, we consider this advanced API and therefore it is not marked as committed at this point.
- Since:
- 3.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
content()
boolean
equals(Object o)
int
flags()
int
hashCode()
static EncodedDocument
of(int flags, byte[] content)
String
toString()
-
-
-
Method Detail
-
of
public static EncodedDocument of(int flags, byte[] content)
-
flags
public int flags()
-
content
public byte[] content()
-
-