Interface ColumnProperty.ValueFetcher<C>

  • Type Parameters:
    C - the type of the column value being fetched
    Enclosing interface:
    ColumnProperty<T>

    public static interface ColumnProperty.ValueFetcher<C>
    Fetches a single value from a result set.
    • Method Detail

      • fetchValue

        C fetchValue​(ResultSet resultSet,
                     int index)
              throws SQLException
        Fetches a single value from a ResultSet
        Parameters:
        resultSet - the ResultSet
        index - the index of the column to fetch
        Returns:
        a single value fetched from the given ResultSet
        Throws:
        SQLException - in case of an exception