@Alpha public class FSDatasetDescriptor extends BaseDatasetDescriptor implements DatasetDescriptor
DatasetDescriptor with FS-based storage.| Constructor and Description |
|---|
FSDatasetDescriptor(com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(DatasetDescriptor o) |
protected boolean |
isPathContaining(DatasetDescriptor other)
If other descriptor has subpaths, this method checks that each concatenation of path + subpath is matched by this
path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getFormatConfig, getPath, getPlatform, getRawConfig, isRetentionAppliedpublic FSDatasetDescriptor(com.typesafe.config.Config config)
throws IOException
IOExceptionprotected boolean isPathContaining(DatasetDescriptor other)
isPathContaining in class BaseDatasetDescriptorother - descriptor whose path/subpaths to checkDatasetDescriptor's path, or if subpaths is null and
the other's path matches this path.public boolean contains(DatasetDescriptor o)
contains in interface DatasetDescriptorcontains in class BaseDatasetDescriptorDatasetDescriptor contains the other DatasetDescriptor i.e. the
datasets described by this DatasetDescriptor is a subset of the datasets described by the other
DatasetDescriptor. This operation is non-commutative.