Class DefaultAnalyticsQueryRow
- java.lang.Object
-
- com.couchbase.client.java.analytics.DefaultAnalyticsQueryRow
-
- All Implemented Interfaces:
AnalyticsQueryRow
@Committed @Public public class DefaultAnalyticsQueryRow extends Object implements AnalyticsQueryRow
-
-
Constructor Summary
Constructors Constructor Description DefaultAnalyticsQueryRow(AsyncAnalyticsQueryRow 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
-
DefaultAnalyticsQueryRow
public DefaultAnalyticsQueryRow(AsyncAnalyticsQueryRow asyncRow)
-
-
Method Detail
-
byteValue
public byte[] byteValue()
- Specified by:
byteValue
in interfaceAnalyticsQueryRow
- 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 interfaceAnalyticsQueryRow
- Returns:
- the JsonObject representation of the value.
- Throws:
TranscodingException
- if the lazy deserialization couldn't be performed due to a Jackson error.
-
-