Class SchemaUtil.BeamRowMapper

  • All Implemented Interfaces:
    java.io.Serializable, JdbcIO.RowMapper<org.apache.beam.sdk.values.Row>
    Enclosing class:
    SchemaUtil

    public static final class SchemaUtil.BeamRowMapper
    extends java.lang.Object
    implements JdbcIO.RowMapper<org.apache.beam.sdk.values.Row>
    A JdbcIO.RowMapper implementation that converts JDBC results into Beam Row objects.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.beam.sdk.values.Row mapRow​(java.sql.ResultSet rs)  
      static SchemaUtil.BeamRowMapper of​(org.apache.beam.sdk.schemas.Schema schema)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mapRow

        public org.apache.beam.sdk.values.Row mapRow​(java.sql.ResultSet rs)
                                              throws java.lang.Exception
        Specified by:
        mapRow in interface JdbcIO.RowMapper<org.apache.beam.sdk.values.Row>
        Throws:
        java.lang.Exception