Class PhenomenonQuerySpecifications


public final class PhenomenonQuerySpecifications extends ParameterQuerySpecifications
  • Method Details

    • of

      public static PhenomenonQuerySpecifications of(DbQuery dbQuery)
    • selectFrom

      public org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.PhenomenonEntity> selectFrom(org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.DatasetEntity> filter)
      Matches phenomena included in a result of a given filter, i.e.
         where id in (select fk_phenomenon_id from dataset where <filter>)
       
      Parameters:
      filter - the query
      Returns:
      a boolean expression