Class ColumnWithSerialTypeExtractor

java.lang.Object
io.github.mfvanek.pg.checks.extractors.ColumnWithSerialTypeExtractor
All Implemented Interfaces:
ResultSetExtractor<io.github.mfvanek.pg.model.column.ColumnWithSerialType>

public class ColumnWithSerialTypeExtractor extends Object implements ResultSetExtractor<io.github.mfvanek.pg.model.column.ColumnWithSerialType>
  • Method Details

    • extractData

      @Nonnull public io.github.mfvanek.pg.model.column.ColumnWithSerialType extractData(@Nonnull ResultSet resultSet) throws SQLException
      Converts a row from database to an arbitrary domain model.
      Specified by:
      extractData in interface ResultSetExtractor<io.github.mfvanek.pg.model.column.ColumnWithSerialType>
      Parameters:
      resultSet - the ResultSet to extract data from
      Returns:
      an arbitrary result object
      Throws:
      SQLException - if an SQLException is encountered getting column values or navigating
    • of

      @Nonnull public static ResultSetExtractor<io.github.mfvanek.pg.model.column.ColumnWithSerialType> of()