Package org.mlflow.tracking
Class RunsPage
- java.lang.Object
-
- org.mlflow.tracking.RunsPage
-
- All Implemented Interfaces:
Page<Service.Run>
public class RunsPage extends java.lang.Object implements Page<Service.Run>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Service.Run>getItems()Page<Service.Run>getNextPage()java.util.Optional<java.lang.String>getNextPageToken()intgetPageSize()booleanhasNextPage()
-
-
-
Method Detail
-
getPageSize
public int getPageSize()
- Specified by:
getPageSizein interfacePage<Service.Run>- Returns:
- The number of runs in the page.
-
hasNextPage
public boolean hasNextPage()
- Specified by:
hasNextPagein interfacePage<Service.Run>- Returns:
- True if a token for the next page exists and isn't empty. Otherwise returns false.
-
getNextPageToken
public java.util.Optional<java.lang.String> getNextPageToken()
- Specified by:
getNextPageTokenin interfacePage<Service.Run>- Returns:
- An optional with the token for the next page. Empty if the token doesn't exist or is empty.
-
getNextPage
public Page<Service.Run> getNextPage()
- Specified by:
getNextPagein interfacePage<Service.Run>- Returns:
- The next page of runs matching the search criteria.
If there are no more pages, an
EmptyPagewill be returned.
-
getItems
public java.util.List<Service.Run> getItems()
- Specified by:
getItemsin interfacePage<Service.Run>- Returns:
- An iterable over the runs in this page.
-
-