public abstract class AbstractDBServerExplorer extends AbstractDataServerExplorer implements DBServerExplorer, DataServerExplorerProvider
DBServerExplorer
implementationMODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER
Modifier | Constructor and Description |
---|---|
protected |
AbstractDBServerExplorer(DataServerExplorerParameters parameters,
DataServerExplorerProviderServices services) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdd(String storeName)
Indicates whether this DataServerExplorer can create a new DataStore in
the server, given the store name.
|
NewDataStoreParameters |
getAddParameters(String storeName)
Given the store's name, returns its parameters for creation.
|
abstract String |
getStoreName()
Return the name of
DataStoreProvider returned by this
ServerExplorer |
List |
list()
Provides a list of available stores in the server.
|
DataStore |
open(DataStoreParameters dsp)
Open a store defined by
dsp |
createSQLBuilder, doDispose, get, getParameters, getResourcePath, getServerExplorerProviderServices
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getAddParameters, getFeatureType, open
getServerExplorerProviderServices
add, canAdd, get, getDataStoreProviderNames, getParameters, getProviderName, getResourcePath, list, remove
dispose
protected AbstractDBServerExplorer(DataServerExplorerParameters parameters, DataServerExplorerProviderServices services)
public abstract String getStoreName()
DataStoreProvider
returned by this
ServerExplorerpublic boolean canAdd(String storeName) throws DataException
DataServerExplorer
canAdd
in interface DataServerExplorer
storeName
- store name.DataException
public NewDataStoreParameters getAddParameters(String storeName) throws DataException
DataServerExplorer
getAddParameters
in interface DataServerExplorer
DataException
public List list() throws DataException
DataServerExplorer
list
in interface DataServerExplorer
DataException
public DataStore open(DataStoreParameters dsp) throws DataException
DBServerExplorer
dsp
open
in interface DBServerExplorer
DataException