public class ValueTimeDAO extends AbstractValueDAO
AbstractValueDAO
for old concept to query only time informationTimeCreator.MinMax
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
ValueTimeDAO() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Criteria |
getDefaultObservationCriteria(Class<?> clazz,
org.hibernate.Session session)
Get default
Criteria for Class |
ObservationValueTime |
getMaxValueFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.criterion.Criterion temporalFilterCriterion,
org.hibernate.Session session)
Query the maximum
ObservationValueTime for parameter |
ObservationValueTime |
getMaxValueFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.Session session)
Query the maximum
ObservationValueTime for parameter |
ObservationValueTime |
getMinValueFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.criterion.Criterion temporalFilterCriterion,
org.hibernate.Session session)
Query the minimum
ObservationValueTime for parameter |
ObservationValueTime |
getMinValueFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.Session session)
Query the minimum
ObservationValueTime for parameter |
private org.hibernate.Criteria |
getValueCriteriaFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.criterion.Criterion temporalFilterCriterion,
SosConstants.SosIndeterminateTime sosIndeterminateTime,
org.hibernate.Session session)
Create
Criteria for parameter |
addChunkValuesToCriteria, addIndeterminateTimeRestriction, checkAndAddSpatialFilteringProfileCriterion, getIndeterminateTimeExtremaProjection, getIndeterminateTimeFilterProperty
addMinMaxProjection, createTimePeriod
public ObservationValueTime getMinValueFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.criterion.Criterion temporalFilterCriterion, org.hibernate.Session session) throws OwsExceptionReport
ObservationValueTime
for parameterrequest
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idtemporalFilterCriterion
- Temporal filter Criterion
session
- Hibernate SessionObservationValueTime
OwsExceptionReport
- If an error occurs when executing the querypublic ObservationValueTime getMaxValueFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.criterion.Criterion temporalFilterCriterion, org.hibernate.Session session) throws OwsExceptionReport
ObservationValueTime
for parameterrequest
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idtemporalFilterCriterion
- Temporal filter Criterion
session
- Hibernate SessionObservationValueTime
OwsExceptionReport
- If an error occurs when executing the querypublic ObservationValueTime getMinValueFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.Session session) throws OwsExceptionReport
ObservationValueTime
for parameterrequest
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idsession
- Hibernate SessionObservationValueTime
OwsExceptionReport
- If an error occurs when executing the querypublic ObservationValueTime getMaxValueFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.Session session) throws OwsExceptionReport
ObservationValueTime
for parameterrequest
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idsession
- Hibernate SessionObservationValueTime
OwsExceptionReport
- If an error occurs when executing the queryprivate org.hibernate.Criteria getValueCriteriaFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.criterion.Criterion temporalFilterCriterion, SosConstants.SosIndeterminateTime sosIndeterminateTime, org.hibernate.Session session) throws OwsExceptionReport
Criteria
for parameterrequest
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idtemporalFilterCriterion
- Temporal filter Criterion
sosIndeterminateTime
- first/latest indicatorsession
- Hibernate SessionCriteria
OwsExceptionReport
- If an error occurs when adding Spatial Filtering Profile
restrictionsCopyright © 2012-2014 52north.org. All Rights Reserved.