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 Details

  • Method Details

    • byteValue

      public byte[] byteValue()
      Specified by:
      byteValue in interface N1qlQueryRow
      Returns:
      the raw array of bytes representing the JSON of this row.
    • value

      public JsonObject value()
      Return the JsonObject representation of the JSON corresponding to this row. The JsonObject is lazily created from byteValue() the first time it is requested.
      Specified by:
      value in interface N1qlQueryRow
      Returns:
      the JsonObject representation of the value.
      Throws:
      TranscodingException - if the lazy deserialization couldn't be performed due to a Jackson error.
    • toString

      public String toString()
      Overrides:
      toString in class Object