Package io.odysz.semantic.DA
Class DatasetCfg.Dataset
java.lang.Object
io.odysz.semantic.DA.DatasetCfg.Dataset
- Enclosing class:
- DatasetCfg
POJO dataset element as configured in dataset.xml.
(oracle mapping information also initialized according to mapping file and the "cols" tag.)
(oracle mapping information also initialized according to mapping file and the "cols" tag.)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Dataset
public Dataset(String k, String cols, String connId, String[] sqls, String stree) throws SAXException Create a dataset, with mapping prepared according with mapping file.- Parameters:
k
-cols
-connId
-sqls
-stree
-- Throws:
SAXException
-
-
Method Details
-
getSql
- Parameters:
driver
- drv_orcl, drv_ms2k, drv_sqlit, drv_mysql(default)- Returns:
- sql db version of the jdbc connection
- Throws:
SemanticException
- can't find correct sql version
-
sk
-