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

Static Public Member Functions

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

Member Function Documentation

◆ GetFunction()

CompressionFunction duckdb::BitpackingFun::GetFunction ( PhysicalType type)
static
395937 {
395938 switch (type) {
395939 case PhysicalType::BOOL:
395940 case PhysicalType::INT8:
395941 return GetBitpackingFunction<int8_t>(type);
395942 case PhysicalType::INT16:
395943 return GetBitpackingFunction<int16_t>(type);
395944 case PhysicalType::INT32:
395945 return GetBitpackingFunction<int32_t>(type);
395946 case PhysicalType::INT64:
395947 return GetBitpackingFunction<int64_t>(type);
395948 case PhysicalType::UINT8:
395949 return GetBitpackingFunction<uint8_t>(type);
395951 return GetBitpackingFunction<uint16_t>(type);
395953 return GetBitpackingFunction<uint32_t>(type);
395955 return GetBitpackingFunction<uint64_t>(type);
395956 case PhysicalType::INT128:
395957 return GetBitpackingFunction<hugeint_t>(type);
395958 case PhysicalType::UINT128:
395959 return GetBitpackingFunction<uhugeint_t>(type);
395960 case PhysicalType::LIST:
395961 return GetBitpackingFunction<uint64_t, false>(type);
395962 default:
395963 throw InternalException("Unsupported type for Bitpacking");
395964 }
395965}
@ 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
@ UINT8
Unsigned 8-bit little-endian integer.
Definition duckdb.hpp:2746
@ INT8
Signed 8-bit little-endian integer.
Definition duckdb.hpp:2749

◆ TypeIsSupported()

bool duckdb::BitpackingFun::TypeIsSupported ( const PhysicalType physical_type)
static
395967 {
395968 switch (physical_type) {
395969 case PhysicalType::BOOL:
395970 case PhysicalType::INT8:
395971 case PhysicalType::INT16:
395972 case PhysicalType::INT32:
395973 case PhysicalType::INT64:
395974 case PhysicalType::UINT8:
395978 case PhysicalType::LIST:
395979 case PhysicalType::INT128:
395980 case PhysicalType::UINT128:
395981 return true;
395982 default:
395983 return false;
395984 }
395985}

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