public interface JDBCServerExplorer extends DataServerExplorer_v2
FILESYSTEM_SERVER_EXPLORER_NAME, MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.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.
|
java.lang.Object |
execute(java.lang.String sql) |
JDBCStoreParameters |
get(java.lang.String name) |
JDBCNewStoreParameters |
getAddParameters() |
java.util.List<java.lang.String> |
getDataStoreProviderNames()
Return the list of provider names that this server allow.
|
FeatureType |
getFeatureType(DataStoreParameters dsp) |
DataStoreParameters |
getOpenParameters() |
java.lang.String |
getProviderName()
Returns the DataServerExplorer's name
|
java.lang.String |
getStoreName() |
java.util.List<DataStoreParameters> |
list(int mode)
Provides a list of available stores in the server of a type.
|
DataStore |
open(DataStoreParameters dsp)
Open a store defined by
dsp |
void |
remove(DataStoreParameters dsp)
Removes a store from the server given its DataStoreParameters.
|
void |
updateTableStatistics(java.lang.String database,
java.lang.String schema,
java.lang.String table) |
close, createSQLBuilder, opencanAdd, exists, getAddParameters, getParameters, getResourcePath, getResourcesStorage, getResourcesStorage, getResourcesStorage, listdisposegetProperties, getProperty, setPropertyboolean add(java.lang.String providerName,
NewDataStoreParameters ndsp,
boolean overwrite)
throws DataException
DataServerExploreradd in interface DataServerExplorerndsp - , an instance of DataStoreParameters from
DataServerExplorer.getAddParameters(String) that describes the
new DataStore.overwrite - if the store already existsDataExceptionboolean canAdd()
DataServerExplorercanAdd in interface DataServerExplorerJDBCStoreParameters get(java.lang.String name) throws DataException
get in interface DataServerExplorerDataExceptionJDBCNewStoreParameters getAddParameters() throws DataException
DataExceptionjava.util.List<java.lang.String> getDataStoreProviderNames()
DataServerExplorergetDataStoreProviderNames in interface DataServerExplorerFeatureType getFeatureType(DataStoreParameters dsp) throws DataException
DataExceptionDataStoreParameters getOpenParameters() throws DataException
DataExceptionjava.lang.String getProviderName()
DataServerExplorergetProviderName in interface DataServerExplorerjava.lang.String getStoreName()
java.util.List<DataStoreParameters> list(int mode) throws DataException
DataServerExplorerlist in interface DataServerExplorermode - , filter store from a type: DataServerExplorer.MODE_ALL,
DataServerExplorer.MODE_FEATURE, #MODE_FEATURE_GEOMETRY,
DataServerExplorer.MODE_RASTERDataExceptionDataStore open(DataStoreParameters dsp) throws DataException
DataServerExplorer_v2dspopen in interface DataServerExplorer_v2DataExceptionvoid remove(DataStoreParameters dsp) throws RemoveException
DataServerExplorerremove in interface DataServerExplorerRemoveExceptionvoid updateTableStatistics(java.lang.String database,
java.lang.String schema,
java.lang.String table)
throws JDBCException
JDBCExceptionjava.lang.Object execute(java.lang.String sql)