fb-cpp 0.0.1
A modern C++ wrapper for the Firebird database API
Loading...
Searching...
No Matches
fbcpp::StatementOptions Class Referencefinal

Represents options used when preparing a Statement. More...

#include <Statement.h>

Public Member Functions

bool getPrefetchLegacyPlan () const
 Reports whether the legacy textual plan should be prefetched during prepare.
 
StatementOptionssetPrefetchLegacyPlan (bool value)
 Enables or disables prefetching of the legacy textual plan at prepare time.
 
bool getPrefetchPlan () const
 Reports whether the structured plan should be prefetched during prepare.
 
StatementOptionssetPrefetchPlan (bool value)
 Enables or disables prefetching of the structured plan at prepare time.
 

Detailed Description

Represents options used when preparing a Statement.

Definition at line 70 of file Statement.h.

Member Function Documentation

◆ getPrefetchLegacyPlan()

bool fbcpp::StatementOptions::getPrefetchLegacyPlan ( ) const
inline

Reports whether the legacy textual plan should be prefetched during prepare.

Definition at line 76 of file Statement.h.

◆ getPrefetchPlan()

bool fbcpp::StatementOptions::getPrefetchPlan ( ) const
inline

Reports whether the structured plan should be prefetched during prepare.

Definition at line 95 of file Statement.h.

◆ setPrefetchLegacyPlan()

StatementOptions & fbcpp::StatementOptions::setPrefetchLegacyPlan ( bool  value)
inline

Enables or disables prefetching of the legacy textual plan at prepare time.

Parameters
valuetrue to prefetch the legacy plan, false to skip it.
Returns
Reference to this instance for fluent configuration.

Definition at line 86 of file Statement.h.

◆ setPrefetchPlan()

StatementOptions & fbcpp::StatementOptions::setPrefetchPlan ( bool  value)
inline

Enables or disables prefetching of the structured plan at prepare time.

Parameters
valuetrue to prefetch the optimized plan, false to skip it.
Returns
Reference to this instance for fluent configuration.

Definition at line 105 of file Statement.h.


The documentation for this class was generated from the following file: