@InterfaceAudience.Public @InterfaceStability.Unstable public class PartialListing<T extends FileStatus> extends Object
 ListingBatch behaves similar to a Future, in that getting the result via
 get() will throw an Exception if there was a failure.
| Constructor and Description | 
|---|
| PartialListing(Path listedPath,
              List<T> partialListing) | 
| PartialListing(Path listedPath,
              org.apache.hadoop.ipc.RemoteException exception) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<T> | get()Partial listing of the path being listed. | 
| Path | getListedPath()Path being listed. | 
| String | toString() | 
public PartialListing(Path listedPath, org.apache.hadoop.ipc.RemoteException exception)
public List<T> get() throws IOException
IOException - if there was an exception getting the listing.public Path getListedPath()
Copyright © 2025 Apache Software Foundation. All rights reserved.