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