| Package | Description |
|---|---|
| ml.comet.experiment.impl.asset | |
| ml.comet.experiment.impl.utils |
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactAssetImpl
Describes artifact's asset data.
|
class |
LoggedExperimentAssetImpl
Implementation of the
LoggedExperimentAsset. |
class |
RemoteAssetImpl
Describes remote asset data.
|
| Constructor and Description |
|---|
ArtifactAssetImpl(AssetImpl asset)
Creates new instance using values from provided
AssetImpl. |
| Modifier and Type | Method and Description |
|---|---|
static AssetImpl |
AssetUtils.createAssetFromData(byte[] data,
@NonNull String logicalPath,
boolean overwrite,
@NonNull Optional<Map<String,Object>> metadata,
@NonNull Optional<String> type)
Creates the
Asset from the file-like data. |
static AssetImpl |
AssetUtils.createAssetFromFile(@NonNull File file,
Optional<String> logicalPath,
boolean overwrite,
@NonNull Optional<Map<String,Object>> metadata,
@NonNull Optional<String> type)
Creates the
Asset from the local file. |
static AssetImpl |
AssetUtils.updateAsset(AssetImpl asset,
boolean overwrite,
Optional<Map<String,Object>> metadata,
Optional<String> type)
Updates provided
AssetImpl with values from optionals or with defaults. |
| Modifier and Type | Method and Description |
|---|---|
static Stream<AssetImpl> |
AssetUtils.walkFolderAssets(@NonNull File folder,
boolean logFilePath,
boolean recursive,
boolean prefixWithFolderName)
Walks through the asset files in the given folder and produce stream of
Asset objects holding information
about file assets found in the folder. |
| Modifier and Type | Method and Description |
|---|---|
static Map<QueryParamName,String> |
AssetUtils.assetQueryParameters(@NonNull AssetImpl asset,
@NonNull String experimentKey)
Extracts query parameters from the provided
Asset. |
static AssetImpl |
AssetUtils.updateAsset(AssetImpl asset,
boolean overwrite,
Optional<Map<String,Object>> metadata,
Optional<String> type)
Updates provided
AssetImpl with values from optionals or with defaults. |
Copyright © 2022. All rights reserved.