&
query)
72, m_InParams(GetBindParamsImpl())
73, m_OutParams(GetDefineParamsImpl())
74, m_Recompile(
false)
75, m_HasFailed(
false)
76, m_AtStartOfBatch(
true)
78, m_IsDeclared(
false)
80, m_RowsSentAtBatchStart(0)
86 const string& cursor_name,
87 const string&
query)
90, m_InParams(GetBindParamsImpl())
91, m_OutParams(GetDefineParamsImpl())
92, m_Recompile(
false)
93, m_HasFailed(
false)
94, m_AtStartOfBatch(
true)
96, m_IsDeclared(
false)
97, m_CmdName(cursor_name)
99, m_RowsSentAtBatchStart(0)
162unique_ptr<CDB_Result> dbres(
Result());
170 while(dbres->Fetch()) {
309, m_Bytes2Go(nof_bytes)
348unique_ptr<CDB_Result> dbres(
Result());
356 while(dbres->Fetch()) {
void DetachInterface(void)
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
virtual CDBParams & GetDefineParams(void)
Get meta-information about defined parameters.
virtual CDBParams & GetBindParams(void)
Binding.
virtual bool Update(const string &table_name, const string &upd_query)
Update the last fetched row.
virtual bool CommitBCPTrans(void)
Complete batch â to store all rows transferred by far in this batch into the table.
virtual void AddOrderHint(CTempString columns)
Add "ORDER" hint.
virtual CDB_Result * Result(void)
Get result set.
virtual void AddHint(CDB_BCPInCmd::EBCP_Hints hint, unsigned int value)
Add hint with value.
virtual bool HasFailed(void) const
virtual void SetHints(CTempString hints)
Set hints by one call.
void DumpResults(void)
Dump the results of the command if result processor is installed for this connection,...
virtual bool UpdateBlob(unsigned int item_num, CDB_Stream &data, bool log_it=true)
CInterfaceHook< CDB_BCPInCmd > m_InterfaceBCPIn
unique_ptr< CDBParams > m_LastInParams
virtual CDB_Result * OpenCursor(void)
Open the cursor.
CDBBindedParams m_OutParams
virtual bool EndBCP(void)
Complete the BCP and store all rows transferred in last batch into the table.
virtual CDB_SendDataCmd * SendDataCmd(unsigned int item_num, size_t size, bool log_it=true, bool dump_results=true)
CInterfaceHook< CDB_LangCmd > m_InterfaceLang
CDBBindedParams m_InParams
void AttachTo(CDB_LangCmd *interface)
CInterfaceHook< CDB_CursorCmd > m_InterfaceCursor
virtual bool Delete(const string &table_name)
Delete the last fetched row.
virtual bool CloseCursor(void)
Close the cursor.
void DetachInterface(void)
CBaseCmd(impl::CConnection &conn, const string &query)
virtual bool Cancel(void)
Cancel the command execution.
virtual bool HasMoreResults(void) const
virtual bool Send(void)
Send command to the server.
CInterfaceHook< CDB_RPCCmd > m_InterfaceRPC
CCmdBase(impl::CConnection &conn)
impl::CConnection & GetConnImpl(void) const
impl::CConnection * m_ConnImpl
static CDB_Result * Create_Result(CResult &result)
CDB_ResultProcessor * GetResultProcessor(void) const
void AttachTo(CDB_SendDataCmd *interface)
void DetachSendDataIntf(void)
CInterfaceHook< CDB_SendDataCmd > m_Interface
virtual ~CSendDataCmd(void)
void DumpResults(void)
Dump the results of the command if result processor is installed for this connection,...
virtual bool HasMoreResults(void) const
virtual CDB_Result * Result(void)
Get result set.
CSendDataCmd(impl::CConnection &conn, size_t nof_bytes)
static CS_CONNECTION * conn
static const column_t columns[]
EBCP_Hints
Type of hint that can be set.
virtual void ProcessResult(CDB_Result &res)
The default implementation just dumps all rows.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const GenericPointer< typename T::ValueType > T2 value
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4