Package org.n52.series.db.old.da.data
Class TextProfileDataRepository
java.lang.Object
org.n52.series.db.old.da.SessionAwareAssembler
org.n52.series.db.old.da.data.AbstractDataRepository<org.n52.series.db.beans.ProfileDataEntity,org.n52.io.response.dataset.profile.ProfileValue<V>,Set<org.n52.series.db.beans.DataEntity<?>>>
org.n52.series.db.old.da.data.ProfileDataRepository<String,String>
org.n52.series.db.old.da.data.TextProfileDataRepository
- All Implemented Interfaces:
TimeOutputCreator,ValueAssembler<org.n52.series.db.beans.ProfileDataEntity,,org.n52.io.response.dataset.profile.ProfileValue<String>, Set<org.n52.series.db.beans.DataEntity<?>>> DataRepository<org.n52.series.db.beans.ProfileDataEntity,,org.n52.io.response.dataset.profile.ProfileValue<String>, Set<org.n52.series.db.beans.DataEntity<?>>> org.springframework.beans.factory.InitializingBean
-
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
ConstructorsConstructorDescriptionTextProfileDataRepository(HibernateSessionStore sessionStore, DbQueryFactory dbQueryFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.n52.io.response.dataset.profile.ProfileValue<String>assembleDataValue(org.n52.series.db.beans.ProfileDataEntity observation, org.n52.series.db.beans.DatasetEntity dataset, DbQuery query) Assembles an output for a data entity for a given query.protected org.n52.io.response.dataset.profile.ProfileValue<String>createValue(org.n52.series.db.beans.ProfileDataEntity observation, org.n52.series.db.beans.DatasetEntity dataset, DbQuery query) Methods inherited from class org.n52.series.db.old.da.data.ProfileDataRepository
assembleData, assembleDataItem, assembleDataItem, createEmptyValue, createProfileValue, isVertical, unproxyMethods inherited from class org.n52.series.db.old.da.data.AbstractDataRepository
addGeometry, addMetadatasIfNeeded, addParameters, addResultTime, addValidTime, assembleData, assembleDataValueWithMetadata, assembleExpandedData, assembleExpandedData, createDataDao, format, format, getClosestValueAfterEnd, getClosestValueAfterEnd, getClosestValueBeforeStart, getClosestValueBeforeStart, getConnectors, getCount, getData, getDetectionLimit, getFirstValue, getLastValue, hasSingleValidReferenceValue, hasValidEntriesWithinRequestedTimespan, prepareValueMethods 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
getConnector, getReferenceValues, hasConnector
-
Constructor Details
-
TextProfileDataRepository
-
-
Method Details
-
assembleDataValue
public org.n52.io.response.dataset.profile.ProfileValue<String> assembleDataValue(org.n52.series.db.beans.ProfileDataEntity observation, org.n52.series.db.beans.DatasetEntity dataset, DbQuery query) Description copied from interface:ValueAssemblerAssembles an output for a data entity for a given query.- Specified by:
assembleDataValuein interfaceValueAssembler<org.n52.series.db.beans.ProfileDataEntity,org.n52.io.response.dataset.profile.ProfileValue<String>, Set<org.n52.series.db.beans.DataEntity<?>>> - Overrides:
assembleDataValuein classProfileDataRepository<String,String> - Parameters:
observation- the single data entity to assembledataset- the dataset the data entity belongs toquery- the query- Returns:
- the assembled output
-
createValue
protected org.n52.io.response.dataset.profile.ProfileValue<String> createValue(org.n52.series.db.beans.ProfileDataEntity observation, org.n52.series.db.beans.DatasetEntity dataset, DbQuery query) - Specified by:
createValuein classProfileDataRepository<String,String>
-