26 oracle::occi::Connection*
conn);
60 const std::vector<float> &
data) {
76 std::vector<float>
getData(
int id);
81 bool getData(
int id, std::vector<float> &ret);
85 std::map<int, std::vector<float> >
getData();
88 float getData(
int id,
unsigned int k);
94 bool getData(
int id,
unsigned int k,
float &ret);
101 std::map<int, std::vector<float> >::const_iterator
i =
m_data.begin();
102 std::map<int, std::vector<float> >::const_iterator
e =
m_data.end();
104 l.push_back(i->first);
110 std::map<std::string, unsigned int>
getKeys() {
114 std::list<std::string>
l;
115 std::map<std::string, unsigned int>::const_iterator
i =
m_keys.begin();
116 std::map<std::string, unsigned int>::const_iterator
e =
m_keys.end();
118 l.push_back(i->first);
124 void dump()
const override ;
125 void dump(
int n)
const override ;
126 virtual void dump(
int n,
int max)
const ;
152 std::map<int, std::vector<float> >
m_data;
154 std::map<std::string, unsigned int>
m_keys;
std::vector< std::string > _wherePars
std::list< int > getLogicIds()
LMFUnique & setInt(std::string key, int value)
oracle::occi::Environment * m_env
void getNeighbour(LMFDat *dat, int which) noexcept(false)
oracle::occi::Connection * m_conn
LMFDat & setLMFRunIOV(const LMFRunIOV &iov)
void adjustParameters(int n, std::string &sql, Statement *stmt)
void getPrevious(LMFDat *dat) noexcept(false)
int writeDB() noexcept(false) override
std::map< unsigned int, std::string > getReverseMap() const
Tm getSubRunStart() const
std::string buildInsertSql()
std::map< int, std::vector< float > > m_data
void dump() const override
LMFDat & setData(int logic_id, const std::vector< float > &data)
std::vector< std::string > m_type
void getNext(LMFDat *dat) noexcept(false)
void setByID(int id) noexcept(false) override
int getInt(std::string fieldname) const
std::map< std::string, unsigned int > getKeys()
LMFDat & setData(const EcalLogicID &logic_id, const std::vector< float > &data)
std::map< int, std::vector< float > > fetchData() noexcept(false)
oracle::occi::Connection * conn
void fetch() noexcept(false)
oracle::occi::Statement Statement
LMFDat & setData(const EcalLogicID &logic_id, const std::string &key, float v)
Tm getSubrunStart() const
std::map< int, std::vector< float > > getData()
LMFDat & setMaxDataToDump(int n)
void setWhereClause(std::string w)
std::vector< float > operator[](int id)
virtual std::string getIovIdFieldName() const
LMFRunIOV getLMFRunIOV() const
virtual std::string foreignKeyName() const
char data[epos_bytes_allocation]
std::map< std::string, unsigned int > m_keys
oracle::occi::Statement * stmt
virtual std::string getTableName() const
std::list< std::string > getKeyList()
std::string buildSelectSql(int logic_id=0, int direction=0)
void attach(std::string name, LMFUnique *u)
void getKeyTypes() noexcept(false)