public class UfsLoadResult extends Object
Constructor and Description |
---|
UfsLoadResult(java.util.stream.Stream<UfsStatus> items,
int itemsCount,
String continuationToken,
AlluxioURI lastItem,
boolean isTruncated,
boolean firstIsFile,
boolean isObjectStore)
Constructs a new instance of
UfsLoadResult . |
Modifier and Type | Method and Description |
---|---|
String |
getContinuationToken() |
java.util.stream.Stream<UfsStatus> |
getItems() |
int |
getItemsCount() |
Optional<AlluxioURI> |
getLastItem() |
boolean |
isFirstFile() |
boolean |
isIsObjectStore() |
boolean |
isTruncated() |
public UfsLoadResult(java.util.stream.Stream<UfsStatus> items, int itemsCount, @Nullable String continuationToken, @Nullable AlluxioURI lastItem, boolean isTruncated, boolean firstIsFile, boolean isObjectStore)
UfsLoadResult
.items
- the stream of loaded itemsitemsCount
- the count of loaded itemscontinuationToken
- the continuation token for loading more itemslastItem
- the URI of the last item that was loadedisTruncated
- whether the load operation was truncated due to reaching a limitfirstIsFile
- whether the first item in the stream is a fileisObjectStore
- whether the under file system is an object storepublic boolean isIsObjectStore()
public boolean isFirstFile()
public Optional<AlluxioURI> getLastItem()
public int getItemsCount()
public boolean isTruncated()
public java.util.stream.Stream<UfsStatus> getItems()
public String getContinuationToken()
Copyright © 2023. All Rights Reserved.