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:

pqxx::tablereader pqxx::tablewriter List of all members.

Public Member Functions

 tablestream (transaction_base &Trans, const PGSTD::string &Name, const PGSTD::string &Null=PGSTD::string())
virtual ~tablestream ()=0
PGSTD::string Name () const

Protected Member Functions

transaction_base & Trans () const throw ()
PGSTD::string NullStr () const

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 (  transaction_base &    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]
 

transaction_base& pqxx::tablestream::Trans (    )  const throw () [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Jun 7 00:49:36 2003 for libpqxx by doxygen1.3-rc3