|
|
template<> |
| bool | Operation (string_t input, hugeint_t &result, Vector &result_vector, CastParameters ¶meters) |
|
template<> |
| bool | Operation (string_t input, hugeint_t &result, bool strict) |
| template<> |
| bool | Operation (string_t input, hugeint_t &result, Vector &result_vector, CastParameters ¶meters) |
| template<> |
| bool | Operation (string_t input, hugeint_t &result, bool strict) |
|
| template<class SRC, class DST> |
| static bool | Operation (SRC input, DST &result, Vector &result_vector, CastParameters ¶meters) |
| template<class SRC, class DST> |
| static bool | Operation (SRC input, DST &result, bool strict) |
◆ Operation() [1/4]
template<class SRC, class DST>
| bool duckdb::TryCastBlobToUUID::Operation |
( |
SRC | input, |
|
|
DST & | result, |
|
|
Vector & | result_vector, |
|
|
CastParameters & | parameters ) |
|
inlinestatic |
32232 {
32233 throw InternalException("Unsupported type for try cast blob to uuid");
32234 }
◆ Operation() [2/4]
template<class SRC, class DST>
| bool duckdb::TryCastBlobToUUID::Operation |
( |
SRC | input, |
|
|
DST & | result, |
|
|
bool | strict ) |
|
inlinestatic |
32236 {
32237 throw InternalException("Unsupported type for try cast blob to uuid");
32238 }
◆ Operation() [3/4]
90185 {
90186
90187 if (input.GetSize() != 16) {
90188 HandleCastError::AssignError("BLOB must be exactly 16 bytes to convert to UUID", parameters);
90189 return false;
90190 }
90191
90192 auto data = const_data_ptr_cast(input.GetData());
90193
90194
90196
90197 return true;
90198}
static hugeint_t FromBlob(const_data_ptr_t input)
Convert 16-byte binary data to UUID (hugeint_t).
Definition duckdb.cpp:131094
◆ Operation() [4/4]
template<>
| bool duckdb::TryCastBlobToUUID::Operation |
( |
string_t | input, |
|
|
hugeint_t & | result, |
|
|
bool | strict ) |
90201 {
90202
90203 if (input.GetSize() != 16) {
90204 return false;
90205 }
90206
90207 auto data = const_data_ptr_cast(input.GetData());
90208
90209
90211
90212 return true;
90213}
The documentation for this struct was generated from the following file: