Class FeatureQuerySpecifications
java.lang.Object
org.n52.sensorweb.server.db.query.QuerySpecifications
org.n52.sensorweb.server.db.query.ParameterQuerySpecifications
org.n52.sensorweb.server.db.query.FeatureQuerySpecifications
-
Field Summary
Fields inherited from class org.n52.sensorweb.server.db.query.QuerySpecifications
dbQuery, entityManager -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.AbstractFeatureEntity>static FeatureQuerySpecificationsorg.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.AbstractFeatureEntity>selectFrom(org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.DatasetEntity> filter) Matches procedures included in a result of a given filter, i.e.org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.AbstractFeatureEntity>selectFrom(org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.DatasetEntity> filter, String id) Matches procedures included in a result of a given filter, i.e.Methods inherited from class org.n52.sensorweb.server.db.query.ParameterQuerySpecifications
matchLikeidentifier, matchLikeName, matchLikeProperty, matchServices, matchServices, matchServices, matchServices, matchsLikeMethods inherited from class org.n52.sensorweb.server.db.query.QuerySpecifications
getIdPredicate, getTimespanEnd, getTimespanStart
-
Method Details
-
of
public static FeatureQuerySpecifications of(DbQuery dbQuery, javax.persistence.EntityManager entityManager) -
selectFrom
public org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.AbstractFeatureEntity> selectFrom(org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.DatasetEntity> filter, String id) Matches procedures included in a result of a given filter, i.e.where id in (select fk_procedure_id from dataset where <filter>)
- Parameters:
filter- the queryid- the feature id- Returns:
- a boolean expression
-
selectFrom
public org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.AbstractFeatureEntity> selectFrom(org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.DatasetEntity> filter) Matches procedures included in a result of a given filter, i.e.where id in (select fk_procedure_id from dataset where <filter>)
- Parameters:
filter- the query- Returns:
- a boolean expression
-
matchesSpatially
public org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.AbstractFeatureEntity> matchesSpatially()
-