Interface IResultRow

  • All Known Implementing Classes:
    RRow

    public interface IResultRow
    This interface allows immutable access to a resultset row.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getColumnCount()
      Obtain the number of columns in the row.
      java.util.Iterator<java.lang.String> getColumns()
      Obtain the set of columns for a row.
      java.lang.Object getValue​(java.lang.String columnName)
      Get the row value for a column.
    • Method Detail

      • getColumnCount

        int getColumnCount()
        Obtain the number of columns in the row.
        Returns:
        the number of columns that row contains.
      • getColumns

        java.util.Iterator<java.lang.String> getColumns()
        Obtain the set of columns for a row.
        Returns:
        an iterator that will list all the (String) column names stored in that row.
      • getValue

        java.lang.Object getValue​(java.lang.String columnName)
        Get the row value for a column.
        Parameters:
        columnName - is the name of the column.
        Returns:
        the value, or null if not present.