public static final class SchemaUtil.BeamRowMapper extends java.lang.Object implements JdbcIO.RowMapper<Row>
JdbcIO.RowMapper
implementation that converts JDBC
results into Beam Row
objects.Modifier and Type | Method and Description |
---|---|
Row |
mapRow(java.sql.ResultSet rs) |
static SchemaUtil.BeamRowMapper |
of(Schema schema) |
public static SchemaUtil.BeamRowMapper of(Schema schema)
public Row mapRow(java.sql.ResultSet rs) throws java.lang.Exception
mapRow
in interface JdbcIO.RowMapper<Row>
java.lang.Exception