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.Serializable
    An interface used by JdbcIO.Read for converting each row of the ResultSet into an element of the resulting PCollection.
    • Method Detail

      • mapRow

        T mapRow​(java.sql.ResultSet resultSet)
          throws java.lang.Exception
        Throws:
        java.lang.Exception