Constructor and Description |
---|
FileIterator(FileSystemMaster fileSystemMaster,
String path,
Optional<String> user,
boolean usePartialListing,
java.util.function.Predicate<FileInfo> filter)
Creates a new instance of
FileIterable.FileIterator . |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
FileInfo |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public FileIterator(FileSystemMaster fileSystemMaster, String path, Optional<String> user, boolean usePartialListing, java.util.function.Predicate<FileInfo> filter)
FileIterable.FileIterator
.fileSystemMaster
- file system masterpath
- path to listuser
- user to list asusePartialListing
- whether to use partial listingfilter
- filter to apply to the file infosCopyright © 2023. All Rights Reserved.