typhon-project / typhonql

Typhon Query Language
Eclipse Public License 2.0
4 stars 1 forks source link

Mapping table with db connections #2

Closed nemo-js closed 5 years ago

nemo-js commented 5 years ago

Map<String, Object> dbConnections

Where the key of the map is database name as defined in DL/ML and the value is the actual connection object.

The connection classes for each DB type are the following:

Mariadb/sql: java.sql.Connection Mongodb: com.mongodb.MongoClient

Is this ok?

DavyLandman commented 5 years ago

for now we've done this in a different way, we consume the Polystore API. In the future, we get the ML and DL data in some form in java.