NCBI C++ ToolKit
|
Search Toolkit Book for CBlobStoreDynamic
#include <dbapi/driver/util/blobstore.hpp>
Protected Member Functions | |
virtual CDB_Connection * | GetConn () |
virtual bool | ReleaseConn (CDB_Connection *) |
Protected Member Functions inherited from CBlobStoreBase | |
CBlobStoreBase (const string &table_name, ECompressMethod cm, size_t image_limit, bool log_it) | |
CBlobStoreBase (const string &table_name, ECompressMethod cm=eNone, size_t image_limit=IMAGE_LIMIT_16MB, CSimpleBlobStore::TFlags flags=CSimpleBlobStore::kDefaults) | |
void | ReadTableDescr () |
void | SetTableDescr (const string &tableName, const string &keyColName, const string &numColName, const string *blobColNames, unsigned nofBC, bool isText=false) |
void | SetTextSizeServerSide (CDB_Connection *pConn, size_t textSize=2147483647) |
virtual void | GenReadQuery (const CTempString &table_hint) |
Private Attributes | |
I_DriverContext * | m_Cntxt |
string | m_Server |
string | m_User |
string | m_Passwd |
string | m_Pool |
Additional Inherited Members | |
Public Types inherited from CBlobStoreBase | |
enum | { IMAGE_LIMIT_16MB = 0x1000000 } |
Definition at line 402 of file blobstore.hpp.
CBlobStoreDynamic::CBlobStoreDynamic | ( | I_DriverContext * | pCntxt, |
const string & | server, | ||
const string & | user, | ||
const string & | passwd, | ||
const string & | table_name, | ||
ECompressMethod | cm = eNone , |
||
size_t | image_limit = IMAGE_LIMIT_16MB , |
||
CSimpleBlobStore::TFlags | flags = CSimpleBlobStore::kDefaults |
||
) |
Definition at line 986 of file blobstore.cpp.
References DATABASE_DRIVER_ERROR, m_Cntxt, CBlobStoreBase::ReadTableDescr(), and I_DriverContext::SetMaxBlobSize().
CBlobStoreDynamic::CBlobStoreDynamic | ( | I_DriverContext * | pCntxt, |
const string & | server, | ||
const string & | user, | ||
const string & | passwd, | ||
const string & | table_name, | ||
ECompressMethod | cm, | ||
size_t | image_limit, | ||
bool | log_it | ||
) |
Definition at line 970 of file blobstore.cpp.
|
virtual |
Definition at line 1006 of file blobstore.cpp.
|
protectedvirtual |
Implements CBlobStoreBase.
Definition at line 1012 of file blobstore.cpp.
References I_DriverContext::Connect(), DATABASE_DRIVER_ERROR, m_Cntxt, m_Passwd, m_Pool, m_Server, m_User, and CBlobStoreBase::SetTextSizeServerSide().
|
protectedvirtual |
Implements CBlobStoreBase.
Definition at line 1030 of file blobstore.cpp.
|
private |
Definition at line 432 of file blobstore.hpp.
Referenced by CBlobStoreDynamic(), and GetConn().
|
private |
Definition at line 435 of file blobstore.hpp.
Referenced by GetConn().
|
private |
Definition at line 436 of file blobstore.hpp.
Referenced by GetConn().
|
private |
Definition at line 433 of file blobstore.hpp.
Referenced by GetConn().
|
private |
Definition at line 434 of file blobstore.hpp.
Referenced by GetConn().