public interface JDBCServerExplorer extends ResourceConsumer, JDBCServerExplorer
MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER
Modifier and Type | Method and Description |
---|---|
boolean |
add(String providerName,
NewDataStoreParameters theParams,
boolean overwrite)
Creates a new DataStore in this server.
|
boolean |
canAdd()
Indicates whether this DataServerExplorer can create a new DataStore in the
server.
|
DataStoreParameters |
get(String name) |
JDBCNewStoreParameters |
getAddParameters() |
List |
getDataStoreProviderNames()
Return the list of provider names that this server allow.
|
FeatureType |
getFeatureType(DataStoreParameters theParams) |
JDBCStoreParameters |
getOpenParameters() |
JDBCServerExplorerParameters |
getParameters()
Returns this DataServerExplorer parameters
|
String |
getProviderName()
Returns the DataServerExplorer's name
|
String |
getStoreName() |
List<JDBCStoreParameters> |
list(int mode)
Provides a list of available stores in the server of a type.
|
DataStore |
open(DataStoreParameters params) |
void |
remove(DataStoreParameters theParams)
Removes a store from the server given its DataStoreParameters.
|
void |
updateTableStatistics(String database,
String schema,
String table) |
closeResourceRequested, resourceChanged
execute
createSQLBuilder
canAdd, getAddParameters, getResourcePath, list
dispose
JDBCServerExplorerParameters getParameters()
DataServerExplorer
getParameters
in interface DataServerExplorer
String getProviderName()
DataServerExplorer
getProviderName
in interface DataServerExplorer
getProviderName
in interface JDBCServerExplorer
String getStoreName()
getStoreName
in interface JDBCServerExplorer
boolean canAdd()
DataServerExplorer
canAdd
in interface DataServerExplorer
canAdd
in interface JDBCServerExplorer
boolean add(String providerName, NewDataStoreParameters theParams, boolean overwrite) throws DataException
DataServerExplorer
add
in interface DataServerExplorer
add
in interface JDBCServerExplorer
theParams
- , an instance of DataStoreParameters from
DataServerExplorer.getAddParameters(String)
that
describes the new DataStore.overwrite
- if the store already existsDataException
List<JDBCStoreParameters> list(int mode) throws DataException
DataServerExplorer
list
in interface DataServerExplorer
list
in interface JDBCServerExplorer
mode
- , filter store from a type: DataServerExplorer.MODE_ALL
,
DataServerExplorer.MODE_FEATURE
, #MODE_FEATURE_GEOMETRY
,
DataServerExplorer.MODE_RASTER
DataException
DataStore open(DataStoreParameters params) throws DataException
open
in interface JDBCServerExplorer
DataException
void remove(DataStoreParameters theParams) throws RemoveException
DataServerExplorer
remove
in interface DataServerExplorer
remove
in interface JDBCServerExplorer
RemoveException
void updateTableStatistics(String database, String schema, String table) throws JDBCExecuteSQLException
updateTableStatistics
in interface JDBCServerExplorer
JDBCExecuteSQLException
JDBCNewStoreParameters getAddParameters() throws DataException
getAddParameters
in interface JDBCServerExplorer
DataException
JDBCStoreParameters getOpenParameters() throws DataException
getOpenParameters
in interface JDBCServerExplorer
DataException
DataStoreParameters get(String name) throws DataException
get
in interface DataServerExplorer
get
in interface JDBCServerExplorer
DataException
List getDataStoreProviderNames()
DataServerExplorer
getDataStoreProviderNames
in interface DataServerExplorer
getDataStoreProviderNames
in interface JDBCServerExplorer
FeatureType getFeatureType(DataStoreParameters theParams) throws DataException
getFeatureType
in interface JDBCServerExplorer
DataException