public DatasetStoreDatasetFinder(FileSystem fs, Properties props) throws IOException { this.config = ConfigFactory.parseProperties(props); this.store = DatasetStateStore.buildDatasetStateStore(this.config); this.predicate = buildPredicate(); }
@Override public List<DatasetStoreDataset> findDatasets() throws IOException { return super.findDatasets().stream() .map(dataset -> new TimeBasedDatasetStoreDataset(dataset.getKey(), dataset.getDatasetStateStoreMetadataEntries(), props)) .collect(Collectors.toList()); } }
@Override public List<DatasetStoreDataset> findDatasets() throws IOException { return super.findDatasets().stream() .map(dataset -> new TimeBasedDatasetStoreDataset(dataset.getKey(), dataset.getDatasetStateStoreMetadataEntries(), props)) .collect(Collectors.toList()); } }
public DatasetStoreDatasetFinder(FileSystem fs, Properties props) throws IOException { this.config = ConfigFactory.parseProperties(props); this.store = DatasetStateStore.buildDatasetStateStore(this.config); this.predicate = buildPredicate(); }