@InterfaceAudience.Private @InterfaceStability.Evolving public class DirectoryListing extends Object
Constructor and Description |
---|
DirectoryListing(HdfsFileStatus[] partialListing,
int remainingEntries)
constructor
|
Modifier and Type | Method and 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 © 2013 Apache Software Foundation. All rights reserved.