Package alluxio.underfs
Interface ObjectUnderFileSystem.ObjectListingChunk
-
- Enclosing class:
- ObjectUnderFileSystem
public static interface ObjectUnderFileSystem.ObjectListingChunk
A chunk of listing results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getCommonPrefixes()
Use common prefixes to infer pseudo-directories in object store.ObjectUnderFileSystem.ObjectListingChunk
getNextChunk()
Gets next chunk of object listings.ObjectUnderFileSystem.ObjectStatus[]
getObjectStatuses()
Returns objects in a pseudo-directory which may be a file or a directory.
-
-
-
Method Detail
-
getObjectStatuses
ObjectUnderFileSystem.ObjectStatus[] getObjectStatuses()
Returns objects in a pseudo-directory which may be a file or a directory.- Returns:
- a list of object statuses
-
getCommonPrefixes
java.lang.String[] getCommonPrefixes()
Use common prefixes to infer pseudo-directories in object store.- Returns:
- a list of common prefixes
-
getNextChunk
@Nullable ObjectUnderFileSystem.ObjectListingChunk getNextChunk() throws java.io.IOException
Gets next chunk of object listings.- Returns:
- null if listing did not find anything or is done, otherwise return new
ObjectUnderFileSystem.ObjectListingChunk
for the next chunk - Throws:
java.io.IOException
-
-