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