com.vividsolutions.jump.workbench.ui.plugin.datastore
Class DataStoreDataSource
java.lang.Object
com.vividsolutions.jump.io.datasource.DataSource
com.vividsolutions.jump.workbench.ui.plugin.datastore.DataStoreDataSource
- All Implemented Interfaces:
- WorkbenchContextReference
public class DataStoreDataSource
- extends DataSource
- implements WorkbenchContextReference
Adapts the DataStore API to the DataSource API.
| 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
GEOMETRY_ATTRIBUTE_NAME_KEY
public static final java.lang.String GEOMETRY_ATTRIBUTE_NAME_KEY
- See Also:
- Constant Field Values
WHERE_CLAUSE_KEY
public static final java.lang.String WHERE_CLAUSE_KEY
- See Also:
- Constant Field Values
CACHING_KEY
public static final java.lang.String CACHING_KEY
- See Also:
- Constant Field Values
CONNECTION_DESCRIPTOR_KEY
public static final java.lang.String CONNECTION_DESCRIPTOR_KEY
- See Also:
- Constant Field Values
DataStoreDataSource
public DataStoreDataSource()
DataStoreDataSource
public DataStoreDataSource(java.lang.String datasetName,
java.lang.String geometryAttributeName,
java.lang.String whereClause,
ConnectionDescriptor connectionDescriptor,
boolean caching,
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