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