protected final class S3AUnderFileSystem.S3AObjectListingChunk extends Object implements ObjectUnderFileSystem.ObjectListingChunk
ListObjectsV2Request
.Modifier and Type | Method and Description |
---|---|
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.
|
Boolean |
hasNextChunk()
Gets if there is more chunks to fetch WITHOUT actually fetching the next chunk.
|
public ObjectUnderFileSystem.ObjectStatus[] getObjectStatuses()
ObjectUnderFileSystem.ObjectListingChunk
getObjectStatuses
in interface ObjectUnderFileSystem.ObjectListingChunk
public String[] getCommonPrefixes()
ObjectUnderFileSystem.ObjectListingChunk
getCommonPrefixes
in interface ObjectUnderFileSystem.ObjectListingChunk
@Nullable public ObjectUnderFileSystem.ObjectListingChunk getNextChunk() throws IOException
ObjectUnderFileSystem.ObjectListingChunk
getNextChunk
in interface ObjectUnderFileSystem.ObjectListingChunk
ObjectUnderFileSystem.ObjectListingChunk
for the next chunkIOException
public Boolean hasNextChunk()
ObjectUnderFileSystem.ObjectListingChunk
hasNextChunk
in interface ObjectUnderFileSystem.ObjectListingChunk
Copyright © 2023. All Rights Reserved.