Data_deduplication_service
Service that will use hashes to deduplicate files
models::deduplicationCharacteristicsModel Class Reference

Pqxx model that retrieves database deduplication characteristic. More...

#include <myPqxxModel.h>

+ Inheritance diagram for models::deduplicationCharacteristicsModel:
+ Collaboration diagram for models::deduplicationCharacteristicsModel:

Public Member Functions

 deduplicationCharacteristicsModel (QObject *parent=nullptr)
 
void getData () override
 
- Public Member Functions inherited from models::myPqxxModel
 myPqxxModel (QObject *parent=nullptr)
 
int rowCount (const QModelIndex &parent) const override
 
int columnCount (const QModelIndex &parent) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
void Reset ()
 
- Public Member Functions inherited from models::myPxxxModelBase
bool performConnection (myConnString &cstring)
 
bool checkConnection ()
 
bool isEmpty () const
 
template<typename ResType1 , typename... Args>
void executeInTransaction (ResType1(*call)(db_services::trasnactionType &, Args...), Args &&... args)
 
template<typename ResType1 , typename... Args>
void executeInTransaction (const std::function< ResType1(trasnactionType &, Args...)> &call, Args &&... args)
 

Additional Inherited Members

- Protected Member Functions inherited from models::myPxxxModelBase
QVariant convertFromPqxx (const QModelIndex &index, int role) const
 Returns properly casted data Uses postgres column OID to perform cast to suitable type that will be wrapped in QVariant. More...
 
template<typename ResType1 , typename ... Args>
void executeInTransaction (ResType1(*call)(db_services::trasnactionType &, Args ...), Args &&... args)
 
template<typename ResType1 , typename ... Args>
void executeInTransaction (const std::function< ResType1(db_services::trasnactionType &, Args ...)> &call, Args &&... args)
 
void setColumnsTypes ()
 
void reset ()
 
- Protected Attributes inherited from models::myPxxxModelBase
resType res
 
conPtr connection
 
QList< oidcolumnTypes
 
QList< QString > columnNames
 
bool good
 
bool isEmpty_
 

Detailed Description

Pqxx model that retrieves database deduplication characteristic.

See also
db_services::getDedupCharacteristics

Constructor & Destructor Documentation

◆ deduplicationCharacteristicsModel()

models::deduplicationCharacteristicsModel::deduplicationCharacteristicsModel ( QObject *  parent = nullptr)
inlineexplicit

Member Function Documentation

◆ getData()

void models::deduplicationCharacteristicsModel::getData ( )
inlineoverridevirtual

Retrieves specified data for model

Implements models::myPxxxModelBase.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: