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