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