|
| enum class | Type { SIMPLE
, BATCHED
} |
| |
|
|
Type | type |
| |
|
weak_ptr< ClientContext > | context |
| | This is weak to avoid a cyclical reference.
|
| |
|
idx_t | total_buffer_size |
| | The maximum amount of memory we should keep buffered.
|
| |
|
mutex | glock |
| | Protect against populate/fetch race condition.
|
| |
◆ Type
41176{ SIMPLE, BATCHED };
◆ GetContext()
41187 {
41189 }
weak_ptr< ClientContext > context
This is weak to avoid a cyclical reference.
Definition duckdb.hpp:41221
◆ Closed()
| bool duckdb::BufferedData::Closed |
( |
| ) |
const |
|
inline |
41190 {
41192 return true;
41193 }
41195 return c == nullptr;
41196 }
◆ Close()
| void duckdb::BufferedData::Close |
( |
| ) |
|
|
inline |
◆ Cast() [1/2]
| TARGET & duckdb::BufferedData::Cast |
( |
| ) |
|
|
inline |
41203 {
41204 if (TARGET::TYPE != type) {
41205 throw InternalException("Failed to cast buffered data to type - buffered data type mismatch");
41206 }
41207 return reinterpret_cast<TARGET &>(*this);
41208 }
◆ Cast() [2/2]
41211 {
41212 if (TARGET::TYPE != type) {
41213 throw InternalException("Failed to cast buffered data to type - buffered data type mismatch");
41214 }
41215 return reinterpret_cast<const TARGET &>(*this);
41216 }
The documentation for this class was generated from the following file: