|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.observation.persistence.SQLObservationDatastore org.deegree.observation.persistence.simple.SimpleObservationDatastore
public class SimpleObservationDatastore
Simple ObservationDatastore
that stores all measurements with time.
Field Summary | |
---|---|
protected String |
procColumn
the name of the database column that contains the procedure id |
protected String |
timeColumn
the name of the database column that contains the timestamp |
Fields inherited from class org.deegree.observation.persistence.SQLObservationDatastore |
---|
columnMap, jdbcId, optionMap, properties, tableName |
Constructor Summary | |
---|---|
SimpleObservationDatastore(String jdbcId,
String tableName,
Map<String,String> columnMap,
Map<String,String> optionMap,
List<Property> properties)
|
Method Summary | |
---|---|
protected SQLFilterConverter |
getFilterConverter()
|
Observation |
getObservation(FilterCollection filter,
Offering offering)
Get measurements from the datastore. |
protected Procedure |
getProcedure(ResultSet resultSet,
Offering offering)
|
protected List<Property> |
getPropertyMap(FilterCollection filter)
Create a map with all requested properties. |
SamplingTime |
getSamplingTime()
Get the time span (sampling time) of all observations in this datastore. |
protected PreparedStatement |
getStatement(FilterCollection filter,
Collection<String> collection,
Connection conn,
Offering offering)
Create the sql statement. |
Methods inherited from class org.deegree.observation.persistence.SQLObservationDatastore |
---|
getJdbcId, getProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final String procColumn
protected final String timeColumn
Constructor Detail |
---|
public SimpleObservationDatastore(String jdbcId, String tableName, Map<String,String> columnMap, Map<String,String> optionMap, List<Property> properties)
jdbcId
- tableName
- columnMap
- optionMap
- properties
- Method Detail |
---|
public Observation getObservation(FilterCollection filter, Offering offering) throws ObservationDatastoreException
ObservationDatastore
ObservationDatastoreException
protected Procedure getProcedure(ResultSet resultSet, Offering offering) throws SQLException
resultSet
-
SQLException
public SamplingTime getSamplingTime()
ObservationDatastore
protected SQLFilterConverter getFilterConverter()
protected PreparedStatement getStatement(FilterCollection filter, Collection<String> collection, Connection conn, Offering offering) throws FilterException, SQLException
filter
- collection
- conn
- offering
-
FilterException
SQLException
protected List<Property> getPropertyMap(FilterCollection filter) throws ObservationDatastoreException
filter
-
SOServiceException
ObservationDatastoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |