Package org.apache.beam.sdk.io.jdbc
Interface JdbcIO.RowMapper<T>
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
JdbcReadWithPartitionsHelper<PartitionT>
- All Known Implementing Classes:
SchemaUtil.BeamRowMapper
- Enclosing class:
- JdbcIO
- 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 static interface JdbcIO.RowMapper<T> extends java.io.SerializableAn interface used byJdbcIO.Readfor converting each row of theResultSetinto an element of the resultingPCollection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TmapRow(java.sql.ResultSet resultSet)
-
-
-
Method Detail
-
mapRow
T mapRow(java.sql.ResultSet resultSet) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-