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

Static Public Member Functions

static CompressionFunction GetFunction (PhysicalType type)
static bool TypeIsSupported (const PhysicalType physical_type)

Member Function Documentation

◆ GetFunction()

CompressionFunction duckdb::RLEFun::GetFunction ( PhysicalType type)
static
403028 {
403029 switch (type) {
403030 case PhysicalType::BOOL: {
403031 auto function = GetRLEFunction<int8_t>(type);
403032 function.filter = nullptr;
403033 return function;
403034 }
403035 case PhysicalType::INT8:
403036 return GetRLEFunction<int8_t>(type);
403037 case PhysicalType::INT16:
403038 return GetRLEFunction<int16_t>(type);
403039 case PhysicalType::INT32:
403040 return GetRLEFunction<int32_t>(type);
403041 case PhysicalType::INT64:
403042 return GetRLEFunction<int64_t>(type);
403043 case PhysicalType::INT128:
403044 return GetRLEFunction<hugeint_t>(type);
403045 case PhysicalType::UINT128:
403046 return GetRLEFunction<uhugeint_t>(type);
403047 case PhysicalType::UINT8:
403048 return GetRLEFunction<uint8_t>(type);
403050 return GetRLEFunction<uint16_t>(type);
403052 return GetRLEFunction<uint32_t>(type);
403054 return GetRLEFunction<uint64_t>(type);
403055 case PhysicalType::FLOAT:
403056 return GetRLEFunction<float>(type);
403058 return GetRLEFunction<double>(type);
403059 case PhysicalType::LIST:
403060 return GetRLEFunction<uint64_t, false>(type);
403061 default:
403062 throw InternalException("Unsupported type for RLE");
403063 }
403064}
@ UINT32
Unsigned 32-bit little-endian integer.
Definition duckdb.hpp:2758
@ LIST
A list of some logical data type.
Definition duckdb.hpp:2813
@ UINT16
Unsigned 16-bit little-endian integer.
Definition duckdb.hpp:2752
@ INT64
Signed 64-bit little-endian integer.
Definition duckdb.hpp:2767
@ INT16
Signed 16-bit little-endian integer.
Definition duckdb.hpp:2755
@ INT32
Signed 32-bit little-endian integer.
Definition duckdb.hpp:2761
@ UINT64
Unsigned 64-bit little-endian integer.
Definition duckdb.hpp:2764
@ BOOL
Boolean as 8 bit "bool" value.
Definition duckdb.hpp:2743
@ FLOAT
4-byte floating point value
Definition duckdb.hpp:2773
@ UINT8
Unsigned 8-bit little-endian integer.
Definition duckdb.hpp:2746
@ INT8
Signed 8-bit little-endian integer.
Definition duckdb.hpp:2749
@ DOUBLE
8-byte floating point value
Definition duckdb.hpp:2776

◆ TypeIsSupported()

bool duckdb::RLEFun::TypeIsSupported ( const PhysicalType physical_type)
static
403066 {
403067 switch (physical_type) {
403068 case PhysicalType::BOOL:
403069 case PhysicalType::INT8:
403070 case PhysicalType::INT16:
403071 case PhysicalType::INT32:
403072 case PhysicalType::INT64:
403073 case PhysicalType::INT128:
403074 case PhysicalType::UINT8:
403078 case PhysicalType::UINT128:
403079 case PhysicalType::FLOAT:
403081 case PhysicalType::LIST:
403082 return true;
403083 default:
403084 return false;
403085 }
403086}

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