Interface Row


@NonExtendable public interface Row
One row of a table in its stored form, given to migrations: the key and the columns by their snake_case names. Integers and booleans are stored as Long, other numbers as Double, texts (also UUIDs, instants, and enum constants) as String, bytes as byte[].
  • Method Details

    • key

      String key()
    • columns

      @Unmodifiable Set<String> columns()
      The names of the stored columns.
    • get

      @Nullable @Nullable Object get(String column)
      The stored value, or null when it is null. @throws IllegalArgumentException for an unknown column
    • getString

      @Nullable @Nullable String getString(String column)
    • getLong

      long getLong(String column)
      Throws:
      IllegalStateException - when the value is null
    • getDouble

      double getDouble(String column)
      Throws:
      IllegalStateException - when the value is null
    • getBoolean

      boolean getBoolean(String column)
      Throws:
      IllegalStateException - when the value is null
    • getBytes

      byte @Nullable [] getBytes(String column)