Interface ValueFactory<T>

Type Parameters:
T - The resulting type, possibly the primary key type.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ValueFactory<T>
Create instances of a single or multi-column object, typically from the row in the table. This includes compound column primary keys.
Since:
2.6.0
Author:
Jeff Jensen
  • Method Summary

    Modifier and Type
    Method
    Description
    make(ITable table, int rowNum)
    Make the instance from the row in the table.
  • Method Details

    • make

      T make(ITable table, int rowNum) throws DataSetException
      Make the instance from the row in the table.
      Parameters:
      table - The table containing the data.
      rowNum - The row number to make the value for.
      Returns:
      The type.
      Throws:
      DataSetException