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

    Modifier and Type
    Method
    Description
    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
    Get the number of fields in this row.
    getObject(int position)
    Get the value at the specified position, as an Object.
    getPrefix(int length)
    Get a prefix of this row as a row.
    getRow(int position)
    Get the value at the specified position, as a nested row.
    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.