}
}
public OrcFileWriter(Configuration conf, Path path, PType<T> pType) throws IOException {
JobConf jobConf = new JobConf(conf);
OutputFormat outputFormat = new OrcOutputFormat();
writer = outputFormat.getRecordWriter(null, jobConf, path.toString(), new NullProgress());
mapFn = pType.getOutputMapFn();
mapFn.initialize();
serde = new OrcSerde();