Package mindsdb.services
Class MLEngines
java.lang.Object
mindsdb.services.MLEngines
MLEngines service class for handling ML engines.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new ML engineCreate a new ML engineCreate a new ML engineCreate a new ML enginevoid
Drop an ML engineGet a specific ML engine by namelist()
List all ML engines
-
Constructor Details
-
MLEngines
Constructor for MLEngines- Parameters:
api
- - RestAPI object
-
-
Method Details
-
list
List all ML engines- Returns:
- List of MLEngine objects
-
get
Get a specific ML engine by name- Parameters:
name
- - name of the engine- Returns:
- MLEngine object
-
create
public MLEngine create(String name, Handler handler, kong.unirest.core.json.JSONObject connectionData) Create a new ML engine- Parameters:
name
- - name of the enginehandler
- - handler of the engineconnectionData
- - connection data for the engine- Returns:
- MLEngine object
-
create
public MLEngine create(String name, String handlerName, kong.unirest.core.json.JSONObject connectionData) Create a new ML engine- Parameters:
name
- - name of the enginehandlerName
- - handler of the engineconnectionData
- - connection data for the engine- Returns:
- MLEngine object
-
create
Create a new ML engine- Parameters:
name
- - name of the enginehandler
- - handler of the engine- Returns:
- MLEngine object
-
create
Create a new ML engine- Parameters:
name
- - name of the enginehandlerName
- - handler of the engine- Returns:
- MLEngine object
-
drop
Drop an ML engine- Parameters:
name
- - name of the engine
-