@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) |
getSelectQuery
close, createValue, getConditions, getConnection, getCurrentKey, getCurrentValue, getDBConf, getFieldNames, getPos, getProgress, getSplit, getStatement, getTableName, initialize, next, nextKeyValue, setStatement
public MySQLDataDrivenDBRecordReader(DBInputFormat.DBInputSplit split, Class<T> inputClass, Configuration conf, Connection conn, DBConfiguration dbConfig, String cond, String[] fields, String table) throws SQLException
SQLException
protected ResultSet executeQuery(String query) throws SQLException
executeQuery
在类中 DBRecordReader<T extends DBWritable>
SQLException
Copyright © 2009 The Apache Software Foundation