svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.jdbc / src / main / java / org / gvsig / fmap / dal / store / jdbc / JDBCServerExplorer.java @ 44297
History | View | Annotate | Download (1.53 KB)
1 |
package org.gvsig.fmap.dal.store.jdbc; |
---|---|
2 |
|
3 |
import java.util.List; |
4 |
import org.gvsig.fmap.dal.DataServerExplorer_v2; |
5 |
import org.gvsig.fmap.dal.DataStore; |
6 |
import org.gvsig.fmap.dal.DataStoreParameters; |
7 |
import org.gvsig.fmap.dal.NewDataStoreParameters; |
8 |
import org.gvsig.fmap.dal.exception.DataException; |
9 |
import org.gvsig.fmap.dal.exception.RemoveException; |
10 |
import org.gvsig.fmap.dal.feature.FeatureType; |
11 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCExecuteSQLException; |
12 |
|
13 |
public interface JDBCServerExplorer extends DataServerExplorer_v2 { |
14 |
|
15 |
@Override
|
16 |
boolean add(String providerName, NewDataStoreParameters ndsp, boolean overwrite) throws DataException; |
17 |
|
18 |
@Override
|
19 |
boolean canAdd();
|
20 |
|
21 |
@Override
|
22 |
JDBCStoreParameters get(String name) throws DataException; |
23 |
|
24 |
JDBCNewStoreParameters getAddParameters() throws DataException;
|
25 |
|
26 |
@Override
|
27 |
List<String> getDataStoreProviderNames(); |
28 |
|
29 |
FeatureType getFeatureType(DataStoreParameters dsp) throws DataException;
|
30 |
|
31 |
DataStoreParameters getOpenParameters() throws DataException;
|
32 |
|
33 |
@Override
|
34 |
String getProviderName();
|
35 |
|
36 |
String getStoreName();
|
37 |
|
38 |
@Override
|
39 |
List<DataStoreParameters> list(int mode) throws DataException; |
40 |
|
41 |
DataStore open(DataStoreParameters dsp) throws DataException;
|
42 |
|
43 |
@Override
|
44 |
void remove(DataStoreParameters dsp) throws RemoveException; |
45 |
|
46 |
void updateTableStatistics(String database, String schema, String table) throws JDBCExecuteSQLException; |
47 |
|
48 |
public void execute(String sql); |
49 |
|
50 |
} |
51 |
|