Class ListStatusPartialResult


  • public class ListStatusPartialResult
    extends java.lang.Object
    Contains information about the result of a partial listing.
    • Method Detail

      • fromProto

        public static ListStatusPartialResult fromProto​(alluxio.grpc.ListStatusPartialPResponse response)
        Generate a ListStatusPartialResult from a ListStatusPartialPResponse.
        Parameters:
        response - the original response
        Returns:
        the converted response
      • getListings

        public java.util.List<URIStatus> getListings()
        Returns:
        the listings
      • isTruncated

        public boolean isTruncated()
        Returns:
        true if the listing was truncated
      • getFileCount

        public long getFileCount()
        Returns:
        the total number of files in the listed directory, (i.e. the size of the result if partial listing was not used or -1 if the listing was recursive)