public class ModelsHandler<I extends ModelsHandler.Models,S extends SchemaV3<I,S>> extends Handler
Modifier and Type | Class and Description |
---|---|
static class |
ModelsHandler.Models
Class which contains the internal representation of the models list and params.
|
Constructor and Description |
---|
ModelsHandler() |
Modifier and Type | Method and Description |
---|---|
ModelsV3 |
delete(int version,
ModelsV3 s)
Remove an unlocked model.
|
ModelsV3 |
deleteAll(int version,
ModelsV3 models)
Remove ALL an unlocked models.
|
ModelExportV3 |
exportModel(int version,
ModelExportV3 mexport) |
ModelExportV3 |
exportModelDetails(int version,
ModelExportV3 mexport) |
ModelExportV3 |
exportMojo(int version,
ModelExportV3 mexport) |
ModelsV3 |
fetch(int version,
ModelsV3 s)
Return a single model.
|
StreamingSchema |
fetchJavaCode(int version,
ModelsV3 s) |
StreamingSchema |
fetchMojo(int version,
ModelsV3 s) |
PartialDependenceV3 |
fetchPartialDependence(int version,
KeyV3.PartialDependenceKeyV3 s) |
StreamingSchema |
fetchPreview(int version,
ModelsV3 s)
Return a single model.
|
static Model |
getFromDKV(java.lang.String param_name,
Key key) |
static Model |
getFromDKV(java.lang.String param_name,
java.lang.String key_str) |
ModelsV3 |
importModel(int version,
ModelImportV3 mimport) |
ModelsV3 |
list(int version,
ModelsV3 s)
Return all the models.
|
JobV3 |
makePartialDependence(int version,
PartialDependenceV3 s) |
getFromDKV, getFromDKV, getHandlerMethodInputSchema, getHandlerMethodOutputSchema, handle, markdown
asBytes, clone, compute, compute1, compute2, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON
__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, onCompletion, onExceptionalCompletion, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
public static Model getFromDKV(java.lang.String param_name, java.lang.String key_str)
public StreamingSchema fetchPreview(int version, ModelsV3 s)
public StreamingSchema fetchJavaCode(int version, ModelsV3 s)
public StreamingSchema fetchMojo(int version, ModelsV3 s)
public JobV3 makePartialDependence(int version, PartialDependenceV3 s)
public PartialDependenceV3 fetchPartialDependence(int version, KeyV3.PartialDependenceKeyV3 s)
public ModelsV3 delete(int version, ModelsV3 s)
public ModelsV3 deleteAll(int version, ModelsV3 models)
public ModelsV3 importModel(int version, ModelImportV3 mimport)
public ModelExportV3 exportModel(int version, ModelExportV3 mexport)
public ModelExportV3 exportMojo(int version, ModelExportV3 mexport)
public ModelExportV3 exportModelDetails(int version, ModelExportV3 mexport)