public class DBDataStax extends Object
| Constructor and Description |
|---|
DBDataStax(org.gcube.datatransformation.adaptors.common.db.xmlobjects.DBSource dbSource,
org.gcube.datatransformation.adaptors.common.db.xmlobjects.DBProps dbProps,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
Element |
formSubElement(XMLStreamWriter writer,
String tableName,
HashMap<String,String> keysVals,
String hostnameport)
Recursive function to provide the tree structure values
|
String |
getRootTableName() |
org.gcube.datatransformation.adaptors.common.db.xmlobjects.DBProps |
getSourceProps() |
javax.ws.rs.core.StreamingOutput |
writeSourceData(String hostnameport) |
public DBDataStax(org.gcube.datatransformation.adaptors.common.db.xmlobjects.DBSource dbSource,
org.gcube.datatransformation.adaptors.common.db.xmlobjects.DBProps dbProps,
String scope)
public org.gcube.datatransformation.adaptors.common.db.xmlobjects.DBProps getSourceProps()
public String getRootTableName()
public javax.ws.rs.core.StreamingOutput writeSourceData(String hostnameport) throws XMLStreamException, IOException, org.gcube.datatransformation.adaptors.common.db.exceptions.DBConnectionException
XMLStreamExceptionIOExceptionorg.gcube.datatransformation.adaptors.common.db.exceptions.DBConnectionExceptionpublic Element formSubElement(XMLStreamWriter writer, String tableName, HashMap<String,String> keysVals, String hostnameport) throws SQLException, XMLStreamException, TransformerException
Copyright © 2014. All Rights Reserved.