public interface JdbcRowConverter extends Serializable
RowData
.Modifier and Type | Method and Description |
---|---|
PreparedStatement |
toExternal(RowData rowData,
PreparedStatement statement)
Convert data retrieved from Flink internal RowData to JDBC Object.
|
RowData |
toInternal(ResultSet resultSet)
|
RowData toInternal(ResultSet resultSet) throws SQLException
resultSet
- ResultSet from JDBCSQLException
PreparedStatement toExternal(RowData rowData, PreparedStatement statement) throws SQLException
rowData
- The given internal RowData
.statement
- The statement to be filled.SQLException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.