@Override public RecordUpdater getRecordUpdater(Path path, Options options) throws IOException { if (options.getDummyStream() != null) { return new DummyOrcRecordUpdater(path, options); } else { return new OrcRecordUpdater(path, options); } }
private DummyOrcRecordUpdater(Path path, Options options) { this.path = path; this.inspector = options.getInspector(); this.out = options.getDummyStream(); }