Package org.mlflow.tracking
Interface Page<E>
-
- All Known Implementing Classes:
EmptyPage
,ExperimentsPage
,ModelVersionsPage
,RunsPage
public interface Page<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
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
Page<E> 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.
-
-