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::PersistentRowGroupData Struct Reference
Collaboration diagram for duckdb::PersistentRowGroupData:

Public Member Functions

 PersistentRowGroupData (vector< LogicalType > types)
 PersistentRowGroupData (const PersistentRowGroupData &other)=delete
PersistentRowGroupData & operator= (const PersistentRowGroupData &)=delete
 PersistentRowGroupData (PersistentRowGroupData &&other) noexcept=default
 enable move constructors
PersistentRowGroupData & operator= (PersistentRowGroupData &&)=default
void Serialize (Serializer &serializer) const
bool HasUpdates () const

Static Public Member Functions

static PersistentRowGroupData Deserialize (Deserializer &deserializer)

Public Attributes

vector< LogicalType > types
vector< PersistentColumnData > column_data
idx_t start
idx_t count

Constructor & Destructor Documentation

◆ PersistentRowGroupData()

duckdb::PersistentRowGroupData::PersistentRowGroupData ( vector< LogicalType > types)
explicit
429805 : types(std::move(types_p)) {
429806}

Member Function Documentation

◆ Serialize()

void duckdb::PersistentRowGroupData::Serialize ( Serializer & serializer) const
429808 {
429809 serializer.WriteProperty(100, "types", types);
429810 serializer.WriteProperty(101, "columns", column_data);
429811 serializer.WriteProperty(102, "start", start);
429812 serializer.WriteProperty(103, "count", count);
429813}

◆ Deserialize()

PersistentRowGroupData duckdb::PersistentRowGroupData::Deserialize ( Deserializer & deserializer)
static
429815 {
429816 PersistentRowGroupData data;
429817 deserializer.ReadProperty(100, "types", data.types);
429818 deserializer.ReadList(101, "columns", [&](Deserializer::List &list, idx_t i) {
429819 deserializer.Set<const LogicalType &>(data.types[i]);
429820 data.column_data.push_back(list.ReadElement<PersistentColumnData>());
429821 deserializer.Unset<LogicalType>();
429822 });
429823 deserializer.ReadProperty(102, "start", data.start);
429824 deserializer.ReadProperty(103, "count", data.count);
429825 return data;
429826}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237

◆ HasUpdates()

bool duckdb::PersistentRowGroupData::HasUpdates ( ) const
429828 {
429829 for (auto &col : column_data) {
429830 if (col.HasUpdates()) {
429831 return true;
429832 }
429833 }
429834 return false;
429835}

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