org.deegree.observation.persistence.continuous
Class ContinuousObservationDatastore
java.lang.Object
org.deegree.observation.persistence.SQLObservationDatastore
org.deegree.observation.persistence.simple.SimpleObservationDatastore
org.deegree.observation.persistence.continuous.ContinuousObservationDatastore
- All Implemented Interfaces:
- ObservationDatastore
public class ContinuousObservationDatastore
- extends SimpleObservationDatastore
ObservationDatastore
for measurements that are stored in a fixed interval. At the moment it only supports
single procedures.
- Version:
- $Revision: 26739 $, $Date: 2010-09-14 16:30:04 +0200 (Tue, 14 Sep 2010) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: aionita $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContinuousObservationDatastore
public ContinuousObservationDatastore(String jdbcId,
String tableName,
Map<String,String> columnMap,
Map<String,String> optionMap,
List<Property> properties)
throws ObservationDatastoreException
- Parameters:
dsConfig
- the datastore configuration
- Throws:
SOSConfigurationException
- if the DatastoreConfiguration
contains no beginDate or interval.
ObservationDatastoreException
getObservation
public Observation getObservation(FilterCollection filter,
Offering offering)
throws ObservationDatastoreException
- Description copied from interface:
ObservationDatastore
- Get measurements from the datastore.
- Specified by:
getObservation
in interface ObservationDatastore
- Overrides:
getObservation
in class SimpleObservationDatastore
- Returns:
- the resulting measurements
- Throws:
ObservationDatastoreException
getSamplingTime
public SamplingTime getSamplingTime()
- Description copied from interface:
ObservationDatastore
- Get the time span (sampling time) of all observations in this datastore.
- Specified by:
getSamplingTime
in interface ObservationDatastore
- Overrides:
getSamplingTime
in class SimpleObservationDatastore
- Returns:
- the sampling time of the datastore
getFilterConverter
protected SQLFilterConverter getFilterConverter()
- Overrides:
getFilterConverter
in class SimpleObservationDatastore
- Returns:
- the sql filter converter
Copyright © 2011. All Rights Reserved.