Package oracle.pgx.api.mllib
Class FileModelStorer<ModelType extends Model<ModelType>>
- java.lang.Object
-
- oracle.pgx.api.mllib.ModelStorer<ModelType,FileModelStorer<ModelType>>
-
- oracle.pgx.api.mllib.FileModelStorer<ModelType>
-
public class FileModelStorer<ModelType extends Model<ModelType>> extends ModelStorer<ModelType,FileModelStorer<ModelType>>
A model storer for files- Since:
- 21.1
-
-
Constructor Summary
Constructors Constructor Description FileModelStorer(PgxSession session, oracle.pgx.api.internal.Core core, ModelType model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileModelStorer<ModelType>
key(java.lang.String key)
Configures the encryption key of the model file.FileModelStorer<ModelType>
path(java.lang.String path)
Configures the path where to store the model filePgxFuture<java.lang.Void>
storeAsync()
Trigger the storing, once all the parameters have been set (async version)-
Methods inherited from class oracle.pgx.api.mllib.ModelStorer
overwrite, store
-
-
-
-
Constructor Detail
-
FileModelStorer
public FileModelStorer(PgxSession session, oracle.pgx.api.internal.Core core, ModelType model)
-
-
Method Detail
-
path
public FileModelStorer<ModelType> path(java.lang.String path)
Configures the path where to store the model file- Parameters:
path
- the path to the model file- Returns:
- this instance
- Since:
- 21.1
-
key
public FileModelStorer<ModelType> key(java.lang.String key)
Configures the encryption key of the model file. If not null, the model file will be encrypted with the specified key- Parameters:
key
- the encryption key- Returns:
- this instance
- Since:
- 21.1
-
storeAsync
public PgxFuture<java.lang.Void> storeAsync()
Description copied from class:ModelStorer
Trigger the storing, once all the parameters have been set (async version)- Specified by:
storeAsync
in classModelStorer<ModelType extends Model<ModelType>,FileModelStorer<ModelType extends Model<ModelType>>>
-
-