Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
pqxx::TableStream Class Reference
Base class for streaming data to/from database tables.
More...
#include <tablestream.h>
Inheritance diagram for pqxx::TableStream:
List of all members.
Detailed Description
Base class for streaming data to/from database tables.
A Tablestream enables optimized batch read or write access to a database table using PostgreSQL's COPY TO STDOUT and COPY FROM STDIN commands, respectively. These capabilities are implemented by its subclasses TableReader and TableWriter. A Tablestream exists in the context of a transaction, and no other streams or queries may be applied to that transaction as long as the stream remains open.
Constructor & Destructor Documentation
pqxx::TableStream::TableStream |
( |
TransactionItf & |
Trans, |
|
|
const PGSTD::string & |
Name, |
|
|
const PGSTD::string & |
Null = PGSTD::string() |
|
) |
|
|
pqxx::TableStream::~TableStream |
( |
|
) |
[pure virtual] |
|
Member Function Documentation
PGSTD::string pqxx::TableStream::Name |
( |
|
) |
const |
|
PGSTD::string pqxx::TableStream::NullStr |
( |
|
) |
const [protected] |
|
TransactionItf& pqxx::TableStream::Trans |
( |
|
) |
const throw () [protected] |
|
The documentation for this class was generated from the following files:
Generated on Fri Feb 28 19:23:33 2003 for libpqxx by
1.3-rc3