public interface DataSourceXFactory
DataSourceX| Modifier and Type | Method and Description |
|---|---|
void |
closeDataSource(org.gcube.application.framework.core.session.ASLSession session,
DataSourceX dataSource)
Close the specified DataSource releasing allocated resources.
|
String |
getId()
The DataSourceFactory unique id.
|
DataSourceX |
openDataSource(org.gcube.application.framework.core.session.ASLSession session,
TableId id)
Open the specified datasource
DataSourceX. |
String getId()
DataSourceX openDataSource(org.gcube.application.framework.core.session.ASLSession session, TableId id) throws DataSourceXException
DataSourceX.id - the datasource id.DataSourceXException - if an error occurs retrieving the datasource.void closeDataSource(org.gcube.application.framework.core.session.ASLSession session,
DataSourceX dataSource)
throws DataSourceXException
session - dataSource - DataSourceXExceptionCopyright © 2016. All Rights Reserved.