public class DataFESCriterionGenerator extends FESCriterionGenerator
| Constructor and Description |
|---|
DataFESCriterionGenerator(org.hibernate.Criteria criteria,
boolean unsupportedIsTrue,
boolean matchDomainIds,
boolean complexParent)
Creates a new
DataFESCriterionGenerator. |
| Modifier and Type | Method and Description |
|---|---|
protected org.hibernate.criterion.Criterion |
createDataCriterion(org.hibernate.criterion.Criterion criterion)
Create a
Criterion for a property of the associated data entity. |
protected org.hibernate.criterion.Criterion |
createDatasetCriterion(java.lang.String property,
org.n52.shetland.ogc.filter.ComparisonFilter filter)
Create a
Criterion for a property of the associated data set. |
protected org.hibernate.criterion.Criterion |
createDatasetCriterion(java.lang.String property,
org.n52.shetland.ogc.filter.SpatialFilter filter)
Create a
Criterion for a property of the associated data set. |
protected org.hibernate.criterion.Criterion |
createResultCriterion(org.n52.shetland.ogc.filter.ComparisonFilter filter)
Create a
Criterion for the specified result filter. |
addAlias, create, createComparison, createComparison, createSpatialFilterCriterion, getCriteria, getResultSubqueries, isComplexParent, isMatchDomainIds, isUnsupportedIsTrue, parseBigDecimal, parseBoolean, parseDouble, parseInt, parseLong, parseTime, unparsableTime, unsupported, unsupported, unsupportedpublic DataFESCriterionGenerator(org.hibernate.Criteria criteria,
boolean unsupportedIsTrue,
boolean matchDomainIds,
boolean complexParent)
DataFESCriterionGenerator.criteria - the criteriaunsupportedIsTrue - if the generator encounters a filter expression it could not translate it may generate a
criterion that is always true or always false depending on this flagmatchDomainIds - if filter on observation parameters like feature, offering or procedure should match on
their respective domain identifiers or on the primary keys in the databasecomplexParent - if the queries should result in the parent observation and hide the child observationsprotected org.hibernate.criterion.Criterion createResultCriterion(org.n52.shetland.ogc.filter.ComparisonFilter filter)
FESCriterionGeneratorCriterion for the specified result filter.createResultCriterion in class FESCriterionGeneratorfilter - the filterprotected org.hibernate.criterion.Criterion createDataCriterion(org.hibernate.criterion.Criterion criterion)
FESCriterionGeneratorCriterion for a property of the associated data entity.createDataCriterion in class FESCriterionGeneratorcriterion - the criterionprotected org.hibernate.criterion.Criterion createDatasetCriterion(java.lang.String property,
org.n52.shetland.ogc.filter.ComparisonFilter filter)
FESCriterionGeneratorCriterion for a property of the associated data set.createDatasetCriterion in class FESCriterionGeneratorproperty - the property of the data set to apply the filter tofilter - the comparison filterprotected org.hibernate.criterion.Criterion createDatasetCriterion(java.lang.String property,
org.n52.shetland.ogc.filter.SpatialFilter filter)
FESCriterionGeneratorCriterion for a property of the associated data set.createDatasetCriterion in class FESCriterionGeneratorproperty - the property of the data set to apply the filter tofilter - the spatial filterCopyright © 2015–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.