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::StringStats Struct Reference

Static Public Member Functions

static DUCKDB_API BaseStatistics CreateUnknown (LogicalType type)
 Unknown statistics - i.e. "has_unicode" is true, "max_string_length" is unknown, "min" is \0, max is \xFF.
 
static DUCKDB_API BaseStatistics CreateEmpty (LogicalType type)
 Empty statistics - i.e. "has_unicode" is false, "max_string_length" is 0, "min" is \xFF, max is \x00.
 
static DUCKDB_API bool HasMaxStringLength (const BaseStatistics &stats)
 Whether or not the statistics have a maximum string length defined.
 
static DUCKDB_API uint32_t MaxStringLength (const BaseStatistics &stats)
 Returns the maximum string length, or throws an exception if !HasMaxStringLength()
 
static DUCKDB_API bool CanContainUnicode (const BaseStatistics &stats)
 Whether or not the strings can contain unicode.
 
static DUCKDB_API string Min (const BaseStatistics &stats)
 Returns the min value (up to a length of StringStatsData::MAX_STRING_MINMAX_SIZE)
 
static DUCKDB_API string Max (const BaseStatistics &stats)
 Returns the max value (up to a length of StringStatsData::MAX_STRING_MINMAX_SIZE)
 
static DUCKDB_API void ResetMaxStringLength (BaseStatistics &stats)
 Resets the max string length so HasMaxStringLength() is false.
 
static DUCKDB_API void SetMaxStringLength (BaseStatistics &stats, uint32_t length)
 Sets the max string length.
 
static DUCKDB_API void SetContainsUnicode (BaseStatistics &stats)
 FIXME: make this part of Set on statistics.
 
static DUCKDB_API void Serialize (const BaseStatistics &stats, Serializer &serializer)
 
static DUCKDB_API void Deserialize (Deserializer &deserializer, BaseStatistics &base)
 
static DUCKDB_API string ToString (const BaseStatistics &stats)
 
static DUCKDB_API FilterPropagateResult CheckZonemap (const BaseStatistics &stats, ExpressionType comparison_type, array_ptr< const Value > constants)
 
static DUCKDB_API FilterPropagateResult CheckZonemap (const_data_ptr_t min_data, idx_t min_len, const_data_ptr_t max_data, idx_t max_len, ExpressionType comparison_type, const string &value)
 
static DUCKDB_API void Update (BaseStatistics &stats, const string_t &value)
 
static DUCKDB_API void SetMin (BaseStatistics &stats, const string_t &value)
 
static DUCKDB_API void SetMax (BaseStatistics &stats, const string_t &value)
 
static DUCKDB_API void Merge (BaseStatistics &stats, const BaseStatistics &other)
 
static DUCKDB_API void Verify (const BaseStatistics &stats, Vector &vector, const SelectionVector &sel, idx_t count)
 

Static Private Member Functions

static StringStatsDataGetDataUnsafe (BaseStatistics &stats)
 
static const StringStatsDataGetDataUnsafe (const BaseStatistics &stats)
 

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