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()
int
getPageSize()
boolean
hasNextPage()
-
-
-
Method Detail
-
getPageSize
public int getPageSize()
- Specified by:
getPageSize
in interfacePage<Service.Run>
- Returns:
- The number of runs in the page.
-
hasNextPage
public boolean hasNextPage()
- Specified by:
hasNextPage
in 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:
getNextPageToken
in 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:
getNextPage
in interfacePage<Service.Run>
- Returns:
- The next page of runs matching the search criteria.
If there are no more pages, an
EmptyPage
will be returned.
-
getItems
public java.util.List<Service.Run> getItems()
- Specified by:
getItems
in interfacePage<Service.Run>
- Returns:
- An iterable over the runs in this page.
-
-