The VectorBuffer is a class used by the vector to hold its data.
More...
The VectorBuffer is a class used by the vector to hold its data.
◆ VectorBuffer() [1/4]
| duckdb::VectorBuffer::VectorBuffer |
( |
VectorBufferType |
type | ) |
|
|
inlineexplicit |
10009 : buffer_type(type) {
10010 }
◆ VectorBuffer() [2/4]
| duckdb::VectorBuffer::VectorBuffer |
( |
idx_t |
data_size | ) |
|
|
inlineexplicit |
10011 : buffer_type(VectorBufferType::STANDARD_BUFFER) {
10012 if (data_size > 0) {
10013 data = Allocator::DefaultAllocator().Allocate(data_size);
10014 }
10015 }
◆ VectorBuffer() [3/4]
10017 : buffer_type(VectorBufferType::STANDARD_BUFFER), data(std::move(data_p)) {
10018 }
◆ ~VectorBuffer()
| virtual duckdb::VectorBuffer::~VectorBuffer |
( |
| ) |
|
|
inlinevirtual |
◆ VectorBuffer() [4/4]
| duckdb::VectorBuffer::VectorBuffer |
( |
| ) |
|
|
inline |
◆ GetData()
| data_ptr_t duckdb::VectorBuffer::GetData |
( |
| ) |
|
|
inline |
10025 {
10026 return data.get();
10027 }
◆ SetData()
10029 {
10030 data = std::move(new_data);
10031 }
◆ GetAuxiliaryData()
10033 {
10034 return aux_data.get();
10035 }
◆ SetAuxiliaryData()
10037 {
10038 aux_data = std::move(aux_data_p);
10039 }
◆ MoveAuxiliaryData()
10041 {
10042 SetAuxiliaryData(std::move(source_buffer.aux_data));
10043 }
◆ GetAllocator()
10045 {
10046 return data.GetAllocator();
10047 }
◆ GetBufferType()
| VectorBufferType duckdb::VectorBuffer::GetBufferType |
( |
| ) |
const |
|
inline |
10055 {
10056 return buffer_type;
10057 }
◆ GetAuxiliaryDataType()
| VectorAuxiliaryDataType duckdb::VectorBuffer::GetAuxiliaryDataType |
( |
| ) |
const |
|
inline |
10059 {
10060 return aux_data->type;
10061 }
◆ Cast() [1/2]
| TARGET & duckdb::VectorBuffer::Cast |
( |
| ) |
|
|
inline |
10070 {
10071 DynamicCastCheck<TARGET>(this);
10072 return reinterpret_cast<TARGET &>(*this);
10073 }
◆ Cast() [2/2]
10075 {
10076 DynamicCastCheck<TARGET>(this);
10077 return reinterpret_cast<const TARGET &>(*this);
10078 }
The documentation for this class was generated from the following file: