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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
byteValue()
String
toString()
JsonObject
value()
Return theJsonObject
representation of the JSON corresponding to this row.
-
-
-
Method Detail
-
byteValue
public byte[] byteValue()
- Specified by:
byteValue
in interfaceAsyncN1qlQueryRow
- Returns:
- the raw array of bytes representing the JSON of this row.
-
value
public JsonObject value()
Return theJsonObject
representation of the JSON corresponding to this row. TheJsonObject
is lazily created frombyteValue()
the first time it is requested.- Specified by:
value
in interfaceAsyncN1qlQueryRow
- Returns:
- the JsonObject representation of the value.
- Throws:
TranscodingException
- if the lazy deserialization couldn't be performed due to a Jackson error.
-
-