Interface Row


  • public interface Row
    Represents a row within the store.

    The individual fields of the row can themselves be NestableTuples(representing nested data structures). There can also be repeated fields, which is a bit of an extension on standard SQL types.

    The intent of this class is to represent a single result in a set of results in a generic form.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Iterable<Row> getArray​(int position)
      Get the value at the specified position, as a sequence of nested rows.
      byte[] getBytes​(int position)
      Get the value at the specified position, as a byte[].
      double getDouble​(int position)
      Get the value at the specified position, as a double.
      float getFloat​(int position)
      Get the value at the specified position, as a float.
      long getLong​(int position)
      Get the value at the specified position, as a long.
      int getNumFields()
      Get the number of fields in this row.
      java.lang.Object getObject​(int position)
      Get the value at the specified position, as an Object.
      Row getPrefix​(int length)
      Get a prefix of this row as a row.
      Row getRow​(int position)
      Get the value at the specified position, as a nested row.
      java.lang.String getString​(int position)
      Get the value at the specified position, as a String.
      boolean startsWith​(Row prefix)
      Checks if this row starts with a given prefix.