| |
|
| java.lang.Object org.geotools.data.AbstractDataStoreFactory org.geotools.data.postgis.VersionedPostgisDataStoreFactory
VersionedPostgisDataStoreFactory | public class VersionedPostgisDataStoreFactory extends AbstractDataStoreFactory (Code) | | Builds instances of the versioned Postgis datastore
author: aaime since: 2.4 |
DATABASE | final public static Param DATABASE(Code) | | |
DBTYPE | final public static Param DBTYPE(Code) | | |
HOST | final public static Param HOST(Code) | | |
LOGGER | final protected static Logger LOGGER(Code) | | The logger for the postgis module.
|
LOOSEBBOX | final public static Param LOOSEBBOX(Code) | | |
NAMESPACE | final public static Param NAMESPACE(Code) | | |
PASSWD | final public static Param PASSWD(Code) | | |
PORT | final public static Param PORT(Code) | | |
SCHEMA | final public static Param SCHEMA(Code) | | |
USER | final public static Param USER(Code) | | |
VERSIONALL | final public static Param VERSIONALL(Code) | | |
WKBENABLED | final public static Param WKBENABLED(Code) | | |
arrayParameters | final static Param[] arrayParameters(Code) | | Array with all of the params
|
VersionedPostgisDataStoreFactory | public VersionedPostgisDataStoreFactory()(Code) | | Creates a new instance of PostgisDataStoreFactory
|
canProcess | public boolean canProcess(Map params)(Code) | | |
createDataStore | public DataStore createDataStore(Map params) throws IOException(Code) | | Construct a postgis data store using the params.
Parameters: params - The full set of information needed to construct a live datasource. Should have dbtype equal to postgis, as well as host,user, passwd, database, and table. The created DataSource, this may be null if the required resourcewas not found or if insufficent parameters were given. Note thatcanProcess() should have returned false if the problem is to dowith insuficent parameters. throws: IOException - See DataSourceException throws: DataSourceException - Thrown if there were any problems creating or connecting thedatasource. |
getDescription | public String getDescription()(Code) | | Describe the nature of the datasource constructed by this factory.
A human readable description that is suitable for inclusion in alist of available datasources. |
isAvailable | public boolean isAvailable()(Code) | | Determines if the appropriate libraries are present for this datastore
factory to successfully produce postgis datastores.
true if the postgresql jar is on the classpath. |
|
|
|