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
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.
-
-
-
Constructor Detail
-
DefaultN1qlQueryRow
public DefaultN1qlQueryRow(AsyncN1qlQueryRow asyncRow)
-
-
Method Detail
-
byteValue
public byte[] byteValue()
- Specified by:
byteValue
in interfaceN1qlQueryRow
- 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 interfaceN1qlQueryRow
- Returns:
- the JsonObject representation of the value.
- Throws:
TranscodingException
- if the lazy deserialization couldn't be performed due to a Jackson error.
-
-