Package mindsdb
Class MindsDB
java.lang.Object
mindsdb.MindsDB
MindsDB class for connecting to MindsDB server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Server
connect()
Create a connection to MindsDB server.static Server
Create a connection to MindsDB server.static Server
Create a connection to MindsDB server.static Server
Create a connection to MindsDB server.static Server
connect
(String url, String login, String password, String apiKey, boolean isManaged, Map<String, String> headers) Create a connection to MindsDB server.
-
Constructor Details
-
MindsDB
public MindsDB()
-
-
Method Details
-
connect
public static Server connect(String url, String login, String password, String apiKey, boolean isManaged, Map<String, String> headers) Create a connection to MindsDB server.- Parameters:
url
- URL to MindsDB server.login
- User login, for cloud version it contains email.password
- User password to login (for cloud version).apiKey
- API key to authenticate (for cloud version).isManaged
- Whether or not the URL points to a managed instance.headers
- Additional headers to send with the connection, optional.- Returns:
- Server object.
-
connect
Create a connection to MindsDB server.- Returns:
- Server object.
-
connect
Create a connection to MindsDB server.- Parameters:
url
- URL to MindsDB server.- Returns:
- Server object.
-
connect
Create a connection to MindsDB server.- Parameters:
url
- URL to MindsDB server.login
- User login, for cloud version it contains email.password
- User password to login (for cloud version).- Returns:
- Server object.
-
connect
Create a connection to MindsDB server.- Parameters:
url
- URL to MindsDB server.login
- User login, for cloud version it contains email.password
- User password to login (for cloud version).apiKey
- API key to authenticate (for cloud version).- Returns:
- Server object.
-