@InterfaceAudience.Public @InterfaceStability.Evolving public class MySQLDataDrivenDBRecordReader<T extends DBWritable> extends DataDrivenDBRecordReader<T>
statement| 构造器和说明 |
|---|
MySQLDataDrivenDBRecordReader(DBInputFormat.DBInputSplit split,
Class<T> inputClass,
Configuration conf,
Connection conn,
DBConfiguration dbConfig,
String cond,
String[] fields,
String table) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ResultSet |
executeQuery(String query) |
getSelectQueryclose, createValue, getConditions, getConnection, getCurrentKey, getCurrentValue, getDBConf, getFieldNames, getPos, getProgress, getSplit, getStatement, getTableName, initialize, next, nextKeyValue, setStatementpublic MySQLDataDrivenDBRecordReader(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 在类中 DBRecordReader<T extends DBWritable>SQLExceptionCopyright © 2009 The Apache Software Foundation