use of org.apache.hadoop.hive.ql.exec.RecordReader in project hive by apache.
the class SemanticAnalyzer method getDefaultRecordReader.
private Class<? extends RecordReader> getDefaultRecordReader() throws SemanticException {
String name;
name = conf.getVar(HiveConf.ConfVars.HIVESCRIPTRECORDREADER);
try {
return (Class<? extends RecordReader>) Class.forName(name, true, Utilities.getSessionSpecifiedClassLoader());
} catch (ClassNotFoundException e) {
throw new SemanticException(e);
}
}
Aggregations