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

Public Member Functions

template<>
DUCKDB_API bool Operation (bool input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (bool input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (int8_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (int16_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (int32_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (int64_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (hugeint_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (uhugeint_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (uint8_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (uint16_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (uint32_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (uint64_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (float input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (double input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, bool &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, int8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, int16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, int32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, int64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, uint8_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, uint16_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, uint32_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, uint64_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, hugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, uhugeint_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, float &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, double &result, bool strict)
template<>
DUCKDB_API bool Operation (date_t input, date_t &result, bool strict)
template<>
DUCKDB_API bool Operation (date_t input, timestamp_t &result, bool strict)
template<>
DUCKDB_API bool Operation (dtime_t input, dtime_t &result, bool strict)
template<>
DUCKDB_API bool Operation (dtime_t input, dtime_tz_t &result, bool strict)
template<>
DUCKDB_API bool Operation (dtime_t input, dtime_ns_t &result, bool strict)
template<>
DUCKDB_API bool Operation (dtime_ns_t input, dtime_ns_t &result, bool strict)
template<>
DUCKDB_API bool Operation (dtime_ns_t input, dtime_t &result, bool strict)
template<>
DUCKDB_API bool Operation (dtime_tz_t input, dtime_t &result, bool strict)
template<>
DUCKDB_API bool Operation (dtime_tz_t input, dtime_tz_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, date_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, dtime_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, dtime_tz_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_sec_t input, timestamp_sec_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_sec_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_ms_t input, timestamp_ms_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_ms_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_ns_t input, timestamp_ns_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_ns_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_tz_t input, timestamp_tz_t &result, bool strict)
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_tz_t &result, bool strict)
template<>
DUCKDB_API bool Operation (interval_t input, interval_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, date_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, dtime_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, dtime_ns_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, dtime_tz_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, timestamp_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, timestamp_tz_t &result, bool strict)
template<>
DUCKDB_API bool Operation (string_t input, timestamp_ns_t &result, bool strict)
template<>
bool Operation (bool input, bool &result, bool strict)
template<>
bool Operation (bool input, int8_t &result, bool strict)
template<>
bool Operation (bool input, int16_t &result, bool strict)
template<>
bool Operation (bool input, int32_t &result, bool strict)
template<>
bool Operation (bool input, int64_t &result, bool strict)
template<>
bool Operation (bool input, hugeint_t &result, bool strict)
template<>
bool Operation (bool input, uhugeint_t &result, bool strict)
template<>
bool Operation (bool input, uint8_t &result, bool strict)
template<>
bool Operation (bool input, uint16_t &result, bool strict)
template<>
bool Operation (bool input, uint32_t &result, bool strict)
template<>
bool Operation (bool input, uint64_t &result, bool strict)
template<>
bool Operation (bool input, float &result, bool strict)
template<>
bool Operation (bool input, double &result, bool strict)
template<>
bool Operation (int8_t input, bool &result, bool strict)
template<>
bool Operation (int8_t input, int8_t &result, bool strict)
template<>
bool Operation (int8_t input, int16_t &result, bool strict)
template<>
bool Operation (int8_t input, int32_t &result, bool strict)
template<>
bool Operation (int8_t input, int64_t &result, bool strict)
template<>
bool Operation (int8_t input, hugeint_t &result, bool strict)
template<>
bool Operation (int8_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (int8_t input, uint8_t &result, bool strict)
template<>
bool Operation (int8_t input, uint16_t &result, bool strict)
template<>
bool Operation (int8_t input, uint32_t &result, bool strict)
template<>
bool Operation (int8_t input, uint64_t &result, bool strict)
template<>
bool Operation (int8_t input, float &result, bool strict)
template<>
bool Operation (int8_t input, double &result, bool strict)
template<>
bool Operation (int16_t input, bool &result, bool strict)
template<>
bool Operation (int16_t input, int8_t &result, bool strict)
template<>
bool Operation (int16_t input, int16_t &result, bool strict)
template<>
bool Operation (int16_t input, int32_t &result, bool strict)
template<>
bool Operation (int16_t input, int64_t &result, bool strict)
template<>
bool Operation (int16_t input, hugeint_t &result, bool strict)
template<>
bool Operation (int16_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (int16_t input, uint8_t &result, bool strict)
template<>
bool Operation (int16_t input, uint16_t &result, bool strict)
template<>
bool Operation (int16_t input, uint32_t &result, bool strict)
template<>
bool Operation (int16_t input, uint64_t &result, bool strict)
template<>
bool Operation (int16_t input, float &result, bool strict)
template<>
bool Operation (int16_t input, double &result, bool strict)
template<>
bool Operation (int32_t input, bool &result, bool strict)
template<>
bool Operation (int32_t input, int8_t &result, bool strict)
template<>
bool Operation (int32_t input, int16_t &result, bool strict)
template<>
bool Operation (int32_t input, int32_t &result, bool strict)
template<>
bool Operation (int32_t input, int64_t &result, bool strict)
template<>
bool Operation (int32_t input, hugeint_t &result, bool strict)
template<>
bool Operation (int32_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (int32_t input, uint8_t &result, bool strict)
template<>
bool Operation (int32_t input, uint16_t &result, bool strict)
template<>
bool Operation (int32_t input, uint32_t &result, bool strict)
template<>
bool Operation (int32_t input, uint64_t &result, bool strict)
template<>
bool Operation (int32_t input, float &result, bool strict)
template<>
bool Operation (int32_t input, double &result, bool strict)
template<>
bool Operation (int64_t input, bool &result, bool strict)
template<>
bool Operation (int64_t input, int8_t &result, bool strict)
template<>
bool Operation (int64_t input, int16_t &result, bool strict)
template<>
bool Operation (int64_t input, int32_t &result, bool strict)
template<>
bool Operation (int64_t input, int64_t &result, bool strict)
template<>
bool Operation (int64_t input, hugeint_t &result, bool strict)
template<>
bool Operation (int64_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (int64_t input, uint8_t &result, bool strict)
template<>
bool Operation (int64_t input, uint16_t &result, bool strict)
template<>
bool Operation (int64_t input, uint32_t &result, bool strict)
template<>
bool Operation (int64_t input, uint64_t &result, bool strict)
template<>
bool Operation (int64_t input, float &result, bool strict)
template<>
bool Operation (int64_t input, double &result, bool strict)
template<>
bool Operation (hugeint_t input, bool &result, bool strict)
template<>
bool Operation (hugeint_t input, int8_t &result, bool strict)
template<>
bool Operation (hugeint_t input, int16_t &result, bool strict)
template<>
bool Operation (hugeint_t input, int32_t &result, bool strict)
template<>
bool Operation (hugeint_t input, int64_t &result, bool strict)
template<>
bool Operation (hugeint_t input, hugeint_t &result, bool strict)
template<>
bool Operation (hugeint_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (hugeint_t input, uint8_t &result, bool strict)
template<>
bool Operation (hugeint_t input, uint16_t &result, bool strict)
template<>
bool Operation (hugeint_t input, uint32_t &result, bool strict)
template<>
bool Operation (hugeint_t input, uint64_t &result, bool strict)
template<>
bool Operation (hugeint_t input, float &result, bool strict)
template<>
bool Operation (hugeint_t input, double &result, bool strict)
template<>
bool Operation (uhugeint_t input, bool &result, bool strict)
template<>
bool Operation (uhugeint_t input, int8_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, int16_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, int32_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, int64_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, hugeint_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, uint8_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, uint16_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, uint32_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, uint64_t &result, bool strict)
template<>
bool Operation (uhugeint_t input, float &result, bool strict)
template<>
bool Operation (uhugeint_t input, double &result, bool strict)
template<>
bool Operation (uint8_t input, bool &result, bool strict)
template<>
bool Operation (uint8_t input, int8_t &result, bool strict)
template<>
bool Operation (uint8_t input, int16_t &result, bool strict)
template<>
bool Operation (uint8_t input, int32_t &result, bool strict)
template<>
bool Operation (uint8_t input, int64_t &result, bool strict)
template<>
bool Operation (uint8_t input, hugeint_t &result, bool strict)
template<>
bool Operation (uint8_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (uint8_t input, uint8_t &result, bool strict)
template<>
bool Operation (uint8_t input, uint16_t &result, bool strict)
template<>
bool Operation (uint8_t input, uint32_t &result, bool strict)
template<>
bool Operation (uint8_t input, uint64_t &result, bool strict)
template<>
bool Operation (uint8_t input, float &result, bool strict)
template<>
bool Operation (uint8_t input, double &result, bool strict)
template<>
bool Operation (uint16_t input, bool &result, bool strict)
template<>
bool Operation (uint16_t input, int8_t &result, bool strict)
template<>
bool Operation (uint16_t input, int16_t &result, bool strict)
template<>
bool Operation (uint16_t input, int32_t &result, bool strict)
template<>
bool Operation (uint16_t input, int64_t &result, bool strict)
template<>
bool Operation (uint16_t input, hugeint_t &result, bool strict)
template<>
bool Operation (uint16_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (uint16_t input, uint8_t &result, bool strict)
template<>
bool Operation (uint16_t input, uint16_t &result, bool strict)
template<>
bool Operation (uint16_t input, uint32_t &result, bool strict)
template<>
bool Operation (uint16_t input, uint64_t &result, bool strict)
template<>
bool Operation (uint16_t input, float &result, bool strict)
template<>
bool Operation (uint16_t input, double &result, bool strict)
template<>
bool Operation (uint32_t input, bool &result, bool strict)
template<>
bool Operation (uint32_t input, int8_t &result, bool strict)
template<>
bool Operation (uint32_t input, int16_t &result, bool strict)
template<>
bool Operation (uint32_t input, int32_t &result, bool strict)
template<>
bool Operation (uint32_t input, int64_t &result, bool strict)
template<>
bool Operation (uint32_t input, hugeint_t &result, bool strict)
template<>
bool Operation (uint32_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (uint32_t input, uint8_t &result, bool strict)
template<>
bool Operation (uint32_t input, uint16_t &result, bool strict)
template<>
bool Operation (uint32_t input, uint32_t &result, bool strict)
template<>
bool Operation (uint32_t input, uint64_t &result, bool strict)
template<>
bool Operation (uint32_t input, float &result, bool strict)
template<>
bool Operation (uint32_t input, double &result, bool strict)
template<>
bool Operation (uint64_t input, bool &result, bool strict)
template<>
bool Operation (uint64_t input, int8_t &result, bool strict)
template<>
bool Operation (uint64_t input, int16_t &result, bool strict)
template<>
bool Operation (uint64_t input, int32_t &result, bool strict)
template<>
bool Operation (uint64_t input, int64_t &result, bool strict)
template<>
bool Operation (uint64_t input, hugeint_t &result, bool strict)
template<>
bool Operation (uint64_t input, uhugeint_t &result, bool strict)
template<>
bool Operation (uint64_t input, uint8_t &result, bool strict)
template<>
bool Operation (uint64_t input, uint16_t &result, bool strict)
template<>
bool Operation (uint64_t input, uint32_t &result, bool strict)
template<>
bool Operation (uint64_t input, uint64_t &result, bool strict)
template<>
bool Operation (uint64_t input, float &result, bool strict)
template<>
bool Operation (uint64_t input, double &result, bool strict)
template<>
bool Operation (float input, bool &result, bool strict)
template<>
bool Operation (float input, int8_t &result, bool strict)
template<>
bool Operation (float input, int16_t &result, bool strict)
template<>
bool Operation (float input, int32_t &result, bool strict)
template<>
bool Operation (float input, int64_t &result, bool strict)
template<>
bool Operation (float input, hugeint_t &result, bool strict)
template<>
bool Operation (float input, uhugeint_t &result, bool strict)
template<>
bool Operation (float input, uint8_t &result, bool strict)
template<>
bool Operation (float input, uint16_t &result, bool strict)
template<>
bool Operation (float input, uint32_t &result, bool strict)
template<>
bool Operation (float input, uint64_t &result, bool strict)
template<>
bool Operation (float input, float &result, bool strict)
template<>
bool Operation (float input, double &result, bool strict)
template<>
bool Operation (double input, bool &result, bool strict)
template<>
bool Operation (double input, int8_t &result, bool strict)
template<>
bool Operation (double input, int16_t &result, bool strict)
template<>
bool Operation (double input, int32_t &result, bool strict)
template<>
bool Operation (double input, int64_t &result, bool strict)
template<>
bool Operation (double input, hugeint_t &result, bool strict)
template<>
bool Operation (double input, uhugeint_t &result, bool strict)
template<>
bool Operation (double input, uint8_t &result, bool strict)
template<>
bool Operation (double input, uint16_t &result, bool strict)
template<>
bool Operation (double input, uint32_t &result, bool strict)
template<>
bool Operation (double input, uint64_t &result, bool strict)
template<>
bool Operation (double input, float &result, bool strict)
template<>
bool Operation (double input, double &result, bool strict)
template<>
bool Operation (string_t input, bool &result, bool strict)
template<>
bool Operation (string_t input, int8_t &result, bool strict)
template<>
bool Operation (string_t input, int16_t &result, bool strict)
template<>
bool Operation (string_t input, int32_t &result, bool strict)
template<>
bool Operation (string_t input, int64_t &result, bool strict)
template<>
bool Operation (string_t input, uint8_t &result, bool strict)
template<>
bool Operation (string_t input, uint16_t &result, bool strict)
template<>
bool Operation (string_t input, uint32_t &result, bool strict)
template<>
bool Operation (string_t input, uint64_t &result, bool strict)
template<>
bool Operation (string_t input, float &result, bool strict)
template<>
bool Operation (string_t input, double &result, bool strict)
template<>
bool Operation (date_t input, date_t &result, bool strict)
template<>
bool Operation (date_t input, timestamp_t &result, bool strict)
template<>
bool Operation (dtime_t input, dtime_t &result, bool strict)
template<>
bool Operation (dtime_ns_t input, dtime_ns_t &result, bool strict)
template<>
bool Operation (dtime_ns_t input, dtime_t &result, bool strict)
template<>
bool Operation (dtime_t input, dtime_ns_t &result, bool strict)
template<>
bool Operation (dtime_t input, dtime_tz_t &result, bool strict)
template<>
bool Operation (dtime_tz_t input, dtime_tz_t &result, bool strict)
template<>
bool Operation (dtime_tz_t input, dtime_t &result, bool strict)
template<>
bool Operation (timestamp_t input, date_t &result, bool strict)
template<>
bool Operation (timestamp_t input, dtime_t &result, bool strict)
template<>
bool Operation (timestamp_t input, timestamp_t &result, bool strict)
template<>
bool Operation (timestamp_sec_t input, timestamp_sec_t &result, bool strict)
template<>
bool Operation (timestamp_t input, timestamp_sec_t &result, bool strict)
template<>
bool Operation (timestamp_ms_t input, timestamp_ms_t &result, bool strict)
template<>
bool Operation (timestamp_t input, timestamp_ms_t &result, bool strict)
template<>
bool Operation (timestamp_ns_t input, timestamp_ns_t &result, bool strict)
template<>
bool Operation (timestamp_t input, timestamp_ns_t &result, bool strict)
template<>
bool Operation (timestamp_tz_t input, timestamp_tz_t &result, bool strict)
template<>
bool Operation (timestamp_t input, timestamp_tz_t &result, bool strict)
template<>
bool Operation (timestamp_t input, dtime_tz_t &result, bool strict)
template<>
bool Operation (interval_t input, interval_t &result, bool strict)
template<>
bool Operation (string_t input, date_t &result, bool strict)
template<>
bool Operation (string_t input, dtime_t &result, bool strict)
template<>
bool Operation (string_t input, dtime_ns_t &result, bool strict)
template<>
bool Operation (string_t input, dtime_tz_t &result, bool strict)
template<>
bool Operation (string_t input, timestamp_t &result, bool strict)
template<>
bool Operation (string_t input, timestamp_tz_t &result, bool strict)
template<>
bool Operation (string_t input, timestamp_ns_t &result, bool strict)
template<>
bool Operation (string_t input, hugeint_t &result, bool strict)
template<>
bool Operation (string_t input, uhugeint_t &result, bool strict)

Static Public Member Functions

static ConversionException UnimplementedErrorMessage (PhysicalType source, PhysicalType target, optional_ptr< CastParameters > parameters)
static string UnimplementedCastMessage (const LogicalType &source, const LogicalType &target)
template<class SRC, class DST>
static bool Operation (SRC input, DST &result, bool strict=false)

Member Function Documentation

◆ UnimplementedErrorMessage()

ConversionException duckdb::TryCast::UnimplementedErrorMessage ( PhysicalType source,
PhysicalType target,
optional_ptr< CastParameters > parameters )
static
88673 {
88674 optional_idx query_location;
88675 if (parameters) {
88676 query_location = parameters->query_location;
88677 if (parameters->cast_source && parameters->cast_target) {
88678 auto &source_expr = *parameters->cast_source;
88679 auto &target_expr = *parameters->cast_target;
88680 return ConversionException(query_location,
88681 UnimplementedCastMessage(source_expr.return_type, target_expr.return_type));
88682 }
88683 }
88684 return ConversionException(query_location, "Unimplemented type for cast (%s -> %s)", source, target);
88685}

◆ UnimplementedCastMessage()

string duckdb::TryCast::UnimplementedCastMessage ( const LogicalType & source,
const LogicalType & target )
static
88687 {
88688 return StringUtil::Format("Unimplemented type for cast (%s -> %s)", source, target);
88689}
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002

◆ Operation() [1/212]

template<class SRC, class DST>
bool duckdb::TryCast::Operation ( SRC input,
DST & result,
bool strict = false )
inlinestatic
31209 {
31210 throw UnimplementedErrorMessage(GetTypeId<SRC>(), GetTypeId<DST>(), nullptr);
31211 }
PhysicalType GetTypeId()
Returns the PhysicalType for the given type.
Definition duckdb.hpp:10381

◆ Operation() [2/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
bool & result,
bool strict )
88695 {
88696 return NumericTryCast::Operation<bool, bool>(input, result, strict);
88697}

◆ Operation() [3/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
int8_t & result,
bool strict )
88700 {
88701 return NumericTryCast::Operation<bool, int8_t>(input, result, strict);
88702}

◆ Operation() [4/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
int16_t & result,
bool strict )
88705 {
88706 return NumericTryCast::Operation<bool, int16_t>(input, result, strict);
88707}

◆ Operation() [5/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
int32_t & result,
bool strict )
88710 {
88711 return NumericTryCast::Operation<bool, int32_t>(input, result, strict);
88712}

◆ Operation() [6/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
int64_t & result,
bool strict )
88715 {
88716 return NumericTryCast::Operation<bool, int64_t>(input, result, strict);
88717}

◆ Operation() [7/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
hugeint_t & result,
bool strict )
88720 {
88721 return NumericTryCast::Operation<bool, hugeint_t>(input, result, strict);
88722}

◆ Operation() [8/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
uhugeint_t & result,
bool strict )
88725 {
88726 return NumericTryCast::Operation<bool, uhugeint_t>(input, result, strict);
88727}

◆ Operation() [9/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
uint8_t & result,
bool strict )
88730 {
88731 return NumericTryCast::Operation<bool, uint8_t>(input, result, strict);
88732}

◆ Operation() [10/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
uint16_t & result,
bool strict )
88735 {
88736 return NumericTryCast::Operation<bool, uint16_t>(input, result, strict);
88737}

◆ Operation() [11/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
uint32_t & result,
bool strict )
88740 {
88741 return NumericTryCast::Operation<bool, uint32_t>(input, result, strict);
88742}

◆ Operation() [12/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
uint64_t & result,
bool strict )
88745 {
88746 return NumericTryCast::Operation<bool, uint64_t>(input, result, strict);
88747}

◆ Operation() [13/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
float & result,
bool strict )
88750 {
88751 return NumericTryCast::Operation<bool, float>(input, result, strict);
88752}

◆ Operation() [14/212]

template<>
bool duckdb::TryCast::Operation ( bool input,
double & result,
bool strict )
88755 {
88756 return NumericTryCast::Operation<bool, double>(input, result, strict);
88757}

◆ Operation() [15/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
bool & result,
bool strict )
88763 {
88764 return NumericTryCast::Operation<int8_t, bool>(input, result, strict);
88765}

◆ Operation() [16/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
int8_t & result,
bool strict )
88768 {
88769 return NumericTryCast::Operation<int8_t, int8_t>(input, result, strict);
88770}

◆ Operation() [17/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
int16_t & result,
bool strict )
88773 {
88774 return NumericTryCast::Operation<int8_t, int16_t>(input, result, strict);
88775}

◆ Operation() [18/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
int32_t & result,
bool strict )
88778 {
88779 return NumericTryCast::Operation<int8_t, int32_t>(input, result, strict);
88780}

◆ Operation() [19/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
int64_t & result,
bool strict )
88783 {
88784 return NumericTryCast::Operation<int8_t, int64_t>(input, result, strict);
88785}

◆ Operation() [20/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
hugeint_t & result,
bool strict )
88788 {
88789 return NumericTryCast::Operation<int8_t, hugeint_t>(input, result, strict);
88790}

◆ Operation() [21/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
uhugeint_t & result,
bool strict )
88793 {
88794 return NumericTryCast::Operation<int8_t, uhugeint_t>(input, result, strict);
88795}

◆ Operation() [22/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
uint8_t & result,
bool strict )
88798 {
88799 return NumericTryCast::Operation<int8_t, uint8_t>(input, result, strict);
88800}

◆ Operation() [23/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
uint16_t & result,
bool strict )
88803 {
88804 return NumericTryCast::Operation<int8_t, uint16_t>(input, result, strict);
88805}

◆ Operation() [24/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
uint32_t & result,
bool strict )
88808 {
88809 return NumericTryCast::Operation<int8_t, uint32_t>(input, result, strict);
88810}

◆ Operation() [25/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
uint64_t & result,
bool strict )
88813 {
88814 return NumericTryCast::Operation<int8_t, uint64_t>(input, result, strict);
88815}

◆ Operation() [26/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
float & result,
bool strict )
88818 {
88819 return NumericTryCast::Operation<int8_t, float>(input, result, strict);
88820}

◆ Operation() [27/212]

template<>
bool duckdb::TryCast::Operation ( int8_t input,
double & result,
bool strict )
88823 {
88824 return NumericTryCast::Operation<int8_t, double>(input, result, strict);
88825}

◆ Operation() [28/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
bool & result,
bool strict )
88831 {
88832 return NumericTryCast::Operation<int16_t, bool>(input, result, strict);
88833}

◆ Operation() [29/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
int8_t & result,
bool strict )
88836 {
88837 return NumericTryCast::Operation<int16_t, int8_t>(input, result, strict);
88838}

◆ Operation() [30/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
int16_t & result,
bool strict )
88841 {
88842 return NumericTryCast::Operation<int16_t, int16_t>(input, result, strict);
88843}

◆ Operation() [31/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
int32_t & result,
bool strict )
88846 {
88847 return NumericTryCast::Operation<int16_t, int32_t>(input, result, strict);
88848}

◆ Operation() [32/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
int64_t & result,
bool strict )
88851 {
88852 return NumericTryCast::Operation<int16_t, int64_t>(input, result, strict);
88853}

◆ Operation() [33/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
hugeint_t & result,
bool strict )
88856 {
88857 return NumericTryCast::Operation<int16_t, hugeint_t>(input, result, strict);
88858}

◆ Operation() [34/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
uhugeint_t & result,
bool strict )
88861 {
88862 return NumericTryCast::Operation<int16_t, uhugeint_t>(input, result, strict);
88863}

◆ Operation() [35/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
uint8_t & result,
bool strict )
88866 {
88867 return NumericTryCast::Operation<int16_t, uint8_t>(input, result, strict);
88868}

◆ Operation() [36/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
uint16_t & result,
bool strict )
88871 {
88872 return NumericTryCast::Operation<int16_t, uint16_t>(input, result, strict);
88873}

◆ Operation() [37/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
uint32_t & result,
bool strict )
88876 {
88877 return NumericTryCast::Operation<int16_t, uint32_t>(input, result, strict);
88878}

◆ Operation() [38/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
uint64_t & result,
bool strict )
88881 {
88882 return NumericTryCast::Operation<int16_t, uint64_t>(input, result, strict);
88883}

◆ Operation() [39/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
float & result,
bool strict )
88886 {
88887 return NumericTryCast::Operation<int16_t, float>(input, result, strict);
88888}

◆ Operation() [40/212]

template<>
bool duckdb::TryCast::Operation ( int16_t input,
double & result,
bool strict )
88891 {
88892 return NumericTryCast::Operation<int16_t, double>(input, result, strict);
88893}

◆ Operation() [41/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
bool & result,
bool strict )
88899 {
88900 return NumericTryCast::Operation<int32_t, bool>(input, result, strict);
88901}

◆ Operation() [42/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
int8_t & result,
bool strict )
88904 {
88905 return NumericTryCast::Operation<int32_t, int8_t>(input, result, strict);
88906}

◆ Operation() [43/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
int16_t & result,
bool strict )
88909 {
88910 return NumericTryCast::Operation<int32_t, int16_t>(input, result, strict);
88911}

◆ Operation() [44/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
int32_t & result,
bool strict )
88914 {
88915 return NumericTryCast::Operation<int32_t, int32_t>(input, result, strict);
88916}

◆ Operation() [45/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
int64_t & result,
bool strict )
88919 {
88920 return NumericTryCast::Operation<int32_t, int64_t>(input, result, strict);
88921}

◆ Operation() [46/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
hugeint_t & result,
bool strict )
88924 {
88925 return NumericTryCast::Operation<int32_t, hugeint_t>(input, result, strict);
88926}

◆ Operation() [47/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
uhugeint_t & result,
bool strict )
88929 {
88930 return NumericTryCast::Operation<int32_t, uhugeint_t>(input, result, strict);
88931}

◆ Operation() [48/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
uint8_t & result,
bool strict )
88934 {
88935 return NumericTryCast::Operation<int32_t, uint8_t>(input, result, strict);
88936}

◆ Operation() [49/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
uint16_t & result,
bool strict )
88939 {
88940 return NumericTryCast::Operation<int32_t, uint16_t>(input, result, strict);
88941}

◆ Operation() [50/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
uint32_t & result,
bool strict )
88944 {
88945 return NumericTryCast::Operation<int32_t, uint32_t>(input, result, strict);
88946}

◆ Operation() [51/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
uint64_t & result,
bool strict )
88949 {
88950 return NumericTryCast::Operation<int32_t, uint64_t>(input, result, strict);
88951}

◆ Operation() [52/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
float & result,
bool strict )
88954 {
88955 return NumericTryCast::Operation<int32_t, float>(input, result, strict);
88956}

◆ Operation() [53/212]

template<>
bool duckdb::TryCast::Operation ( int32_t input,
double & result,
bool strict )
88959 {
88960 return NumericTryCast::Operation<int32_t, double>(input, result, strict);
88961}

◆ Operation() [54/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
bool & result,
bool strict )
88967 {
88968 return NumericTryCast::Operation<int64_t, bool>(input, result, strict);
88969}

◆ Operation() [55/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
int8_t & result,
bool strict )
88972 {
88973 return NumericTryCast::Operation<int64_t, int8_t>(input, result, strict);
88974}

◆ Operation() [56/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
int16_t & result,
bool strict )
88977 {
88978 return NumericTryCast::Operation<int64_t, int16_t>(input, result, strict);
88979}

◆ Operation() [57/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
int32_t & result,
bool strict )
88982 {
88983 return NumericTryCast::Operation<int64_t, int32_t>(input, result, strict);
88984}

◆ Operation() [58/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
int64_t & result,
bool strict )
88987 {
88988 return NumericTryCast::Operation<int64_t, int64_t>(input, result, strict);
88989}

◆ Operation() [59/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
hugeint_t & result,
bool strict )
88992 {
88993 return NumericTryCast::Operation<int64_t, hugeint_t>(input, result, strict);
88994}

◆ Operation() [60/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
uhugeint_t & result,
bool strict )
88997 {
88998 return NumericTryCast::Operation<int64_t, uhugeint_t>(input, result, strict);
88999}

◆ Operation() [61/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
uint8_t & result,
bool strict )
89002 {
89003 return NumericTryCast::Operation<int64_t, uint8_t>(input, result, strict);
89004}

◆ Operation() [62/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
uint16_t & result,
bool strict )
89007 {
89008 return NumericTryCast::Operation<int64_t, uint16_t>(input, result, strict);
89009}

◆ Operation() [63/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
uint32_t & result,
bool strict )
89012 {
89013 return NumericTryCast::Operation<int64_t, uint32_t>(input, result, strict);
89014}

◆ Operation() [64/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
uint64_t & result,
bool strict )
89017 {
89018 return NumericTryCast::Operation<int64_t, uint64_t>(input, result, strict);
89019}

◆ Operation() [65/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
float & result,
bool strict )
89022 {
89023 return NumericTryCast::Operation<int64_t, float>(input, result, strict);
89024}

◆ Operation() [66/212]

template<>
bool duckdb::TryCast::Operation ( int64_t input,
double & result,
bool strict )
89027 {
89028 return NumericTryCast::Operation<int64_t, double>(input, result, strict);
89029}

◆ Operation() [67/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
bool & result,
bool strict )
89035 {
89036 return NumericTryCast::Operation<hugeint_t, bool>(input, result, strict);
89037}

◆ Operation() [68/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
int8_t & result,
bool strict )
89040 {
89041 return NumericTryCast::Operation<hugeint_t, int8_t>(input, result, strict);
89042}

◆ Operation() [69/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
int16_t & result,
bool strict )
89045 {
89046 return NumericTryCast::Operation<hugeint_t, int16_t>(input, result, strict);
89047}

◆ Operation() [70/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
int32_t & result,
bool strict )
89050 {
89051 return NumericTryCast::Operation<hugeint_t, int32_t>(input, result, strict);
89052}

◆ Operation() [71/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
int64_t & result,
bool strict )
89055 {
89056 return NumericTryCast::Operation<hugeint_t, int64_t>(input, result, strict);
89057}

◆ Operation() [72/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
hugeint_t & result,
bool strict )
89060 {
89061 return NumericTryCast::Operation<hugeint_t, hugeint_t>(input, result, strict);
89062}

◆ Operation() [73/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
uhugeint_t & result,
bool strict )
89065 {
89066 return NumericTryCast::Operation<hugeint_t, uhugeint_t>(input, result, strict);
89067}

◆ Operation() [74/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
uint8_t & result,
bool strict )
89070 {
89071 return NumericTryCast::Operation<hugeint_t, uint8_t>(input, result, strict);
89072}

◆ Operation() [75/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
uint16_t & result,
bool strict )
89075 {
89076 return NumericTryCast::Operation<hugeint_t, uint16_t>(input, result, strict);
89077}

◆ Operation() [76/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
uint32_t & result,
bool strict )
89080 {
89081 return NumericTryCast::Operation<hugeint_t, uint32_t>(input, result, strict);
89082}

◆ Operation() [77/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
uint64_t & result,
bool strict )
89085 {
89086 return NumericTryCast::Operation<hugeint_t, uint64_t>(input, result, strict);
89087}

◆ Operation() [78/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
float & result,
bool strict )
89090 {
89091 return NumericTryCast::Operation<hugeint_t, float>(input, result, strict);
89092}

◆ Operation() [79/212]

template<>
bool duckdb::TryCast::Operation ( hugeint_t input,
double & result,
bool strict )
89095 {
89096 return NumericTryCast::Operation<hugeint_t, double>(input, result, strict);
89097}

◆ Operation() [80/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
bool & result,
bool strict )
89103 {
89104 return NumericTryCast::Operation<uhugeint_t, bool>(input, result, strict);
89105}

◆ Operation() [81/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
int8_t & result,
bool strict )
89108 {
89109 return NumericTryCast::Operation<uhugeint_t, int8_t>(input, result, strict);
89110}

◆ Operation() [82/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
int16_t & result,
bool strict )
89113 {
89114 return NumericTryCast::Operation<uhugeint_t, int16_t>(input, result, strict);
89115}

◆ Operation() [83/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
int32_t & result,
bool strict )
89118 {
89119 return NumericTryCast::Operation<uhugeint_t, int32_t>(input, result, strict);
89120}

◆ Operation() [84/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
int64_t & result,
bool strict )
89123 {
89124 return NumericTryCast::Operation<uhugeint_t, int64_t>(input, result, strict);
89125}

◆ Operation() [85/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
uhugeint_t & result,
bool strict )
89128 {
89129 return NumericTryCast::Operation<uhugeint_t, uhugeint_t>(input, result, strict);
89130}

◆ Operation() [86/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
hugeint_t & result,
bool strict )
89133 {
89134 return NumericTryCast::Operation<uhugeint_t, hugeint_t>(input, result, strict);
89135}

◆ Operation() [87/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
uint8_t & result,
bool strict )
89138 {
89139 return NumericTryCast::Operation<uhugeint_t, uint8_t>(input, result, strict);
89140}

◆ Operation() [88/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
uint16_t & result,
bool strict )
89143 {
89144 return NumericTryCast::Operation<uhugeint_t, uint16_t>(input, result, strict);
89145}

◆ Operation() [89/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
uint32_t & result,
bool strict )
89148 {
89149 return NumericTryCast::Operation<uhugeint_t, uint32_t>(input, result, strict);
89150}

◆ Operation() [90/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
uint64_t & result,
bool strict )
89153 {
89154 return NumericTryCast::Operation<uhugeint_t, uint64_t>(input, result, strict);
89155}

◆ Operation() [91/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
float & result,
bool strict )
89158 {
89159 return NumericTryCast::Operation<uhugeint_t, float>(input, result, strict);
89160}

◆ Operation() [92/212]

template<>
bool duckdb::TryCast::Operation ( uhugeint_t input,
double & result,
bool strict )
89163 {
89164 return NumericTryCast::Operation<uhugeint_t, double>(input, result, strict);
89165}

◆ Operation() [93/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
bool & result,
bool strict )
89171 {
89172 return NumericTryCast::Operation<uint8_t, bool>(input, result, strict);
89173}

◆ Operation() [94/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
int8_t & result,
bool strict )
89176 {
89177 return NumericTryCast::Operation<uint8_t, int8_t>(input, result, strict);
89178}

◆ Operation() [95/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
int16_t & result,
bool strict )
89181 {
89182 return NumericTryCast::Operation<uint8_t, int16_t>(input, result, strict);
89183}

◆ Operation() [96/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
int32_t & result,
bool strict )
89186 {
89187 return NumericTryCast::Operation<uint8_t, int32_t>(input, result, strict);
89188}

◆ Operation() [97/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
int64_t & result,
bool strict )
89191 {
89192 return NumericTryCast::Operation<uint8_t, int64_t>(input, result, strict);
89193}

◆ Operation() [98/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
hugeint_t & result,
bool strict )
89196 {
89197 return NumericTryCast::Operation<uint8_t, hugeint_t>(input, result, strict);
89198}

◆ Operation() [99/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
uhugeint_t & result,
bool strict )
89201 {
89202 return NumericTryCast::Operation<uint8_t, uhugeint_t>(input, result, strict);
89203}

◆ Operation() [100/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
uint8_t & result,
bool strict )
89206 {
89207 return NumericTryCast::Operation<uint8_t, uint8_t>(input, result, strict);
89208}

◆ Operation() [101/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
uint16_t & result,
bool strict )
89211 {
89212 return NumericTryCast::Operation<uint8_t, uint16_t>(input, result, strict);
89213}

◆ Operation() [102/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
uint32_t & result,
bool strict )
89216 {
89217 return NumericTryCast::Operation<uint8_t, uint32_t>(input, result, strict);
89218}

◆ Operation() [103/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
uint64_t & result,
bool strict )
89221 {
89222 return NumericTryCast::Operation<uint8_t, uint64_t>(input, result, strict);
89223}

◆ Operation() [104/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
float & result,
bool strict )
89226 {
89227 return NumericTryCast::Operation<uint8_t, float>(input, result, strict);
89228}

◆ Operation() [105/212]

template<>
bool duckdb::TryCast::Operation ( uint8_t input,
double & result,
bool strict )
89231 {
89232 return NumericTryCast::Operation<uint8_t, double>(input, result, strict);
89233}

◆ Operation() [106/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
bool & result,
bool strict )
89239 {
89240 return NumericTryCast::Operation<uint16_t, bool>(input, result, strict);
89241}

◆ Operation() [107/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
int8_t & result,
bool strict )
89244 {
89245 return NumericTryCast::Operation<uint16_t, int8_t>(input, result, strict);
89246}

◆ Operation() [108/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
int16_t & result,
bool strict )
89249 {
89250 return NumericTryCast::Operation<uint16_t, int16_t>(input, result, strict);
89251}

◆ Operation() [109/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
int32_t & result,
bool strict )
89254 {
89255 return NumericTryCast::Operation<uint16_t, int32_t>(input, result, strict);
89256}

◆ Operation() [110/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
int64_t & result,
bool strict )
89259 {
89260 return NumericTryCast::Operation<uint16_t, int64_t>(input, result, strict);
89261}

◆ Operation() [111/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
hugeint_t & result,
bool strict )
89264 {
89265 return NumericTryCast::Operation<uint16_t, hugeint_t>(input, result, strict);
89266}

◆ Operation() [112/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
uhugeint_t & result,
bool strict )
89269 {
89270 return NumericTryCast::Operation<uint16_t, uhugeint_t>(input, result, strict);
89271}

◆ Operation() [113/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
uint8_t & result,
bool strict )
89274 {
89275 return NumericTryCast::Operation<uint16_t, uint8_t>(input, result, strict);
89276}

◆ Operation() [114/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
uint16_t & result,
bool strict )
89279 {
89280 return NumericTryCast::Operation<uint16_t, uint16_t>(input, result, strict);
89281}

◆ Operation() [115/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
uint32_t & result,
bool strict )
89284 {
89285 return NumericTryCast::Operation<uint16_t, uint32_t>(input, result, strict);
89286}

◆ Operation() [116/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
uint64_t & result,
bool strict )
89289 {
89290 return NumericTryCast::Operation<uint16_t, uint64_t>(input, result, strict);
89291}

◆ Operation() [117/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
float & result,
bool strict )
89294 {
89295 return NumericTryCast::Operation<uint16_t, float>(input, result, strict);
89296}

◆ Operation() [118/212]

template<>
bool duckdb::TryCast::Operation ( uint16_t input,
double & result,
bool strict )
89299 {
89300 return NumericTryCast::Operation<uint16_t, double>(input, result, strict);
89301}

◆ Operation() [119/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
bool & result,
bool strict )
89307 {
89308 return NumericTryCast::Operation<uint32_t, bool>(input, result, strict);
89309}

◆ Operation() [120/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
int8_t & result,
bool strict )
89312 {
89313 return NumericTryCast::Operation<uint32_t, int8_t>(input, result, strict);
89314}

◆ Operation() [121/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
int16_t & result,
bool strict )
89317 {
89318 return NumericTryCast::Operation<uint32_t, int16_t>(input, result, strict);
89319}

◆ Operation() [122/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
int32_t & result,
bool strict )
89322 {
89323 return NumericTryCast::Operation<uint32_t, int32_t>(input, result, strict);
89324}

◆ Operation() [123/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
int64_t & result,
bool strict )
89327 {
89328 return NumericTryCast::Operation<uint32_t, int64_t>(input, result, strict);
89329}

◆ Operation() [124/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
hugeint_t & result,
bool strict )
89332 {
89333 return NumericTryCast::Operation<uint32_t, hugeint_t>(input, result, strict);
89334}

◆ Operation() [125/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
uhugeint_t & result,
bool strict )
89337 {
89338 return NumericTryCast::Operation<uint32_t, uhugeint_t>(input, result, strict);
89339}

◆ Operation() [126/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
uint8_t & result,
bool strict )
89342 {
89343 return NumericTryCast::Operation<uint32_t, uint8_t>(input, result, strict);
89344}

◆ Operation() [127/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
uint16_t & result,
bool strict )
89347 {
89348 return NumericTryCast::Operation<uint32_t, uint16_t>(input, result, strict);
89349}

◆ Operation() [128/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
uint32_t & result,
bool strict )
89352 {
89353 return NumericTryCast::Operation<uint32_t, uint32_t>(input, result, strict);
89354}

◆ Operation() [129/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
uint64_t & result,
bool strict )
89357 {
89358 return NumericTryCast::Operation<uint32_t, uint64_t>(input, result, strict);
89359}

◆ Operation() [130/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
float & result,
bool strict )
89362 {
89363 return NumericTryCast::Operation<uint32_t, float>(input, result, strict);
89364}

◆ Operation() [131/212]

template<>
bool duckdb::TryCast::Operation ( uint32_t input,
double & result,
bool strict )
89367 {
89368 return NumericTryCast::Operation<uint32_t, double>(input, result, strict);
89369}

◆ Operation() [132/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
bool & result,
bool strict )
89375 {
89376 return NumericTryCast::Operation<uint64_t, bool>(input, result, strict);
89377}

◆ Operation() [133/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
int8_t & result,
bool strict )
89380 {
89381 return NumericTryCast::Operation<uint64_t, int8_t>(input, result, strict);
89382}

◆ Operation() [134/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
int16_t & result,
bool strict )
89385 {
89386 return NumericTryCast::Operation<uint64_t, int16_t>(input, result, strict);
89387}

◆ Operation() [135/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
int32_t & result,
bool strict )
89390 {
89391 return NumericTryCast::Operation<uint64_t, int32_t>(input, result, strict);
89392}

◆ Operation() [136/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
int64_t & result,
bool strict )
89395 {
89396 return NumericTryCast::Operation<uint64_t, int64_t>(input, result, strict);
89397}

◆ Operation() [137/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
hugeint_t & result,
bool strict )
89400 {
89401 return NumericTryCast::Operation<uint64_t, hugeint_t>(input, result, strict);
89402}

◆ Operation() [138/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
uhugeint_t & result,
bool strict )
89405 {
89406 return NumericTryCast::Operation<uint64_t, uhugeint_t>(input, result, strict);
89407}

◆ Operation() [139/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
uint8_t & result,
bool strict )
89410 {
89411 return NumericTryCast::Operation<uint64_t, uint8_t>(input, result, strict);
89412}

◆ Operation() [140/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
uint16_t & result,
bool strict )
89415 {
89416 return NumericTryCast::Operation<uint64_t, uint16_t>(input, result, strict);
89417}

◆ Operation() [141/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
uint32_t & result,
bool strict )
89420 {
89421 return NumericTryCast::Operation<uint64_t, uint32_t>(input, result, strict);
89422}

◆ Operation() [142/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
uint64_t & result,
bool strict )
89425 {
89426 return NumericTryCast::Operation<uint64_t, uint64_t>(input, result, strict);
89427}

◆ Operation() [143/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
float & result,
bool strict )
89430 {
89431 return NumericTryCast::Operation<uint64_t, float>(input, result, strict);
89432}

◆ Operation() [144/212]

template<>
bool duckdb::TryCast::Operation ( uint64_t input,
double & result,
bool strict )
89435 {
89436 return NumericTryCast::Operation<uint64_t, double>(input, result, strict);
89437}

◆ Operation() [145/212]

template<>
bool duckdb::TryCast::Operation ( float input,
bool & result,
bool strict )
89443 {
89444 return NumericTryCast::Operation<float, bool>(input, result, strict);
89445}

◆ Operation() [146/212]

template<>
bool duckdb::TryCast::Operation ( float input,
int8_t & result,
bool strict )
89448 {
89449 return NumericTryCast::Operation<float, int8_t>(input, result, strict);
89450}

◆ Operation() [147/212]

template<>
bool duckdb::TryCast::Operation ( float input,
int16_t & result,
bool strict )
89453 {
89454 return NumericTryCast::Operation<float, int16_t>(input, result, strict);
89455}

◆ Operation() [148/212]

template<>
bool duckdb::TryCast::Operation ( float input,
int32_t & result,
bool strict )
89458 {
89459 return NumericTryCast::Operation<float, int32_t>(input, result, strict);
89460}

◆ Operation() [149/212]

template<>
bool duckdb::TryCast::Operation ( float input,
int64_t & result,
bool strict )
89463 {
89464 return NumericTryCast::Operation<float, int64_t>(input, result, strict);
89465}

◆ Operation() [150/212]

template<>
bool duckdb::TryCast::Operation ( float input,
hugeint_t & result,
bool strict )
89468 {
89469 return NumericTryCast::Operation<float, hugeint_t>(input, result, strict);
89470}

◆ Operation() [151/212]

template<>
bool duckdb::TryCast::Operation ( float input,
uhugeint_t & result,
bool strict )
89473 {
89474 return NumericTryCast::Operation<float, uhugeint_t>(input, result, strict);
89475}

◆ Operation() [152/212]

template<>
bool duckdb::TryCast::Operation ( float input,
uint8_t & result,
bool strict )
89478 {
89479 return NumericTryCast::Operation<float, uint8_t>(input, result, strict);
89480}

◆ Operation() [153/212]

template<>
bool duckdb::TryCast::Operation ( float input,
uint16_t & result,
bool strict )
89483 {
89484 return NumericTryCast::Operation<float, uint16_t>(input, result, strict);
89485}

◆ Operation() [154/212]

template<>
bool duckdb::TryCast::Operation ( float input,
uint32_t & result,
bool strict )
89488 {
89489 return NumericTryCast::Operation<float, uint32_t>(input, result, strict);
89490}

◆ Operation() [155/212]

template<>
bool duckdb::TryCast::Operation ( float input,
uint64_t & result,
bool strict )
89493 {
89494 return NumericTryCast::Operation<float, uint64_t>(input, result, strict);
89495}

◆ Operation() [156/212]

template<>
bool duckdb::TryCast::Operation ( float input,
float & result,
bool strict )
89498 {
89499 return NumericTryCast::Operation<float, float>(input, result, strict);
89500}

◆ Operation() [157/212]

template<>
bool duckdb::TryCast::Operation ( float input,
double & result,
bool strict )
89503 {
89504 return NumericTryCast::Operation<float, double>(input, result, strict);
89505}

◆ Operation() [158/212]

template<>
bool duckdb::TryCast::Operation ( double input,
bool & result,
bool strict )
89511 {
89512 return NumericTryCast::Operation<double, bool>(input, result, strict);
89513}

◆ Operation() [159/212]

template<>
bool duckdb::TryCast::Operation ( double input,
int8_t & result,
bool strict )
89516 {
89517 return NumericTryCast::Operation<double, int8_t>(input, result, strict);
89518}

◆ Operation() [160/212]

template<>
bool duckdb::TryCast::Operation ( double input,
int16_t & result,
bool strict )
89521 {
89522 return NumericTryCast::Operation<double, int16_t>(input, result, strict);
89523}

◆ Operation() [161/212]

template<>
bool duckdb::TryCast::Operation ( double input,
int32_t & result,
bool strict )
89526 {
89527 return NumericTryCast::Operation<double, int32_t>(input, result, strict);
89528}

◆ Operation() [162/212]

template<>
bool duckdb::TryCast::Operation ( double input,
int64_t & result,
bool strict )
89531 {
89532 return NumericTryCast::Operation<double, int64_t>(input, result, strict);
89533}

◆ Operation() [163/212]

template<>
bool duckdb::TryCast::Operation ( double input,
hugeint_t & result,
bool strict )
89536 {
89537 return NumericTryCast::Operation<double, hugeint_t>(input, result, strict);
89538}

◆ Operation() [164/212]

template<>
bool duckdb::TryCast::Operation ( double input,
uhugeint_t & result,
bool strict )
89541 {
89542 return NumericTryCast::Operation<double, uhugeint_t>(input, result, strict);
89543}

◆ Operation() [165/212]

template<>
bool duckdb::TryCast::Operation ( double input,
uint8_t & result,
bool strict )
89546 {
89547 return NumericTryCast::Operation<double, uint8_t>(input, result, strict);
89548}

◆ Operation() [166/212]

template<>
bool duckdb::TryCast::Operation ( double input,
uint16_t & result,
bool strict )
89551 {
89552 return NumericTryCast::Operation<double, uint16_t>(input, result, strict);
89553}

◆ Operation() [167/212]

template<>
bool duckdb::TryCast::Operation ( double input,
uint32_t & result,
bool strict )
89556 {
89557 return NumericTryCast::Operation<double, uint32_t>(input, result, strict);
89558}

◆ Operation() [168/212]

template<>
bool duckdb::TryCast::Operation ( double input,
uint64_t & result,
bool strict )
89561 {
89562 return NumericTryCast::Operation<double, uint64_t>(input, result, strict);
89563}

◆ Operation() [169/212]

template<>
bool duckdb::TryCast::Operation ( double input,
float & result,
bool strict )
89566 {
89567 return NumericTryCast::Operation<double, float>(input, result, strict);
89568}

◆ Operation() [170/212]

template<>
bool duckdb::TryCast::Operation ( double input,
double & result,
bool strict )
89571 {
89572 return NumericTryCast::Operation<double, double>(input, result, strict);
89573}

◆ Operation() [171/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
bool & result,
bool strict )
89580 {
89581 auto input_data = reinterpret_cast<const char *>(input.GetData());
89582 auto input_size = input.GetSize();
89583 return TryCastStringBool(input_data, input_size, result, strict);
89584}

◆ Operation() [172/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
int8_t & result,
bool strict )
89586 {
89587 return TrySimpleIntegerCast<int8_t>(input.GetData(), input.GetSize(), result, strict);
89588}

◆ Operation() [173/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
int16_t & result,
bool strict )
89590 {
89591 return TrySimpleIntegerCast<int16_t>(input.GetData(), input.GetSize(), result, strict);
89592}

◆ Operation() [174/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
int32_t & result,
bool strict )
89594 {
89595 return TrySimpleIntegerCast<int32_t>(input.GetData(), input.GetSize(), result, strict);
89596}

◆ Operation() [175/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
int64_t & result,
bool strict )
89598 {
89599 return TrySimpleIntegerCast<int64_t>(input.GetData(), input.GetSize(), result, strict);
89600}

◆ Operation() [176/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
uint8_t & result,
bool strict )
89603 {
89604 return TrySimpleIntegerCast<uint8_t, false>(input.GetData(), input.GetSize(), result, strict);
89605}

◆ Operation() [177/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
uint16_t & result,
bool strict )
89607 {
89608 return TrySimpleIntegerCast<uint16_t, false>(input.GetData(), input.GetSize(), result, strict);
89609}

◆ Operation() [178/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
uint32_t & result,
bool strict )
89611 {
89612 return TrySimpleIntegerCast<uint32_t, false>(input.GetData(), input.GetSize(), result, strict);
89613}

◆ Operation() [179/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
uint64_t & result,
bool strict )
89615 {
89616 return TrySimpleIntegerCast<uint64_t, false>(input.GetData(), input.GetSize(), result, strict);
89617}

◆ Operation() [180/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
float & result,
bool strict )
89620 {
89621 return TryDoubleCast<float>(input.GetData(), input.GetSize(), result, strict);
89622}

◆ Operation() [181/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
double & result,
bool strict )
89625 {
89626 return TryDoubleCast<double>(input.GetData(), input.GetSize(), result, strict);
89627}

◆ Operation() [182/212]

template<>
bool duckdb::TryCast::Operation ( date_t input,
date_t & result,
bool strict )
89653 {
89654 result = input;
89655 return true;
89656}

◆ Operation() [183/212]

template<>
bool duckdb::TryCast::Operation ( date_t input,
timestamp_t & result,
bool strict )
89659 {
89660 if (input == date_t::infinity()) {
89661 result = timestamp_t::infinity();
89662 return true;
89663 } else if (input == date_t::ninfinity()) {
89664 result = timestamp_t::ninfinity();
89665 return true;
89666 }
89667 return Timestamp::TryFromDatetime(input, Time::FromTime(0, 0, 0), result);
89668}

◆ Operation() [184/212]

template<>
bool duckdb::TryCast::Operation ( dtime_t input,
dtime_t & result,
bool strict )
89674 {
89675 result = input;
89676 return true;
89677}

◆ Operation() [185/212]

template<>
bool duckdb::TryCast::Operation ( dtime_ns_t input,
dtime_ns_t & result,
bool strict )
89680 {
89681 result.micros = input.micros;
89682 return true;
89683}

◆ Operation() [186/212]

template<>
bool duckdb::TryCast::Operation ( dtime_ns_t input,
dtime_t & result,
bool strict )
89686 {
89687 // Round
89688 result.micros = (input.micros + (Interval::NANOS_PER_MICRO / 2)) / Interval::NANOS_PER_MICRO;
89689 return true;
89690}

◆ Operation() [187/212]

template<>
bool duckdb::TryCast::Operation ( dtime_t input,
dtime_ns_t & result,
bool strict )
89693 {
89694 if (!TryMultiplyOperator::Operation(input.micros, Interval::NANOS_PER_MICRO, result.micros)) {
89695 throw ConversionException("Could not convert TIME to TIME_NS");
89696 }
89697 return true;
89698}

◆ Operation() [188/212]

template<>
bool duckdb::TryCast::Operation ( dtime_t input,
dtime_tz_t & result,
bool strict )
89701 {
89702 result = dtime_tz_t(input, 0);
89703 return true;
89704}

◆ Operation() [189/212]

template<>
bool duckdb::TryCast::Operation ( dtime_tz_t input,
dtime_tz_t & result,
bool strict )
89710 {
89711 result = input;
89712 return true;
89713}

◆ Operation() [190/212]

template<>
bool duckdb::TryCast::Operation ( dtime_tz_t input,
dtime_t & result,
bool strict )
89716 {
89717 result = input.time();
89718 return true;
89719}

◆ Operation() [191/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
date_t & result,
bool strict )
89725 {
89726 result = Timestamp::GetDate(input);
89727 return true;
89728}

◆ Operation() [192/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
dtime_t & result,
bool strict )
89731 {
89732 if (!Timestamp::IsFinite(input)) {
89733 return false;
89734 }
89735 result = Timestamp::GetTime(input);
89736 return true;
89737}
static bool IsFinite(timestamp_t timestamp)
True, if the timestamp is finite, else false.
Definition duckdb.hpp:4287

◆ Operation() [193/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
timestamp_t & result,
bool strict )
89740 {
89741 result = input;
89742 return true;
89743}

◆ Operation() [194/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_sec_t input,
timestamp_sec_t & result,
bool strict )
89746 {
89747 result.value = input.value;
89748 return true;
89749}

◆ Operation() [195/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
timestamp_sec_t & result,
bool strict )
89752 {
89753 D_ASSERT(Timestamp::IsFinite(input));
89754 result.value = input.value / Interval::MICROS_PER_SEC;
89755 return true;
89756}

◆ Operation() [196/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_ms_t input,
timestamp_ms_t & result,
bool strict )
89759 {
89760 result.value = input.value;
89761 return true;
89762}

◆ Operation() [197/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
timestamp_ms_t & result,
bool strict )
89765 {
89766 D_ASSERT(Timestamp::IsFinite(input));
89767 result.value = input.value / Interval::MICROS_PER_MSEC;
89768 return true;
89769}

◆ Operation() [198/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_ns_t input,
timestamp_ns_t & result,
bool strict )
89772 {
89773 result.value = input.value;
89774 return true;
89775}

◆ Operation() [199/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
timestamp_ns_t & result,
bool strict )
89778 {
89779 D_ASSERT(Timestamp::IsFinite(input));
89780 if (!TryMultiplyOperator::Operation(input.value, Interval::NANOS_PER_MSEC, result.value)) {
89781 throw ConversionException("Could not convert TIMESTAMP to TIMESTAMP_NS");
89782 }
89783 return true;
89784}

◆ Operation() [200/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_tz_t input,
timestamp_tz_t & result,
bool strict )
89787 {
89788 result.value = input.value;
89789 return true;
89790}

◆ Operation() [201/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
timestamp_tz_t & result,
bool strict )
89793 {
89794 result.value = input.value;
89795 return true;
89796}

◆ Operation() [202/212]

template<>
bool duckdb::TryCast::Operation ( timestamp_t input,
dtime_tz_t & result,
bool strict )
89799 {
89800 if (!Timestamp::IsFinite(input)) {
89801 return false;
89802 }
89803 result = dtime_tz_t(Timestamp::GetTime(input), 0);
89804 return true;
89805}

◆ Operation() [203/212]

template<>
bool duckdb::TryCast::Operation ( interval_t input,
interval_t & result,
bool strict )
89811 {
89812 result = input;
89813 return true;
89814}

◆ Operation() [204/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
date_t & result,
bool strict )
90246 {
90247 idx_t pos;
90248 bool special = false;
90249 return Date::TryConvertDate(input.GetData(), input.GetSize(), pos, result, special, strict) ==
90250 DateCastResult::SUCCESS;
90251}
static DUCKDB_API DateCastResult TryConvertDate(const char *buf, idx_t len, idx_t &pos, date_t &result, bool &special, bool strict=false)
Definition duckdb.cpp:117363
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237

◆ Operation() [205/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
dtime_t & result,
bool strict )
90271 {
90272 idx_t pos;
90273 return Time::TryConvertTime(input.GetData(), input.GetSize(), pos, result, strict);
90274}

◆ Operation() [206/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
dtime_ns_t & result,
bool strict )
90294 {
90295 idx_t pos;
90296 dtime_t micros;
90297 int32_t nanos = 0;
90298 if (!Time::TryConvertTime(input.GetData(), input.GetSize(), pos, micros, strict, &nanos)) {
90299 return false;
90300 }
90301 if (!TryCast::Operation(micros, result)) {
90302 return false;
90303 }
90304 return TryAddOperator::Operation<int64_t, int64_t, int64_t>(result.micros, nanos, result.micros);
90305}
::int32_t int32_t

◆ Operation() [207/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
dtime_tz_t & result,
bool strict )
90329 {
90330 idx_t pos;
90331 bool has_offset;
90332 return Time::TryConvertTimeTZ(input.GetData(), input.GetSize(), pos, result, has_offset, strict);
90333}

◆ Operation() [208/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
timestamp_t & result,
bool strict )
90386 {
90387 return Timestamp::TryConvertTimestamp(input.GetData(), input.GetSize(), result, false) ==
90388 TimestampCastResult::SUCCESS;
90389}
static DUCKDB_API TimestampCastResult TryConvertTimestamp(const char *str, idx_t len, timestamp_t &result, const bool use_offset, optional_ptr< int32_t > nanos=nullptr, bool strict=false)
Strict Timestamp does not accept offsets.
Definition duckdb.cpp:129558

◆ Operation() [209/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
timestamp_tz_t & result,
bool strict )
90392 {
90393 return Timestamp::TryConvertTimestamp(input.GetData(), input.GetSize(), result, true) ==
90394 TimestampCastResult::SUCCESS;
90395}

◆ Operation() [210/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
timestamp_ns_t & result,
bool strict )
90398 {
90399 return Timestamp::TryConvertTimestamp(input.GetData(), input.GetSize(), result) == TimestampCastResult::SUCCESS;
90400}

◆ Operation() [211/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
hugeint_t & result,
bool strict )
90649 {
90650 HugeIntCastData<hugeint_t, Hugeint, int64_t> state {};
90651 if (!TryIntegerCast<HugeIntCastData<hugeint_t, Hugeint, int64_t>, true, true, HugeIntegerCastOperation>(
90652 input.GetData(), input.GetSize(), state, strict)) {
90653 return false;
90654 }
90655 result = state.result;
90656 return true;
90657}

◆ Operation() [212/212]

template<>
bool duckdb::TryCast::Operation ( string_t input,
uhugeint_t & result,
bool strict )
90660 {
90661 HugeIntCastData<uhugeint_t, Uhugeint, uint64_t> state {};
90662 if (!TryIntegerCast<HugeIntCastData<uhugeint_t, Uhugeint, uint64_t>, false, true, HugeIntegerCastOperation>(
90663 input.GetData(), input.GetSize(), state, strict)) {
90664 return false;
90665 }
90666 result = state.result;
90667 return true;
90668}

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