Interface Row

  • All Known Subinterfaces:
    ExecIndexRow, ExecRow
    All Known Implementing Classes:
    IndexRow, IndexValueRow, ValueRow

    public interface Row
    The Row interface provides methods to get information about the columns in a result row. It uses simple, position (1-based) access to get to columns. Searching for columns by name should be done from the ResultSet interface, where metadata about the rows and columns is available.

    See Also:
    ResultSet, ExecRow
    • Method Detail

      • nColumns

        int nColumns()
      • getColumn

        DataValueDescriptor getColumn​(int position)
                               throws StandardException
        Get a DataValueDescriptor in a Row by ordinal position (1-based).
        Parameters:
        position - The ordinal position of the column.
        Returns:
        The DataValueDescriptor, null if no such column exists
        Throws:
        StandardException - Thrown on failure.
      • setColumn

        void setColumn​(int position,
                       DataValueDescriptor value)
        Set a DataValueDescriptor in a Row by ordinal position (1-based).
        Parameters:
        position - The ordinal position of the column.