@Private
@Evolving
public class DirectoryListing
extends java.lang.Object
| Constructor | Description |
|---|---|
DirectoryListing(HdfsFileStatus[] partialListing,
int remainingEntries) |
constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getLastName() |
Get the last name in this list
|
HdfsFileStatus[] |
getPartialListing() |
Get the partial listing of file status
|
int |
getRemainingEntries() |
Get the number of remaining entries that are left to be listed
|
boolean |
hasMore() |
Check if there are more entries that are left to be listed
|
public DirectoryListing(HdfsFileStatus[] partialListing, int remainingEntries)
partialListing - a partial listing of a directoryremainingEntries - number of entries that are left to be listedpublic HdfsFileStatus[] getPartialListing()
public int getRemainingEntries()
public boolean hasMore()
public byte[] getLastName()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.