Class RunsPage

java.lang.Object
org.mlflow.tracking.RunsPage
All Implemented Interfaces:
Page<Service.Run>

public class RunsPage extends Object implements Page<Service.Run>
  • Method Details

    • getPageSize

      public int getPageSize()
      Specified by:
      getPageSize in interface Page<Service.Run>
      Returns:
      The number of runs in the page.
    • hasNextPage

      public boolean hasNextPage()
      Specified by:
      hasNextPage in interface Page<Service.Run>
      Returns:
      True if a token for the next page exists and isn't empty. Otherwise returns false.
    • getNextPageToken

      public Optional<String> getNextPageToken()
      Specified by:
      getNextPageToken in interface Page<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 interface Page<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 List<Service.Run> getItems()
      Specified by:
      getItems in interface Page<Service.Run>
      Returns:
      An iterable over the runs in this page.