pgLab/pglablib/catalog/PgIndexContainer.h
eelke f0c1035378 Reorganize files in pglablib
The enitities and containers of the catalog now go into catalog subfolder
Models go into model
2018-12-16 11:31:33 +01:00

19 lines
474 B
C++

#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