com.vividsolutions.jump.workbench.ui.plugin.datastore
Class DataStoreQueryDataSource
java.lang.Object
com.vividsolutions.jump.io.datasource.DataSource
com.vividsolutions.jump.workbench.ui.plugin.datastore.DataStoreQueryDataSource
- All Implemented Interfaces:
- WorkbenchContextReference
public class DataStoreQueryDataSource
- extends DataSource
- implements WorkbenchContextReference
Implements the DataSource interface in order to persist a query issued
from RunDatastoreQueryPlugIn.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATASET_NAME_KEY
public static final java.lang.String DATASET_NAME_KEY
- See Also:
- Constant Field Values
SQL_QUERY_KEY
public static final java.lang.String SQL_QUERY_KEY
- See Also:
- Constant Field Values
CONNECTION_DESCRIPTOR_KEY
public static final java.lang.String CONNECTION_DESCRIPTOR_KEY
- See Also:
- Constant Field Values
DataStoreQueryDataSource
public DataStoreQueryDataSource()
DataStoreQueryDataSource
public DataStoreQueryDataSource(java.lang.String datasetName,
java.lang.String query,
ConnectionDescriptor connectionDescriptor,
WorkbenchContext context)
isWritable
public boolean isWritable()
- Overrides:
isWritable in class DataSource
getConnection
public Connection getConnection()
- Description copied from class:
DataSource
- Creates a new Connection to this DataSource.
- Specified by:
getConnection in class DataSource
setWorkbenchContext
public void setWorkbenchContext(WorkbenchContext context)
- Specified by:
setWorkbenchContext in interface WorkbenchContextReference