Exemple #1
0
 @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);
   }
 }
Exemple #2
0
 private DummyOrcRecordUpdater(Path path, Options options) {
   this.path = path;
   this.inspector = options.getInspector();
   this.out = options.getDummyStream();
 }