Class BatchedDirectoryListing

java.lang.Object
org.apache.hadoop.hdfs.protocol.BatchedDirectoryListing

@Private public class BatchedDirectoryListing extends Object
A struct-like class for holding partial listings returned by the batched listing API. This class is used internally by the HDFS client and namenode and is not meant for public consumption.
  • Constructor Details

    • BatchedDirectoryListing

      public BatchedDirectoryListing(HdfsPartialListing[] listings, boolean hasMore, byte[] startAfter)
  • Method Details

    • getListings

      public HdfsPartialListing[] getListings()
    • hasMore

      public boolean hasMore()
    • getStartAfter

      public byte[] getStartAfter()
    • toString

      public String toString()
      Overrides:
      toString in class Object