public class DBDataStax extends Object
| Constructor and Description |
|---|
DBDataStax(org.gcube.application.framework.harvesting.common.dbXMLObjects.DBSource dbSource,
String propsXML,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
Element |
formSubElement(XMLStreamWriter writer,
String tableName,
HashMap<String,String> keysVals,
String hostname)
Recursive function to provide the tree structure values
|
String |
getRootTableName() |
org.gcube.application.framework.harvesting.common.dbXMLObjects.DBProps |
getSourceProps() |
void |
intitateRootTable() |
void |
writeSourceData(javax.servlet.http.HttpServletResponse response,
String hostname) |
public org.gcube.application.framework.harvesting.common.dbXMLObjects.DBProps getSourceProps()
public String getRootTableName()
public void intitateRootTable()
public void writeSourceData(javax.servlet.http.HttpServletResponse response,
String hostname)
throws XMLStreamException,
IOException,
org.gcube.application.framework.harvesting.common.db.exceptions.DBConnectionException
XMLStreamExceptionIOExceptionorg.gcube.application.framework.harvesting.common.db.exceptions.DBConnectionExceptionpublic Element formSubElement(XMLStreamWriter writer, String tableName, HashMap<String,String> keysVals, String hostname) throws SQLException, XMLStreamException, TransformerException
Copyright © 2014. All Rights Reserved.