예제 #1
0
 public SelectedColumnsRecordSource(
     RecordSource<? extends Record> recordSource,
     ObjList<CharSequence> names,
     CharSequenceObjHashMap<String> renameMap) {
   this.recordSource = recordSource;
   RecordMetadata dm = recordSource.getMetadata();
   this.metadata = new SelectedColumnsMetadata(dm, names, renameMap);
   this.record = new SelectedColumnsRecord(dm, names);
 }
예제 #2
0
 @Override
 public boolean supportsRowIdAccess() {
   return recordSource.supportsRowIdAccess();
 }
예제 #3
0
 @Override
 public void reset() {
   recordSource.reset();
 }
예제 #4
0
 @Override
 public RecordCursor<Record> prepareCursor(JournalReaderFactory factory) throws JournalException {
   this.recordCursor = recordSource.prepareCursor(factory);
   return this;
 }