public abstract class ProfileDataRepository<P extends org.n52.series.db.beans.DatasetEntity,V,T> extends AbstractDataRepository<P,org.n52.series.db.beans.ProfileDataEntity,org.n52.io.response.dataset.profile.ProfileValue<V>,java.util.Set<org.n52.series.db.beans.DataEntity<?>>>
dbQueryFactory, serviceEntity| Constructor and Description |
|---|
ProfileDataRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected org.n52.io.response.dataset.Data<org.n52.io.response.dataset.profile.ProfileValue<V>> |
assembleData(java.lang.Long dataset,
DbQuery query,
org.hibernate.Session session) |
protected <E extends org.n52.series.db.beans.DataEntity<V>> |
assembleDataItem(E dataEntity,
org.n52.io.response.dataset.profile.ProfileValue<T> profile,
org.n52.series.db.beans.ProfileDataEntity observation,
DbQuery query) |
protected <E extends org.n52.series.db.beans.DataEntity<T>> |
assembleDataItem(E dataEntity,
org.n52.io.response.dataset.profile.ProfileValue<T> profile,
java.util.Set<java.util.Map<java.lang.String,java.lang.Object>> parameters,
org.n52.series.db.beans.DatasetEntity dataset,
DbQuery query) |
org.n52.io.response.dataset.profile.ProfileValue<V> |
assembleDataValue(org.n52.series.db.beans.ProfileDataEntity observation,
P dataset,
DbQuery query)
Assembles an output for a data entity for a given query.
|
protected org.n52.io.response.dataset.profile.ProfileValue<V> |
createEmptyValue() |
protected org.n52.io.response.dataset.profile.ProfileValue<V> |
createProfileValue(org.n52.series.db.beans.ProfileDataEntity observation,
DbQuery query) |
protected abstract org.n52.io.response.dataset.profile.ProfileValue<V> |
createValue(org.n52.series.db.beans.ProfileDataEntity observation,
org.n52.series.db.beans.DatasetEntity dataset,
DbQuery query) |
protected boolean |
isVertical(java.util.Map<java.lang.String,java.lang.Object> parameterObject,
java.lang.String verticalName) |
protected org.n52.series.db.beans.ProfileDataEntity |
unproxy(org.n52.series.db.beans.DataEntity<?> dataEntity,
org.hibernate.Session session) |
addGeometry, addMetadatasIfNeeded, addParameters, addResultTime, addValidTime, assembleData, assembleDataValueWithMetadata, assembleExpandedData, assembleExpandedData, createDataDao, format, format, getClosestValueAfterEnd, getClosestValueAfterEnd, getClosestValueBeforeStart, getClosestValueBeforeStart, getData, getFirstValue, getLastKnownGeometry, getLastValue, getSeriesDao, hasSingleValidReferenceValue, hasValidEntriesWithinRequestedTimespan, prepareValuecreateCondensed, createDatasetParameters, createGeometry, createTimeOutput, createTimeOutput, createTimeseriesList, createTimeseriesOutput, getCondensedCategory, getCondensedExtendedCategory, getCondensedExtendedFeature, getCondensedExtendedOffering, getCondensedExtendedPhenomenon, getCondensedExtendedProcedure, getCondensedExtendedService, getCondensedFeature, getCondensedOffering, getCondensedPhenomenon, getCondensedPlatform, getCondensedProcedure, getCondensedService, getCrsUtils, getDbQuery, getDbQueryFactory, getGeometry, getOriginTimeZone, getServiceEntity, getServiceEntity, getSession, getSessionStore, parseId, returnSession, setDbQueryFactory, setServiceEntity, setSessionStoreclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReferenceValuesprotected org.n52.series.db.beans.ProfileDataEntity unproxy(org.n52.series.db.beans.DataEntity<?> dataEntity,
org.hibernate.Session session)
unproxy in class AbstractDataRepository<P extends org.n52.series.db.beans.DatasetEntity,org.n52.series.db.beans.ProfileDataEntity,org.n52.io.response.dataset.profile.ProfileValue<V>,java.util.Set<org.n52.series.db.beans.DataEntity<?>>>protected org.n52.io.response.dataset.profile.ProfileValue<V> createEmptyValue()
createEmptyValue in class AbstractDataRepository<P extends org.n52.series.db.beans.DatasetEntity,org.n52.series.db.beans.ProfileDataEntity,org.n52.io.response.dataset.profile.ProfileValue<V>,java.util.Set<org.n52.series.db.beans.DataEntity<?>>>protected boolean isVertical(java.util.Map<java.lang.String,java.lang.Object> parameterObject,
java.lang.String verticalName)
protected org.n52.io.response.dataset.Data<org.n52.io.response.dataset.profile.ProfileValue<V>> assembleData(java.lang.Long dataset, DbQuery query, org.hibernate.Session session) throws DataAccessException
assembleData in class AbstractDataRepository<P extends org.n52.series.db.beans.DatasetEntity,org.n52.series.db.beans.ProfileDataEntity,org.n52.io.response.dataset.profile.ProfileValue<V>,java.util.Set<org.n52.series.db.beans.DataEntity<?>>>DataAccessExceptionpublic org.n52.io.response.dataset.profile.ProfileValue<V> assembleDataValue(org.n52.series.db.beans.ProfileDataEntity observation, P dataset, DbQuery query)
DataRepositoryobservation - the single data entity to assembledataset - the dataset the data entity belongs toquery - the queryprotected org.n52.io.response.dataset.profile.ProfileValue<V> createProfileValue(org.n52.series.db.beans.ProfileDataEntity observation, DbQuery query)
protected abstract org.n52.io.response.dataset.profile.ProfileValue<V> createValue(org.n52.series.db.beans.ProfileDataEntity observation, org.n52.series.db.beans.DatasetEntity dataset, DbQuery query)
protected <E extends org.n52.series.db.beans.DataEntity<V>> org.n52.io.response.dataset.profile.ProfileDataItem<V> assembleDataItem(E dataEntity, org.n52.io.response.dataset.profile.ProfileValue<T> profile, org.n52.series.db.beans.ProfileDataEntity observation, DbQuery query)
protected <E extends org.n52.series.db.beans.DataEntity<T>> org.n52.io.response.dataset.profile.ProfileDataItem<T> assembleDataItem(E dataEntity, org.n52.io.response.dataset.profile.ProfileValue<T> profile, java.util.Set<java.util.Map<java.lang.String,java.lang.Object>> parameters, org.n52.series.db.beans.DatasetEntity dataset, DbQuery query)
Copyright © 2015–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.