01: package com.vividsolutions.jump.datastore;
02:
03: import com.vividsolutions.jump.parameter.ParameterList;
04: import com.vividsolutions.jump.parameter.ParameterListSchema;
05: import com.vividsolutions.jump.workbench.datastore.ConnectionManager;
06:
07: /**
08: * A driver for a given type of datastore
09: */
10: public interface DataStoreDriver {
11: public static final Object REGISTRY_CLASSIFICATION = DataStoreDriver.class
12: .getName();
13:
14: String getName();
15:
16: ParameterListSchema getParameterListSchema();
17:
18: DataStoreConnection createConnection(ParameterList params)
19: throws Exception;
20:
21: /**
22: * @return a description of the driver
23: */
24: public String toString();
25:
26: boolean isAdHocQuerySupported();
27: }
|