ClientContextState is virtual base class for ClientContext-local (or Query-Local, using QueryEnd callback) state e.g. caches that need to live as long as a ClientContext or Query.
More...
#include <duckdb.hpp>
|
| virtual void | QueryBegin (ClientContext &context) |
| virtual void | QueryEnd () |
| virtual void | QueryEnd (ClientContext &context) |
| virtual void | QueryEnd (ClientContext &context, optional_ptr< ErrorData > error) |
| virtual void | TransactionBegin (MetaTransaction &transaction, ClientContext &context) |
| virtual void | TransactionCommit (MetaTransaction &transaction, ClientContext &context) |
| virtual void | TransactionRollback (MetaTransaction &transaction, ClientContext &context) |
| virtual void | TransactionRollback (MetaTransaction &transaction, ClientContext &context, optional_ptr< ErrorData > error) |
| virtual bool | CanRequestRebind () |
| virtual RebindQueryInfo | OnPlanningError (ClientContext &context, SQLStatement &statement, ErrorData &error) |
| virtual RebindQueryInfo | OnFinalizePrepare (ClientContext &context, PreparedStatementData &prepared_statement, PreparedStatementMode mode) |
| virtual RebindQueryInfo | OnExecutePrepared (ClientContext &context, PreparedStatementCallbackInfo &info, RebindQueryInfo current_rebind) |
| virtual RebindQueryInfo | OnRebindPreparedStatement (ClientContext &context, BindPreparedStatementCallbackInfo &info, RebindQueryInfo current_rebind) |
| virtual void | WriteProfilingInformation (std::ostream &ss) |
| virtual void | OnTaskStart (ClientContext &context) |
| virtual void | OnTaskStop (ClientContext &context) |
| template<class TARGET> |
| TARGET & | Cast () |
| template<class TARGET> |
| const TARGET & | Cast () const |
ClientContextState is virtual base class for ClientContext-local (or Query-Local, using QueryEnd callback) state e.g. caches that need to live as long as a ClientContext or Query.
◆ QueryBegin()
| virtual void duckdb::ClientContextState::QueryBegin |
( |
ClientContext & | context | ) |
|
|
inlinevirtual |
◆ QueryEnd() [1/3]
| virtual void duckdb::ClientContextState::QueryEnd |
( |
| ) |
|
|
inlinevirtual |
◆ QueryEnd() [2/3]
| virtual void duckdb::ClientContextState::QueryEnd |
( |
ClientContext & | context | ) |
|
|
inlinevirtual |
40907 {
40908 QueryEnd();
40909 }
◆ QueryEnd() [3/3]
40910 {
40911 QueryEnd(context);
40912 }
◆ TransactionBegin()
◆ TransactionCommit()
◆ TransactionRollback() [1/2]
◆ TransactionRollback() [2/2]
40920 {
40921 TransactionRollback(transaction, context);
40922 }
◆ CanRequestRebind()
| virtual bool duckdb::ClientContextState::CanRequestRebind |
( |
| ) |
|
|
inlinevirtual |
40923 {
40924 return false;
40925 }
◆ OnPlanningError()
40926 {
40927 return RebindQueryInfo::DO_NOT_REBIND;
40928 }
◆ OnFinalizePrepare()
40930 {
40931 return RebindQueryInfo::DO_NOT_REBIND;
40932 }
◆ OnExecutePrepared()
40934 {
40935 return RebindQueryInfo::DO_NOT_REBIND;
40936 }
◆ OnRebindPreparedStatement()
40938 {
40939 return RebindQueryInfo::DO_NOT_REBIND;
40940 }
◆ WriteProfilingInformation()
| virtual void duckdb::ClientContextState::WriteProfilingInformation |
( |
std::ostream & | ss | ) |
|
|
inlinevirtual |
◆ OnTaskStart()
| virtual void duckdb::ClientContextState::OnTaskStart |
( |
ClientContext & | context | ) |
|
|
inlinevirtual |
◆ OnTaskStop()
| virtual void duckdb::ClientContextState::OnTaskStop |
( |
ClientContext & | context | ) |
|
|
inlinevirtual |
◆ Cast() [1/2]
template<class TARGET>
| TARGET & duckdb::ClientContextState::Cast |
( |
| ) |
|
|
inline |
40950 {
40951 DynamicCastCheck<TARGET>(this);
40952 return reinterpret_cast<TARGET &>(*this);
40953 }
◆ Cast() [2/2]
template<class TARGET>
| const TARGET & duckdb::ClientContextState::Cast |
( |
| ) |
const |
|
inline |
40955 {
40956 DynamicCastCheck<TARGET>(this);
40957 return reinterpret_cast<const TARGET &>(*this);
40958 }
The documentation for this class was generated from the following file: