Package org.mlflow.tracking
Class ModelVersionsPage
- java.lang.Object
-
- org.mlflow.tracking.ModelVersionsPage
-
- All Implemented Interfaces:
Page<ModelRegistry.ModelVersion>
public class ModelVersionsPage extends java.lang.Object implements Page<ModelRegistry.ModelVersion>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ModelRegistry.ModelVersion>
getItems()
Page<ModelRegistry.ModelVersion>
getNextPage()
java.util.Optional<java.lang.String>
getNextPageToken()
int
getPageSize()
boolean
hasNextPage()
-
-
-
Method Detail
-
getPageSize
public int getPageSize()
- Specified by:
getPageSize
in interfacePage<ModelRegistry.ModelVersion>
- Returns:
- The number of model versions in the page.
-
hasNextPage
public boolean hasNextPage()
- Specified by:
hasNextPage
in interfacePage<ModelRegistry.ModelVersion>
- 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<ModelRegistry.ModelVersion>
- Returns:
- An optional with the token for the next page. Empty if the token doesn't exist or is empty.
-
getNextPage
public Page<ModelRegistry.ModelVersion> getNextPage()
- Specified by:
getNextPage
in interfacePage<ModelRegistry.ModelVersion>
- Returns:
- The next page of model versions matching the search criteria.
If there are no more pages, an
EmptyPage
will be returned.
-
getItems
public java.util.List<ModelRegistry.ModelVersion> getItems()
- Specified by:
getItems
in interfacePage<ModelRegistry.ModelVersion>
- Returns:
- An iterable over the model versions in this page.
-
-