public interface SupportsPrefixOperations extends FileIO
Modifier and Type | Method and Description |
---|---|
void |
deletePrefix(java.lang.String prefix)
Delete all files under a prefix.
|
java.lang.Iterable<FileInfo> |
listPrefix(java.lang.String prefix)
Return an iterable of all files under a prefix.
|
close, deleteFile, deleteFile, deleteFile, initialize, newInputFile, newInputFile, newInputFile, newInputFile, newInputFile, newOutputFile, properties
java.lang.Iterable<FileInfo> listPrefix(java.lang.String prefix)
Hierarchical file systems (e.g. HDFS) may impose additional restrictions like the prefix must fully match a directory whereas key/value object stores may allow for arbitrary prefixes.
prefix
- prefix to listvoid deletePrefix(java.lang.String prefix)
Hierarchical file systems (e.g. HDFS) may impose additional restrictions like the prefix must fully match a directory whereas key/value object stores may allow for arbitrary prefixes.
prefix
- prefix to delete