VectorizedOrcAcidRowReader(AcidInputFormat.RowReader<OrcStruct> inner,
Configuration conf,
FileSplit split) throws IOException {
this.innerReader = inner;
this.key = inner.createKey();
this.rowBatchCtx = new VectorizedRowBatchCtx();
this.value = inner.createValue();
this.objectInspector = inner.getObjectInspector();
try {
rowBatchCtx.init(conf, split);
} catch (ClassNotFoundException e) {
throw new IOException("Failed to initialize context", e);
} catch (SerDeException e) {
throw new IOException("Failed to initialize context", e);
} catch (InstantiationException e) {
throw new IOException("Failed to initialize context", e);
} catch (IllegalAccessException e) {
throw new IOException("Failed to initialize context", e);
} catch (HiveException e) {
throw new IOException("Failed to initialize context", e);
}
}