public class PostgreSQLServerExplorer extends JDBCServerExplorer
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
helper
MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER
Constructor and Description |
---|
PostgreSQLServerExplorer(PostgreSQLServerExplorerParameters parameters,
DataServerExplorerProviderServices services) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdd()
Indicates whether this DataServerExplorer can create a new DataStore in the
server.
|
protected void |
checkIsMine(DataStoreParameters dsp) |
protected JDBCHelper |
createHelper() |
protected JDBCStoreParameters |
createStoreParams() |
NewDataStoreParameters |
getAddParameters()
Return a instance of
NewDataStoreParameters to fill |
List |
getDataStoreProviderNames()
Return the list of provider names that this server allow.
|
DataStoreParameters |
getOpenParameters() |
protected PostgreSQLHelper |
getPgHelper() |
String |
getProviderName()
Get the user name
|
String |
getStoreName()
Return the name of
DataStoreProvider returned by this
ServerExplorer |
boolean |
hasGeometrySupport() |
void |
remove(DataStoreParameters dsp)
Removes a store from the server given its DataStoreParameters.
|
void |
updateTableStatistics(String tableName) |
add, close, closeDone, closeResourceRequested, compare, doDispose, get, getFeatureType, getHelper, getJDBCParameters, getManager, list, list, list, list, open, open, opendDone, resourceChanged
canAdd, getAddParameters
getParameters, getResourcePath, getServerExplorerProviderServices
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServerExplorerProviderServices
getParameters, getResourcePath
dispose
public static final String NAME
public PostgreSQLServerExplorer(PostgreSQLServerExplorerParameters parameters, DataServerExplorerProviderServices services) throws InitializeException
InitializeException
protected JDBCHelper createHelper() throws InitializeException
createHelper
in class JDBCServerExplorer
InitializeException
public String getStoreName()
AbstractDBServerExplorer
DataStoreProvider
returned by this
ServerExplorergetStoreName
in class JDBCServerExplorer
public String getProviderName()
JDBCHelperUser
getProviderName
in interface DataServerExplorer
getProviderName
in interface JDBCHelperUser
getProviderName
in class JDBCServerExplorer
protected JDBCStoreParameters createStoreParams() throws InitializeException, ProviderNotRegisteredException
createStoreParams
in class JDBCServerExplorer
InitializeException
ProviderNotRegisteredException
public boolean canAdd()
DataServerExplorer
canAdd
in interface DataServerExplorer
canAdd
in class JDBCServerExplorer
public DataStoreParameters getOpenParameters() throws DataException
getOpenParameters
in class JDBCServerExplorer
DataException
protected void checkIsMine(DataStoreParameters dsp)
checkIsMine
in class JDBCServerExplorer
public void remove(DataStoreParameters dsp) throws RemoveException
DataServerExplorer
remove
in interface DataServerExplorer
remove
in class JDBCServerExplorer
RemoveException
public NewDataStoreParameters getAddParameters() throws DataException
DBServerExplorer
NewDataStoreParameters
to fillgetAddParameters
in interface DBServerExplorer
getAddParameters
in class JDBCServerExplorer
DataException
public boolean hasGeometrySupport()
hasGeometrySupport
in class JDBCServerExplorer
protected PostgreSQLHelper getPgHelper()
public List getDataStoreProviderNames()
DataServerExplorer
getDataStoreProviderNames
in interface DataServerExplorer
getDataStoreProviderNames
in class JDBCServerExplorer
public void updateTableStatistics(String tableName) throws JDBCExecuteSQLException
updateTableStatistics
in class JDBCServerExplorer
JDBCExecuteSQLException