Interface ColumnValueExtractor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Extracts a column value from a ResultSet.
  • Method Summary

    Modifier and Type
    Method
    Description
    getObject(ResultSet resultSet, int columnIndex)
    Extracts a column value from a ResultSet.
  • Method Details

    • getObject

      Object getObject(ResultSet resultSet, int columnIndex) throws SQLException
      Extracts a column value from a ResultSet.
      Parameters:
      resultSet - the result set
      columnIndex - column index (1 based)
      Returns:
      the column value
      Throws:
      SQLException - if reading the result set fails