public abstract class DataSource extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COORDINATE_SYSTEM_KEY
Coordinate-system property, used for files and other DataSources that
have a single CoordinateSystem
|
static String |
FILE_KEY
Filename property, used for file-based DataSources
|
| Constructor and Description |
|---|
DataSource() |
| Modifier and Type | Method and Description |
|---|---|
abstract Connection |
getConnection()
Creates a new Connection to this DataSource.
|
Map |
getProperties() |
FeatureCollection |
installCoordinateSystem(FeatureCollection queryResult,
CoordinateSystemRegistry registry) |
boolean |
isReadable() |
boolean |
isWritable() |
void |
setProperties(Map properties)
Sets properties required to open a DataSource, such as username, password,
filename, coordinate system, etc.
|
public static final String FILE_KEY
public static final String COORDINATE_SYSTEM_KEY
public void setProperties(Map properties)
public Map getProperties()
public abstract Connection getConnection()
public boolean isReadable()
public boolean isWritable()
public FeatureCollection installCoordinateSystem(FeatureCollection queryResult, CoordinateSystemRegistry registry)
Copyright © 2015. All rights reserved.