public class ValueDAO extends AbstractValueDAO
AbstractValueDAO
for old conceptTimeCreator.MinMax
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
ValueDAO() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Criteria |
getDefaultObservationCriteria(Class<?> clazz,
org.hibernate.Session session)
Get default
Criteria for Class |
List<AbstractValue> |
getStreamingValuesFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.criterion.Criterion temporalFilterCriterion,
int chunkSize,
int currentRow,
org.hibernate.Session session)
Query streaming value for parameter as chunk
List |
org.hibernate.ScrollableResults |
getStreamingValuesFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.criterion.Criterion temporalFilterCriterion,
org.hibernate.Session session)
Query streaming value for parameter as
ScrollableResults |
List<AbstractValue> |
getStreamingValuesFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
int chunkSize,
int currentRow,
org.hibernate.Session session)
Query streaming value for parameter as chunk
List |
org.hibernate.ScrollableResults |
getStreamingValuesFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.Session session)
Query streaming value for parameter as
ScrollableResults |
String |
getUnit(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.Session session)
Query unit for parameter
|
private org.hibernate.Criteria |
getValueCriteriaFor(GetObservationRequest request,
long procedure,
long observableProperty,
long featureOfInterest,
org.hibernate.criterion.Criterion temporalFilterCriterion,
org.hibernate.Session session)
Get
Criteria for parameter |
addChunkValuesToCriteria, addIndeterminateTimeRestriction, checkAndAddSpatialFilteringProfileCriterion, getIndeterminateTimeExtremaProjection, getIndeterminateTimeFilterProperty
addMinMaxProjection, createTimePeriod
public org.hibernate.ScrollableResults getStreamingValuesFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.criterion.Criterion temporalFilterCriterion, org.hibernate.Session session) throws org.hibernate.HibernateException, OwsExceptionReport
ScrollableResults
request
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idtemporalFilterCriterion
- Temporal filter Criterion
session
- Hibernate SessionScrollableResults
org.hibernate.HibernateException
- If an error occurs when querying the AbstractValue
sOwsExceptionReport
- If an error occurs when querying the AbstractValue
spublic org.hibernate.ScrollableResults getStreamingValuesFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.Session session) throws OwsExceptionReport
ScrollableResults
request
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idsession
- Hibernate SessionScrollableResults
OwsExceptionReport
- If an error occurs when querying the AbstractValue
spublic List<AbstractValue> getStreamingValuesFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.criterion.Criterion temporalFilterCriterion, int chunkSize, int currentRow, org.hibernate.Session session) throws OwsExceptionReport
List
request
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idtemporalFilterCriterion
- Temporal filter Criterion
chunkSize
- chunk sizecurrentRow
- Start rowsession
- Hibernate SessionList
OwsExceptionReport
- If an error occurs when querying the AbstractValue
spublic List<AbstractValue> getStreamingValuesFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, int chunkSize, int currentRow, org.hibernate.Session session) throws OwsExceptionReport
List
request
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idchunkSize
- Chunk sizecurrentRow
- Start rowsession
- Hibernate SessionList
OwsExceptionReport
- If an error occurs when querying the AbstractValue
sprivate org.hibernate.Criteria getValueCriteriaFor(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.criterion.Criterion temporalFilterCriterion, org.hibernate.Session session) throws OwsExceptionReport
Criteria
for parameterrequest
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idtemporalFilterCriterion
- Temporal filter Criterion
session
- Hibernate SessionCriteria
OwsExceptionReport
- If an error occurs when adding Spatial Filtering Profile
restrictionspublic org.hibernate.Criteria getDefaultObservationCriteria(Class<?> clazz, org.hibernate.Session session)
Criteria
for Class
clazz
- Class
to get default Criteria
forsession
- Hibernate SessionCriteria
public String getUnit(GetObservationRequest request, long procedure, long observableProperty, long featureOfInterest, org.hibernate.Session session) throws OwsExceptionReport
request
- GetObservationRequest
procedure
- Datasource procedure idobservableProperty
- Datasource procedure idfeatureOfInterest
- Datasource procedure idsession
- Hibernate SessionOwsExceptionReport
- If an error occurs when querying the unitCopyright © 2012-2014 52north.org. All Rights Reserved.