Package org.mlflow.tracking
Interface Page<E>
public interface Page<E>
-
Method Summary
Modifier and Type Method Description java.lang.Iterable<E>
getItems()
Page<E>
getNextPage()
java.util.Optional<java.lang.String>
getNextPageToken()
int
getPageSize()
boolean
hasNextPage()
-
Method Details
-
getPageSize
int getPageSize()- Returns:
- The number of elements in this page.
-
hasNextPage
boolean hasNextPage()- Returns:
- True if there are more pages that can be retrieved from the API.
-
getNextPageToken
java.util.Optional<java.lang.String> getNextPageToken()- Returns:
- An Optional of the token string to get the next page. Empty if there is no next page.
-
getNextPage
- Returns:
- Retrieves the next Page object using the next page token, or returns an empty page if there are no more pages.
-
getItems
java.lang.Iterable<E> getItems()- Returns:
- A List of the elements in this Page.
-