 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef IOVDBSVC_CORALCRESTMANAGER_H
13 #define IOVDBSVC_CORALCRESTMANAGER_H
21 #include "CrestApi/CrestApiBase.h"
22 #include "CrestApi/CrestRequest.h"
24 #include "CoolKernel/ChannelSelection.h"
25 #include "CoolKernel/ValidityKey.h"
26 #include "CoolKernel/IFolder.h"
31 static inline const std::string
prefix1{
"http://"};
32 static inline const std::string
prefix2 {
"https://"};
36 static std::map<std::string, std::string>
getGlobalTagMap(
const std::string & crest_path,
const std::string&
globaltag);
48 std::pair<std::vector<cool::ChannelId> , std::vector<std::string>>
getChannelList();
57 std::vector<coral::AttributeList>
getVectorPayload(coral::AttributeListSpecification* pSpec,
const std::string & chId);
67 std::optional<Crest::TagDto>
m_Tag;
std::vector< std::pair< cool::ValidityKey, std::string > > getIovsForTag(uint64_t since, uint64_t until)
Crest::TagDto & getTagDto()
void initCrestContainer()
const std::string m_crestTag
std::unique_ptr< Crest::CrestApiBase > m_crestCl
std::optional< bool > m_isVectorPayload
coral::AttributeList getPayload(coral::AttributeListSpecification *pSpec, const std::string &chId)
coral::AttributeListSpecification * getAttributeListSpec()
std::string dumpPayload(cool::ValidityKey since)
std::optional< Crest::CrestContainer > m_crest_cont
static std::map< std::string, std::string > getGlobalTagMap(const std::string &crest_path, const std::string &globaltag)
Crest::TagInfoDto getTagInfoDto()
std::pair< uint64_t, uint64_t > getIovInterval(const std::string &tag, const uint64_t since, const uint64_t until)
std::pair< uint64_t, uint64_t > getSinceUntilPair(std::vector< uint64_t > &v, const uint64_t since, const uint64_t until)
std::vector< std::string > channelIds(cool::ValidityKey since)
IOVDbNamespace::FolderType determineFolderType()
std::vector< coral::AttributeList > getVectorPayload(coral::AttributeListSpecification *pSpec, const std::string &chId)
static const std::string prefix2
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > getChannelList()
Header file for CrestContainer class.
std::string getFolderDescription()
void selectIov(cool::ValidityKey since)
static const std::string prefix1
std::optional< Crest::TagMetaDto > m_TagMeta
std::vector< uint64_t > loadPayloadForHash(uint64_t since, const std::string &hash)
CoralCrestManager(const std::string &crest_path, const std::string &crestTag)
std::optional< Crest::TagDto > m_Tag
std::string parseTypeName(const std::string &description)
coral::AttributeList createAttributeList(coral::AttributeListSpecification *pSpec, nlohmann::json &j, const std::vector< std::pair< std::string, Crest::TypeId >> &tSpec)
std::string getPayloadSpec()
std::string description
glabal timer - how long have I taken so far?