@InterfaceAudience.Public @InterfaceStability.Evolving public class MySQLDataDrivenDBRecordReader<T extends DBWritable> extends DataDrivenDBRecordReader<T>
statement| Constructor and Description |
|---|
MySQLDataDrivenDBRecordReader(org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit split,
Class<T> inputClass,
Configuration conf,
Connection conn,
DBConfiguration dbConfig,
String cond,
String[] fields,
String table) |
| Modifier and Type | Method and Description |
|---|---|
protected ResultSet |
executeQuery(String query) |
getSelectQueryclose, createValue, getConditions, getConnection, getCurrentKey, getCurrentValue, getDBConf, getFieldNames, getPos, getProgress, getSplit, getStatement, getTableName, initialize, next, nextKeyValue, setStatementpublic MySQLDataDrivenDBRecordReader(org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit split,
Class<T> inputClass,
Configuration conf,
Connection conn,
DBConfiguration dbConfig,
String cond,
String[] fields,
String table)
throws SQLException
SQLExceptionprotected ResultSet executeQuery(String query) throws SQLException
executeQuery in class DBRecordReader<T extends DBWritable>SQLExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.