Class OfferingQuerySpecifications
- java.lang.Object
-
- org.n52.sensorweb.server.db.query.QuerySpecifications
-
- org.n52.sensorweb.server.db.query.ParameterQuerySpecifications
-
- org.n52.sensorweb.server.db.query.OfferingQuerySpecifications
-
public final class OfferingQuerySpecifications extends ParameterQuerySpecifications
-
-
Field Summary
-
Fields inherited from class org.n52.sensorweb.server.db.query.QuerySpecifications
dbQuery, entityManager
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OfferingQuerySpecificationsof(DbQuery dbQuery)org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.OfferingEntity>selectFrom(org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.DatasetEntity> filter)Matches offerings included in a result of a given filter, i.e.-
Methods inherited from class org.n52.sensorweb.server.db.query.ParameterQuerySpecifications
matchServices, matchServices, matchServices, matchServices, of
-
Methods inherited from class org.n52.sensorweb.server.db.query.QuerySpecifications
getIdPredicate, getTimespanEnd, getTimespanStart
-
-
-
-
Method Detail
-
of
public static OfferingQuerySpecifications of(DbQuery dbQuery)
-
selectFrom
public org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.OfferingEntity> selectFrom(org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.DatasetEntity> filter)
Matches offerings included in a result of a given filter, i.e.where id in (select fk_offering_id from dataset where <filter>)
- Parameters:
filter- the query- Returns:
- a boolean expression
-
-