Пример #1
0
 @Override
 public Collection<String> list() {
   return metadataProvider.list();
 }
Пример #2
0
 @Override
 public boolean delete(String name) {
   // avoids calling fsRepository.delete, which deletes the data path
   return metadataProvider.delete(name);
 }
Пример #3
0
 @Override
 public boolean exists(String name) {
   return metadataProvider.exists(name);
 }
Пример #4
0
 @Override
 public Dataset create(String name, DatasetDescriptor descriptor) {
   // avoids calling fsRepository.create, which creates the data path
   metadataProvider.create(name, descriptor);
   return fsRepository.load(name);
 }