Package org.apache.iceberg.io
Interface SupportsPrefixOperations
- 
- All Known Implementing Classes:
- HadoopFileIO,- S3FileIO
 
 public interface SupportsPrefixOperationsThis interface is intended as an extension for FileIO implementations to provide additional prefix based operations that may be useful in performing supporting operations.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeletePrefix(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.
 
- 
- 
- 
Method Detail- 
listPrefixjava.lang.Iterable<FileInfo> listPrefix(java.lang.String prefix) Return an iterable of all files under a 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. - Parameters:
- prefix- prefix to list
- Returns:
- iterable of file information
 
 - 
deletePrefixvoid deletePrefix(java.lang.String prefix) Delete all files under a 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. - Parameters:
- prefix- prefix to delete
 
 
- 
 
-