public interface Models
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<ModelsV3> |
delete(java.lang.String model_id)
Delete the specified Model from the H2O distributed K/V store.
|
retrofit2.Call<ModelsV3> |
deleteAll()
Delete all Models from the H2O distributed K/V store.
|
retrofit2.Call<ModelExportV3> |
exportModel(java.lang.String model_id)
Export given model.
|
retrofit2.Call<ModelsV3> |
fetch(java.lang.String model_id)
Return the specified Model from the H2O distributed K/V store, optionally with the list of compatible Frames.
|
retrofit2.Call<StreamingSchema> |
fetchJavaCode(java.lang.String model_id)
Return the stream containing model implementation in Java code.
|
retrofit2.Call<StreamingSchema> |
fetchPreview(java.lang.String model_id)
Return potentially abridged model suitable for viewing in a browser (currently only used for java model code).
|
retrofit2.Call<ModelsV3> |
importModel(java.lang.String model_id,
java.lang.String dir,
boolean force,
java.lang.String _exclude_fields)
Import given binary model into H2O.
|
retrofit2.Call<ModelsV3> |
list()
Return all Models from the H2O distributed K/V store.
|
@GET(value="/3/Models/{model_id}")
retrofit2.Call<ModelsV3> fetch(@Path(value="model_id")
java.lang.String model_id)
@GET(value="/3/Models") retrofit2.Call<ModelsV3> list()
@DELETE(value="/3/Models/{model_id}")
retrofit2.Call<ModelsV3> delete(@Path(value="model_id")
java.lang.String model_id)
@DELETE(value="/3/Models") retrofit2.Call<ModelsV3> deleteAll()
@GET(value="/3/Models.java/{model_id}/preview")
retrofit2.Call<StreamingSchema> fetchPreview(@Path(value="model_id")
java.lang.String model_id)
@GET(value="/3/Models.java/{model_id}")
retrofit2.Call<StreamingSchema> fetchJavaCode(@Path(value="model_id")
java.lang.String model_id)
@FormUrlEncoded
@POST(value="/99/Models.bin/{model_id}")
retrofit2.Call<ModelsV3> importModel(@Path(value="model_id")
java.lang.String model_id,
@Field(value="dir")
java.lang.String dir,
@Field(value="force")
boolean force,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
@GET(value="/99/Models.bin/{model_id}")
retrofit2.Call<ModelExportV3> exportModel(@Path(value="model_id")
java.lang.String model_id)