public interface JDBCServerExplorer extends ResourceConsumer, JDBCServerExplorer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
QUERY_DONT_ADD_PRIMARY_KEY_IN_THE_ORDER |
static int |
SHOW_TABLES |
static int |
SHOW_TABLES_AND_VIEWS |
static int |
SHOW_VIEWS |
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 theParams,
boolean overwrite)
Creates a new DataStore in this server.
|
boolean |
canAdd()
Indicates whether this DataServerExplorer can create a new DataStore in
the server.
|
void |
dropCaches() |
boolean |
exists()
Check if the explorer defined by this parameters reference to a database.
|
JDBCStoreParameters |
get(java.lang.String name) |
JDBCNewStoreParameters |
getAddParameters() |
java.lang.String |
getConnectionProviderStatus() |
java.util.List |
getDataStoreProviderNames()
Return the list of provider names that this server allow.
|
FeatureType |
getFeatureType(DataStoreParameters theParams) |
JDBCStoreParameters |
getOpenParameters() |
JDBCServerExplorerParameters |
getParameters()
Returns this DataServerExplorer parameters
|
java.lang.String |
getProviderName()
Returns the DataServerExplorer's name
|
ResourcesStorage |
getResourcesStorage(java.lang.String name) |
java.lang.String |
getStoreName() |
java.util.List<DataStoreParameters> |
list(int mode)
Provides a list of available stores in the server of a type.
|
java.util.List<DataStoreParameters> |
list(int mode,
int tablesOrViews)
Provides a list of available stores in the server of a type.
|
DataStore |
open(DataStoreParameters params)
Open a store defined by
dsp |
DataStore |
open(java.lang.String tableName) |
void |
remove(DataStoreParameters theParams)
Removes a store from the server given its DataStoreParameters.
|
void |
setCustomResources(java.lang.String tableName,
java.lang.String resourcesTableName) |
void |
setCustomResources(java.lang.String tableName,
java.lang.String resourcesTableName,
boolean readonly) |
void |
updateTableStatistics(java.lang.String database,
java.lang.String schema,
java.lang.String table) |
closeResourceRequested, resourceChangedexecuteclose, createSQLBuilder, opencanAdd, exists, getAddParameters, getResourcePath, getResourcesStorage, getResourcesStorage, getResourcesStorage, listdisposegetProperties, getProperty, setPropertystatic final java.lang.String QUERY_DONT_ADD_PRIMARY_KEY_IN_THE_ORDER
static final int SHOW_TABLES_AND_VIEWS
static final int SHOW_TABLES
static final int SHOW_VIEWS
JDBCServerExplorerParameters getParameters()
DataServerExplorergetParameters in interface DataServerExplorerjava.lang.String getProviderName()
DataServerExplorergetProviderName in interface DataServerExplorergetProviderName in interface JDBCServerExplorerjava.lang.String getStoreName()
getStoreName in interface JDBCServerExplorerboolean canAdd()
DataServerExplorercanAdd in interface DataServerExplorercanAdd in interface JDBCServerExplorerboolean add(java.lang.String providerName,
NewDataStoreParameters theParams,
boolean overwrite)
throws DataException
DataServerExploreradd in interface DataServerExploreradd in interface JDBCServerExplorertheParams - , an instance of DataStoreParameters from
DataServerExplorer.getAddParameters(String) that describes the
new DataStore.overwrite - if the store already existsDataExceptionjava.util.List<DataStoreParameters> list(int mode) throws DataException
DataServerExplorerlist in interface DataServerExplorerlist in interface JDBCServerExplorermode - , filter store from a type: DataServerExplorer.MODE_ALL,
DataServerExplorer.MODE_FEATURE, #MODE_FEATURE_GEOMETRY,
DataServerExplorer.MODE_RASTERDataExceptionDataStore open(DataStoreParameters params) throws DataException
DataServerExplorer_v2dspopen in interface DataServerExplorer_v2open in interface JDBCServerExplorerDataExceptionDataStore open(java.lang.String tableName) throws DataException
DataExceptionvoid remove(DataStoreParameters theParams) throws RemoveException
DataServerExplorerremove in interface DataServerExplorerremove in interface JDBCServerExplorerRemoveExceptionvoid updateTableStatistics(java.lang.String database,
java.lang.String schema,
java.lang.String table)
throws JDBCException
updateTableStatistics in interface JDBCServerExplorerJDBCExceptionJDBCNewStoreParameters getAddParameters() throws DataException
getAddParameters in interface JDBCServerExplorerDataExceptionJDBCStoreParameters getOpenParameters() throws DataException
getOpenParameters in interface JDBCServerExplorerDataExceptionJDBCStoreParameters get(java.lang.String name) throws DataException
get in interface DataServerExplorerget in interface JDBCServerExplorerDataExceptionjava.util.List getDataStoreProviderNames()
DataServerExplorergetDataStoreProviderNames in interface DataServerExplorergetDataStoreProviderNames in interface JDBCServerExplorerFeatureType getFeatureType(DataStoreParameters theParams) throws DataException
getFeatureType in interface JDBCServerExplorerDataExceptionvoid setCustomResources(java.lang.String tableName,
java.lang.String resourcesTableName)
void setCustomResources(java.lang.String tableName,
java.lang.String resourcesTableName,
boolean readonly)
java.util.List<DataStoreParameters> list(int mode, int tablesOrViews) throws DataException
mode - , filter store from a type: DataServerExplorer.MODE_ALL,
DataServerExplorer.MODE_FEATURE, #MODE_FEATURE_GEOMETRY,
DataServerExplorer.MODE_RASTERtablesOrViews - , filter store between tables and views: SHOW_TABLES_AND_VIEWS,
SHOW_TABLES, SHOW_VIEWSDataExceptionboolean exists()
java.lang.String getConnectionProviderStatus()
ResourcesStorage getResourcesStorage(java.lang.String name)
void dropCaches()