![]() |
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.
|

Public Member Functions | |
| BaseStatistics (const BaseStatistics &other)=delete | |
| BaseStatistics & | operator= (const BaseStatistics &)=delete |
| DUCKDB_API | BaseStatistics (BaseStatistics &&other) noexcept |
| enable move constructors | |
| DUCKDB_API BaseStatistics & | operator= (BaseStatistics &&) noexcept |
| DUCKDB_API StatisticsType | GetStatsType () const |
| DUCKDB_API bool | CanHaveNull () const |
| DUCKDB_API bool | CanHaveNoNull () const |
| void | SetDistinctCount (idx_t distinct_count) |
| bool | IsConstant () const |
| const LogicalType & | GetType () const |
| void | Set (StatsInfo info) |
| void | CombineValidity (const BaseStatistics &left, const BaseStatistics &right) |
| void | CopyValidity (const BaseStatistics &stats) |
| void | SetHasNullFast () |
| void | SetHasNoNullFast () |
| void | SetHasNull () |
| void | SetHasNoNull () |
| void | Merge (const BaseStatistics &other) |
| void | Copy (const BaseStatistics &other) |
| unique_ptr< BaseStatistics > | PushdownExtract (const StorageIndex &index) const |
| BaseStatistics | Copy () const |
| unique_ptr< BaseStatistics > | ToUnique () const |
| void | CopyBase (const BaseStatistics &orig) |
| void | Serialize (Serializer &serializer) const |
| void | Verify (Vector &vector, const SelectionVector &sel, idx_t count, bool ignore_has_null=false) const |
| Verify that a vector does not violate the statistics. | |
| void | Verify (Vector &vector, idx_t count) const |
| string | ToString () const |
| idx_t | GetDistinctCount () |
| template<class T> | |
| void | UpdateNumericStats (T new_value) |
| template<> | |
| void | UpdateNumericStats (interval_t new_value) |
| template<> | |
| void | UpdateNumericStats (list_entry_t new_value) |
Static Public Member Functions | |
| static BaseStatistics | CreateUnknown (LogicalType type) |
| static BaseStatistics | CreateEmpty (LogicalType type) |
| static DUCKDB_API StatisticsType | GetStatsType (const LogicalType &type) |
| static BaseStatistics | Deserialize (Deserializer &deserializer) |
| static BaseStatistics | FromConstant (const Value &input) |
Private Member Functions | |
| BaseStatistics (LogicalType type) | |
| void | InitializeUnknown () |
| void | InitializeEmpty () |
Static Private Member Functions | |
| static void | Construct (BaseStatistics &stats, LogicalType type) |
| static BaseStatistics | CreateUnknownType (LogicalType type) |
| static BaseStatistics | CreateEmptyType (LogicalType type) |
| static BaseStatistics | FromConstantType (const Value &input) |
Private Attributes | |
| LogicalType | type = LogicalType::INVALID |
| The type of the logical segment. | |
| bool | has_null |
| Whether or not the segment can contain NULL values. | |
| bool | has_no_null |
| Whether or not the segment can contain values that are not null. | |
| idx_t | distinct_count |
| estimate that one may have even if distinct_stats==nullptr | |
| union { | |
| NumericStatsData numeric_data | |
| Numeric stats data, for numeric stats. | |
| StringStatsData string_data | |
| String stats data, for string stats. | |
| GeometryStatsData geometry_data | |
| Geometry stats data, for geometry stats. | |
| VariantStatsData variant_data | |
| Variant stats data, for variant stats. | |
| } | stats_union |
| Numeric and String stats. | |
| unsafe_unique_array< BaseStatistics > | child_stats |
| Child stats (for LIST and STRUCT). | |
Friends | |
| struct | NumericStats |
| struct | StringStats |
| struct | StructStats |
| struct | ListStats |
| struct | ArrayStats |
| struct | GeometryStats |
| struct | VariantStats |
| duckdb::BaseStatistics::~BaseStatistics | ( | ) |
|
noexcept |
enable move constructors
|
private |
|
explicitprivate |
|
noexcept |
|
static |
Creates a set of statistics for data that is unknown, i.e. "has_null" is true, "has_no_null" is true, etc This can be used in case nothing is known about the data - or can be used as a baseline when only a few things are known

|
static |
Creates statistics for an empty database, i.e. "has_null" is false, "has_no_null" is false, etc This is used when incrementally constructing statistics by constantly adding new values

| StatisticsType duckdb::BaseStatistics::GetStatsType | ( | ) | const |
|
static |
| bool duckdb::BaseStatistics::CanHaveNull | ( | ) | const |
| bool duckdb::BaseStatistics::CanHaveNoNull | ( | ) | const |
| void duckdb::BaseStatistics::SetDistinctCount | ( | idx_t | distinct_count | ) |
| bool duckdb::BaseStatistics::IsConstant | ( | ) | const |
|
inline |
| void duckdb::BaseStatistics::Set | ( | StatsInfo | info | ) |
| void duckdb::BaseStatistics::CombineValidity | ( | const BaseStatistics & | left, |
| const BaseStatistics & | right ) |
| void duckdb::BaseStatistics::CopyValidity | ( | const BaseStatistics & | stats | ) |
|
inline |
Set that the CURRENT level can have null values Note that this is not correct for nested types unless this information is propagated in a different manner Use Set(StatsInfo::CAN_HAVE_NULL_VALUES) in the general case
|
inline |
Set that the CURRENT level can have valid values Note that this is not correct for nested types unless this information is propagated in a different manner Use Set(StatsInfo::CAN_HAVE_VALID_VALUES) in the general case
| void duckdb::BaseStatistics::SetHasNull | ( | ) |
| void duckdb::BaseStatistics::SetHasNoNull | ( | ) |
| void duckdb::BaseStatistics::Merge | ( | const BaseStatistics & | other | ) |
| void duckdb::BaseStatistics::Copy | ( | const BaseStatistics & | other | ) |
| unique_ptr< BaseStatistics > duckdb::BaseStatistics::PushdownExtract | ( | const StorageIndex & | index | ) | const |
| BaseStatistics duckdb::BaseStatistics::Copy | ( | ) | const |
| unique_ptr< BaseStatistics > duckdb::BaseStatistics::ToUnique | ( | ) | const |
| void duckdb::BaseStatistics::CopyBase | ( | const BaseStatistics & | orig | ) |
| void duckdb::BaseStatistics::Serialize | ( | Serializer & | serializer | ) | const |
|
static |
| void duckdb::BaseStatistics::Verify | ( | Vector & | vector, |
| const SelectionVector & | sel, | ||
| idx_t | count, | ||
| bool | ignore_has_null = false ) const |
Verify that a vector does not violate the statistics.
| string duckdb::BaseStatistics::ToString | ( | ) | const |
| idx_t duckdb::BaseStatistics::GetDistinctCount | ( | ) |
|
static |
|
inline |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
inline |
|
inline |