Class SimpleFeatureStore

Object
DataStore
SQLStore
SimpleFeatureStore
All Implemented Interfaces:
Auto­Closeable, Aggregate, Resource, Localized

public class SimpleFeatureStore extends SQLStore
A concrete data store capable to read and write features from/to a spatial SQL database. All resources created by this class are Feature­Sets. The data are specified by two main arguments given at construction time:
  • A Data­Source (specified indirectly) providing connections to the database. While not mandatory, a pooled data source is recommended because Simple­Feature­Store may open and close connections many times.
  • A list of tables, views or queries to view as Feature­Sets. This list is provided by Resource­Definition objects. Only the main tables need to be specified. Dependencies inferred by foreigner keys will be followed automatically.
Despite the Simple­Feature­Store class name, this class supports complex features, i.e. features having associations to other features. The associations are discovered automatically by following the foreigner keys.
Since:
1.5
See Also: