kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kdb
kDB
Repository
DatabaseInterface
PostgreSQL
SQLCopyData.h
1
#include <QSharedPointer>
2
#include <kDB/Forward.h>
3
4
namespace
kDB::Repository::DatabaseInterface::PostgreSQL
5
{
6
class
SQLCopyData
7
{
8
public
:
9
SQLCopyData
(
const
Transaction
& _transaction);
10
~SQLCopyData
();
11
bool
writeHeader();
12
bool
writeBuffer(
const
char
* _buffer,
int
_size);
13
template
<
typename
_T_>
14
bool
write(_T_ _value,
bool
_write_size);
15
bool
writeNull();
16
bool
close();
17
QString errorMessage()
const
;
18
private
:
19
template
<
typename
_T_>
20
bool
write_impl(
const
_T_& _value,
bool
_write_size);
21
char
* buffer(std::size_t _size);
22
private
:
23
struct
Private
;
24
Private
*
const
d;
25
};
26
}
kDB::Repository::DatabaseInterface::PostgreSQL::SQLCopyData
Definition
SQLCopyData.h:7
kDB::Repository::Transaction
Definition
Transaction.h:19
kDB::Repository::DatabaseInterface::PostgreSQL::SQLCopyData::Private
Definition
SQLCopyData.cpp:14
Generated by
1.12.0