Interface Row

All Known Implementing Classes:
RowImpl

public interface Row
A row element returned from a SELECT query.
  • Method Summary

    Modifier and Type Method Description
    java.math.BigDecimal getBigDecimal​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a decimal value.
    java.math.BigDecimal getBigDecimal​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a decimal value.
    boolean getBoolean​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a boolean value.
    boolean getBoolean​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a boolean value.
    byte getByte​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    byte getByte​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a byte value.
    java.sql.Date getDate​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    java.sql.Date getDate​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a Date value.
    DbDoc getDbDoc​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value.
    DbDoc getDbDoc​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a DbDoc value.
    double getDouble​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a double value.
    double getDouble​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a double value.
    int getInt​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as an integer value.
    int getInt​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as an integer value.
    long getLong​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a long value.
    long getLong​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a long value.
    java.lang.String getString​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a string value.
    java.lang.String getString​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a string value.
    java.sql.Time getTime​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    java.sql.Time getTime​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a Time value.
    java.sql.Timestamp getTimestamp​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    java.sql.Timestamp getTimestamp​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a Timestamp value.
  • Method Details

    • getBigDecimal

      java.math.BigDecimal getBigDecimal​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a decimal value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getBigDecimal

      java.math.BigDecimal getBigDecimal​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a decimal value.
      Parameters:
      pos - field position
      Returns:
      value
    • getBoolean

      boolean getBoolean​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a boolean value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getBoolean

      boolean getBoolean​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a boolean value.
      Parameters:
      pos - field position field position
      Returns:
      value
    • getByte

      byte getByte​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a byte value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getByte

      byte getByte​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Parameters:
      pos - field position field position
      Returns:
      value
    • getDate

      java.sql.Date getDate​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a Date value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getDate

      java.sql.Date getDate​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Parameters:
      pos - field position field position
      Returns:
      value
    • getDbDoc

      DbDoc getDbDoc​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a DbDoc value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getDbDoc

      DbDoc getDbDoc​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value.
      Parameters:
      pos - field position field position
      Returns:
      value
    • getDouble

      double getDouble​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a double value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getDouble

      double getDouble​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a double value.
      Parameters:
      pos - field position field position
      Returns:
      value
    • getInt

      int getInt​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as an integer value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getInt

      int getInt​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as an integer value.
      Parameters:
      pos - field position field position
      Returns:
      value
    • getLong

      long getLong​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a long value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getLong

      long getLong​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a long value.
      Parameters:
      pos - field position
      Returns:
      value
    • getString

      java.lang.String getString​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a string value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getString

      java.lang.String getString​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a string value.
      Parameters:
      pos - field position
      Returns:
      value
    • getTime

      java.sql.Time getTime​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a Time value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getTime

      java.sql.Time getTime​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Parameters:
      pos - field position
      Returns:
      value
    • getTimestamp

      java.sql.Timestamp getTimestamp​(java.lang.String fieldName)
      Retrieve the value for column `fieldName' as a Timestamp value.
      Parameters:
      fieldName - field name
      Returns:
      value
    • getTimestamp

      java.sql.Timestamp getTimestamp​(int pos)
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Parameters:
      pos - field position
      Returns:
      value