Package com.couchbase.client.java.query
Class DefaultAsyncN1qlQueryRow
java.lang.Object
com.couchbase.client.java.query.DefaultAsyncN1qlQueryRow
- All Implemented Interfaces:
AsyncN1qlQueryRow
@Committed @Public public class DefaultAsyncN1qlQueryRow extends Object implements AsyncN1qlQueryRow
-
Constructor Summary
Constructors Constructor Description DefaultAsyncN1qlQueryRow(byte[] value) -
Method Summary
Modifier and Type Method Description byte[]byteValue()StringtoString()JsonObjectvalue()Return theJsonObjectrepresentation of the JSON corresponding to this row.
-
Constructor Details
-
DefaultAsyncN1qlQueryRow
public DefaultAsyncN1qlQueryRow(byte[] value)
-
-
Method Details
-
byteValue
public byte[] byteValue()- Specified by:
byteValuein interfaceAsyncN1qlQueryRow- Returns:
- the raw array of bytes representing the JSON of this row.
-
value
Return theJsonObjectrepresentation of the JSON corresponding to this row. TheJsonObjectis lazily created frombyteValue()the first time it is requested.- Specified by:
valuein interfaceAsyncN1qlQueryRow- Returns:
- the JsonObject representation of the value.
- Throws:
TranscodingException- if the lazy deserialization couldn't be performed due to a Jackson error.
-
toString
-