Moved several files from pglab project to pglablib
This commit is contained in:
parent
206d734ff5
commit
f4538069cb
44 changed files with 45 additions and 44 deletions
19
pglablib/PgIndexContainer.h
Normal file
19
pglablib/PgIndexContainer.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef PGINDEXCONTAINER_H
|
||||
#define PGINDEXCONTAINER_H
|
||||
|
||||
#include "PgContainer.h"
|
||||
#include "PgIndex.h"
|
||||
#include "Pgsql_declare.h"
|
||||
#include <vector>
|
||||
|
||||
class PgIndexContainer : public PgContainer<PgIndex> {
|
||||
public:
|
||||
using PgContainer<PgIndex>::PgContainer;
|
||||
|
||||
virtual std::string getLoadQuery() const override;
|
||||
std::vector<PgIndex> getIndexesForTable(Oid table_oid) const;
|
||||
protected:
|
||||
virtual PgIndex loadElem(const Pgsql::Row &row) override;
|
||||
};
|
||||
|
||||
#endif // PGINDEXCONTAINER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue