Package org.n52.series.db.old.da.data
Class AbstractNumericalDataRepository<E extends org.n52.series.db.beans.DataEntity<T>,V extends org.n52.io.response.dataset.AbstractValue<?>,T>
java.lang.Object
org.n52.series.db.old.da.SessionAwareAssembler
org.n52.series.db.old.da.data.AbstractDataRepository<E,V,T>
org.n52.series.db.old.da.data.AbstractNumericalDataRepository<E,V,T>
- All Implemented Interfaces:
TimeOutputCreator,ValueAssembler<E,,V, T> DataRepository<E,,V, T> org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
CountDataRepository,QuantityDataRepository
public abstract class AbstractNumericalDataRepository<E extends org.n52.series.db.beans.DataEntity<T>,V extends org.n52.io.response.dataset.AbstractValue<?>,T>
extends AbstractDataRepository<E,V,T>
-
Field Summary
Fields inherited from class org.n52.series.db.old.da.SessionAwareAssembler
dbQueryFactory, mapperFactory, serviceEntityFactoryFields inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
OFFSET_REGEX -
Constructor Summary
ConstructorsConstructorDescriptionAbstractNumericalDataRepository(HibernateSessionStore sessionStore, DbQueryFactory dbQueryFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetAverage(org.n52.series.db.beans.DatasetEntity dataset, DbQuery query, org.hibernate.Session session) Methods inherited from class org.n52.series.db.old.da.data.AbstractDataRepository
addGeometry, addMetadatasIfNeeded, addParameters, addResultTime, addValidTime, assembleData, assembleData, assembleDataValueWithMetadata, assembleExpandedData, assembleExpandedData, createDataDao, createEmptyValue, format, format, getClosestValueAfterEnd, getClosestValueAfterEnd, getClosestValueBeforeStart, getClosestValueBeforeStart, getConnectors, getCount, getData, getDetectionLimit, getFirstValue, getLastValue, hasSingleValidReferenceValue, hasValidEntriesWithinRequestedTimespan, prepareValue, unproxyMethods inherited from class org.n52.series.db.old.da.SessionAwareAssembler
afterPropertiesSet, createCondensed, createDatasetParameters, createGeometry, createTimeOutput, createTimeOutput, getCondensedCategory, getCondensedFeature, getCondensedOffering, getCondensedPhenomenon, getCondensedPlatform, getCondensedProcedure, getCondensedService, getCondensedTag, getCondensedTags, getCrsUtils, getDbQuery, getGeometry, getMapperFactory, getOriginTimeZone, getServiceEntity, getServiceEntity, getSession, getSessionStore, parseId, returnSessionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.series.db.old.da.data.DataRepository
setServiceEntityMethods inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
createTimeOutputMethods inherited from interface org.n52.sensorweb.server.db.ValueAssembler
assembleDataValue, getConnector, getReferenceValues, hasConnector
-
Constructor Details
-
AbstractNumericalDataRepository
public AbstractNumericalDataRepository(HibernateSessionStore sessionStore, DbQueryFactory dbQueryFactory)
-
-
Method Details
-
getMax
-
getMin
-
getAverage
public BigDecimal getAverage(org.n52.series.db.beans.DatasetEntity dataset, DbQuery query, org.hibernate.Session session)
-