StandardVectorBuffer (vector/flat_vector.hpp)

duckdb · src/include/duckdb/common/vector/flat_vector.hpp · cpp · MIT
database, tag:knn-classified

Provides a standard vector buffer implementation and utilities for flat vectors in DuckDB.

// Source: https://github.com/duckdb/duckdb | License: MIT | Copyright 2018-2026 Stichting DuckDB Foundation
// Provided via justclaw.it.com; keep this notice with the code.
//===----------------------------------------------------------------------===//
//                         DuckDB
//
// duckdb/common/vector/flat_vector.hpp
//
//
//===----------------------------------------------------------------------===//

#pragma once

#include "duckdb/common/types/vector.hpp"
#include "duckdb/common/vector/constant_vector.hpp"

namespace duckdb {

class StandardVectorBuffer : public VectorBuffer {
public:
	StandardVectorBuffer(Allocator &allocator, capacity_t capacity, idx_t type_size);
	explicit StandardVectorBuffer(capacity_t capacity, idx_t type_size);
	explicit StandardVectorBuffer(data_ptr

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key