public class QueryHelper extends Object
Modifier | Constructor and Description |
---|---|
private |
QueryHelper() |
Modifier and Type | Method and Description |
---|---|
private static Collection<TemporalFilter> |
getDefautlTimeInstantFilters(TimeInstant validTime)
Get default filters for valid TimeInstant
|
static Set<String> |
getFeatureIdentifier(SpatialFilter spatialFilter,
List<String> featureIdentifier,
org.hibernate.Session session) |
static Set<String> |
getFeatures(SpatialFeatureQueryRequest request,
org.hibernate.Session session) |
private static Collection<TemporalFilter> |
getFiltersForTimeInstant(TimeInstant validTime)
Get temporal filters for validTime TimeInstant
|
private static Collection<TemporalFilter> |
getFiltersForTimePeriod(Time validTime)
Get temporal filters for validTime TimePeriod
|
static org.hibernate.criterion.Criterion |
getValidTimeCriterion(Time validTime)
Get Criterion for DescribeSensor validTime parameter.
|
public static Set<String> getFeatures(SpatialFeatureQueryRequest request, org.hibernate.Session session) throws OwsExceptionReport
OwsExceptionReport
public static Set<String> getFeatureIdentifier(SpatialFilter spatialFilter, List<String> featureIdentifier, org.hibernate.Session session) throws OwsExceptionReport
OwsExceptionReport
public static org.hibernate.criterion.Criterion getValidTimeCriterion(Time validTime) throws UnsupportedTimeException, UnsupportedValueReferenceException, UnsupportedOperatorException
validTime
- ValidTime parameter valueUnsupportedTimeException
- If the time value is invalidUnsupportedValueReferenceException
- If the valueReference is not supportedUnsupportedOperatorException
- If the temporal operator is not supportedprivate static Collection<TemporalFilter> getFiltersForTimeInstant(TimeInstant validTime)
validTime
- TimeInstantprivate static Collection<TemporalFilter> getDefautlTimeInstantFilters(TimeInstant validTime)
validTime
- TimeInstantprivate static Collection<TemporalFilter> getFiltersForTimePeriod(Time validTime)
validTime
- TimePeriodCopyright © 2012-2015 52north.org. All Rights Reserved.