Class ParameterOutputSearchResultMapper<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>

    • Constructor Detail

      • ParameterOutputSearchResultMapper

        public ParameterOutputSearchResultMapper​(DbQuery query,
                                                 OutputMapperFactory outputMapperFactory,
                                                 boolean subMapper)
    • Method Detail

      • initSubMapper

        protected void initSubMapper​(DbQuery query)
      • initSubSelect

        protected void initSubSelect​(DbQuery query,
                                     String... subs)
      • createCondensed

        public O createCondensed​(E entity,
                                 O output)
        Specified by:
        createCondensed in interface OutputMapper<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>
      • createCondensed

        protected List<O> createCondensed​(Collection<E> entities)
      • addExpandedValues

        public O addExpandedValues​(E entity,
                                   O output)
        Specified by:
        addExpandedValues in interface OutputMapper<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>
      • createSearchResult

        public <R extends org.n52.series.spi.search.SearchResult> R createSearchResult​(E entity,
                                                                                       R result)
      • addService

        protected O addService​(E entity,
                               O output)
      • createGeometry

        public org.locationtech.jts.geom.Geometry createGeometry​(org.n52.series.db.beans.AbstractFeatureEntity<?> featureEntity)
      • getGeometry

        public org.locationtech.jts.geom.Geometry getGeometry​(org.n52.series.db.beans.GeometryEntity geometryEntity)
      • getDbQuery

        protected DbQuery getDbQuery()
      • createCondensedMinimal

        protected <V extends org.n52.io.response.ParameterOutput> V createCondensedMinimal​(V result,
                                                                                           org.n52.series.db.beans.DescribableEntity entity,
                                                                                           DbQuery query)
      • getDatasetOutput

        protected org.n52.io.response.dataset.DatasetOutput<org.n52.io.response.dataset.AbstractValue<?>> getDatasetOutput​(org.n52.series.db.beans.DatasetEntity datasetEntity,
                                                                                                                           DbQuery query)
      • getFeatureOutput

        protected org.n52.io.response.FeatureOutput getFeatureOutput​(org.n52.series.db.beans.AbstractFeatureEntity<?> entity)
      • getOfferingOutput

        protected org.n52.io.response.OfferingOutput getOfferingOutput​(org.n52.series.db.beans.OfferingEntity entity)
      • getPhenomenonOutput

        protected org.n52.io.response.PhenomenonOutput getPhenomenonOutput​(org.n52.series.db.beans.PhenomenonEntity entity)
      • getCategoryOutput

        protected org.n52.io.response.CategoryOutput getCategoryOutput​(org.n52.series.db.beans.CategoryEntity entity)
      • getProcedureOutput

        protected org.n52.io.response.ProcedureOutput getProcedureOutput​(org.n52.series.db.beans.ProcedureEntity entity)
      • getPlatformOutput

        protected org.n52.io.response.PlatformOutput getPlatformOutput​(org.n52.series.db.beans.PlatformEntity entity)
      • getServiceOutput

        protected org.n52.io.response.ServiceOutput getServiceOutput​(org.n52.series.db.beans.ServiceEntity entity)
      • getTagOutput

        protected org.n52.io.response.TagOutput getTagOutput​(org.n52.series.db.beans.TagEntity entity,
                                                             DbQuery query)
      • getSamplingOutput

        protected org.n52.io.response.sampling.SamplingOutput getSamplingOutput​(org.n52.series.db.beans.sampling.SamplingEntity entity,
                                                                                DbQuery query)
      • createTimeseriesOutput

        protected org.n52.io.response.dataset.DatasetParameters createTimeseriesOutput​(org.n52.series.db.beans.DatasetEntity dataset,
                                                                                       DbQuery parameters)
      • getLogger

        public org.slf4j.Logger getLogger()
        Specified by:
        getLogger in interface OutputMapper<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>
      • getHrefBase

        public String getHrefBase()
        Specified by:
        getHrefBase in interface OutputMapper<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>
      • hasSelect

        public boolean hasSelect()
        Specified by:
        hasSelect in interface OutputMapper<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>
      • getSelection

        public Set<String> getSelection()
        Specified by:
        getSelection in interface OutputMapper<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>