Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::DataPointer Struct Reference
Collaboration diagram for duckdb::DataPointer:

Public Member Functions

 DataPointer (BaseStatistics stats)
 DataPointer (const DataPointer &other)=delete
DataPointer & operator= (const DataPointer &)=delete
DUCKDB_API DataPointer (DataPointer &&other) noexcept
 enable move constructors
DUCKDB_API DataPointer & operator= (DataPointer &&) noexcept
void Serialize (Serializer &serializer) const

Static Public Member Functions

static DataPointer Deserialize (Deserializer &source)

Public Attributes

uint64_t row_start
uint64_t tuple_count
BlockPointer block_pointer
CompressionType compression_type
BaseStatistics statistics
 Type-specific statistics of the segment.
unique_ptr< ColumnSegmentState > segment_state
 Serialized segment state.

Constructor & Destructor Documentation

◆ DataPointer() [1/2]

duckdb::DataPointer::DataPointer ( BaseStatistics stats)
explicit
411301 : statistics(std::move(stats)) {
411302}
BaseStatistics statistics
Type-specific statistics of the segment.
Definition duckdb.hpp:38843

◆ DataPointer() [2/2]

duckdb::DataPointer::DataPointer ( DataPointer && other)
noexcept

enable move constructors

411304 : statistics(std::move(other.statistics)) {
411305 std::swap(row_start, other.row_start);
411306 std::swap(tuple_count, other.tuple_count);
411307 std::swap(block_pointer, other.block_pointer);
411308 std::swap(compression_type, other.compression_type);
411309 std::swap(segment_state, other.segment_state);
411310}
unique_ptr< ColumnSegmentState > segment_state
Serialized segment state.
Definition duckdb.hpp:38845

Member Function Documentation

◆ operator=()

DataPointer & duckdb::DataPointer::operator= ( DataPointer && other)
noexcept
411312 {
411313 std::swap(row_start, other.row_start);
411314 std::swap(tuple_count, other.tuple_count);
411315 std::swap(block_pointer, other.block_pointer);
411316 std::swap(compression_type, other.compression_type);
411317 std::swap(statistics, other.statistics);
411318 std::swap(segment_state, other.segment_state);
411319 return *this;
411320}

◆ Serialize()

void duckdb::DataPointer::Serialize ( Serializer & serializer) const
419312 {
419313 if (!serializer.ShouldSerialize(7)) {
419314 serializer.WritePropertyWithDefault<uint64_t>(100, "row_start", row_start);
419315 }
419316 serializer.WritePropertyWithDefault<uint64_t>(101, "tuple_count", tuple_count);
419317 serializer.WriteProperty<BlockPointer>(102, "block_pointer", block_pointer);
419318 serializer.WriteProperty<CompressionType>(103, "compression_type", compression_type);
419319 serializer.WriteProperty<BaseStatistics>(104, "statistics", statistics);
419320 serializer.WritePropertyWithDefault<unique_ptr<ColumnSegmentState>>(105, "segment_state", segment_state);
419321}
::uint64_t uint64_t

◆ Deserialize()

DataPointer duckdb::DataPointer::Deserialize ( Deserializer & source)
static
419323 {
419324 deserializer.ReadDeletedProperty<uint64_t>(100, "row_start");
419325 auto tuple_count = deserializer.ReadPropertyWithDefault<uint64_t>(101, "tuple_count");
419326 auto block_pointer = deserializer.ReadProperty<BlockPointer>(102, "block_pointer");
419327 auto compression_type = deserializer.ReadProperty<CompressionType>(103, "compression_type");
419328 auto statistics = deserializer.ReadProperty<BaseStatistics>(104, "statistics");
419329 DataPointer result(std::move(statistics));
419330 result.tuple_count = tuple_count;
419331 result.block_pointer = block_pointer;
419332 result.compression_type = compression_type;
419333 deserializer.Set<CompressionType>(compression_type);
419334 deserializer.ReadPropertyWithDefault<unique_ptr<ColumnSegmentState>>(105, "segment_state", result.segment_state);
419335 deserializer.Unset<CompressionType>();
419336 return result;
419337}

The documentation for this struct was generated from the following files: