Package com.couchbase.client.java.query
Class DefaultN1qlQueryRow
java.lang.Object
com.couchbase.client.java.query.DefaultN1qlQueryRow
- All Implemented Interfaces:
N1qlQueryRow
@Committed @Public public class DefaultN1qlQueryRow extends Object implements N1qlQueryRow
-
Constructor Summary
Constructors Constructor Description DefaultN1qlQueryRow(AsyncN1qlQueryRow asyncRow) -
Method Summary
Modifier and Type Method Description byte[]byteValue()StringtoString()JsonObjectvalue()Return theJsonObjectrepresentation of the JSON corresponding to this row.
-
Constructor Details
-
DefaultN1qlQueryRow
-
-
Method Details
-
byteValue
public byte[] byteValue()- Specified by:
byteValuein interfaceN1qlQueryRow- 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 interfaceN1qlQueryRow- Returns:
- the JsonObject representation of the value.
- Throws:
TranscodingException- if the lazy deserialization couldn't be performed due to a Jackson error.
-
toString
-