PluginConfig that Database source, sink, and action can all re-use.StructuredRecord to a desired caseDBInputFormat to load the database driver class correctly.PluginConfig that Database source and sink can re-usePluginConfig for DBSinkPluginConfig for DBSourceDBOutputFormat to load the database driver class correctly.Properties.Schema.Field,
where name of the field is same as column name and type of the field is obtained using
DBUtils#getSchema(int, int, int)Schema.Field,
where name of the field is same as column name and type of the field is obtained using
DBUtils#getSchema(int, int, int)QueryActionDBRecord.record using the specified ResultSetConnection's transaction isolation level constants.Connection.DBRecord.record to the specified PreparedStatementCopyright © 2019 CDAP Licensed under the Apache License, Version 2.0.