public class SQLiteExplorer extends JDBCServerExplorerBase
helper
LOGGER
QUERY_DONT_ADD_PRIMARY_KEY_IN_THE_ORDER, SHOW_TABLES, SHOW_TABLES_AND_VIEWS, SHOW_VIEWS
FILESYSTEM_SERVER_EXPLORER_NAME, MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER
Constructor and Description |
---|
SQLiteExplorer(JDBCServerExplorerParameters parameters,
DataServerExplorerProviderServices services,
JDBCHelper helper) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.String providerName,
NewDataStoreParameters theParams,
boolean overwrite)
Creates a new DataStore in this server.
|
boolean |
exists()
Check if the explorer defined by this parameters reference to a database.
|
SQLiteHelper |
getHelper() |
protected ResourcesStorage |
getLocalResourcesStorage(DataStoreParameters parameters,
java.lang.String storeName) |
SQLiteExplorerParameters |
getParameters()
Returns this DataServerExplorer parameters
|
ResourcesStorage |
getResourcesStorage(DataStore dataStore) |
void |
remove(DataStoreParameters theParams)
Removes a store from the server given its DataStoreParameters.
|
buildKeyForCachedTables, canAdd, checkIsMine, close, closeResourceRequested, createSQLBuilder, doDispose, dropCaches, execute, exists, get, getAddParameters, getAddParameters, getConnectionProviderStatus, getDataStoreProviderNames, getFeatureType, getManager, getOpenParameters, getOperations, getProviderName, getResourcesStorage, getResourcesStorage, getResourcesStorage, getStoreName, getTransaction, list, list, open, open, open, resourceChanged, setCustomResources, setCustomResources, setTransaction, updateTableStatistics
canAdd, list
getProperties, getProperty, getResourcePath, getServerExplorerProviderServices, setProperty
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canAdd, getResourcePath, list
dispose
getProperties, getProperty, setProperty
getServerExplorerProviderServices
public SQLiteExplorer(JDBCServerExplorerParameters parameters, DataServerExplorerProviderServices services, JDBCHelper helper) throws InitializeException
InitializeException
public SQLiteExplorerParameters getParameters()
DataServerExplorer
getParameters
in interface DataServerExplorer
getParameters
in class JDBCServerExplorerBase
public ResourcesStorage getResourcesStorage(DataStore dataStore)
getResourcesStorage
in interface DataServerExplorer
getResourcesStorage
in class JDBCServerExplorerBase
public SQLiteHelper getHelper()
getHelper
in class JDBCServerExplorerBase
public boolean exists()
JDBCServerExplorer
exists
in class JDBCServerExplorerBase
public boolean add(java.lang.String providerName, NewDataStoreParameters theParams, boolean overwrite) throws DataException
DataServerExplorer
add
in interface DataServerExplorer
add
in interface JDBCServerExplorer
add
in class JDBCServerExplorerBase
theParams
- , an instance of DataStoreParameters from
DataServerExplorer.getAddParameters(String)
that describes the
new DataStore.overwrite
- if the store already existsDataException
public void remove(DataStoreParameters theParams) throws RemoveException
DataServerExplorer
remove
in interface DataServerExplorer
remove
in interface JDBCServerExplorer
remove
in class JDBCServerExplorerBase
RemoveException
protected ResourcesStorage getLocalResourcesStorage(DataStoreParameters parameters, java.lang.String storeName)
getLocalResourcesStorage
in class JDBCServerExplorerBase