◆ Operation() [1/2]
template<class SRC, class DST>
| bool duckdb::TryCastToBlob::Operation |
( |
SRC | input, |
|
|
DST & | result, |
|
|
Vector & | result_vector, |
|
|
CastParameters & | parameters ) |
|
inlinestatic |
32139 {
32140 throw InternalException("Unsupported type for try cast to blob");
32141 }
◆ Operation() [2/2]
90083 {
90086 return false;
90087 }
90088
90090 Blob::ToBlob(input, data_ptr_cast(result.GetDataWriteable()));
90091 result.Finalize();
90092 return true;
90093}
static DUCKDB_API bool TryGetBlobSize(string_t str, idx_t &result_size, CastParameters ¶meters)
Returns the blob size of a string -> blob conversion.
Definition duckdb.cpp:113182
static DUCKDB_API void ToBlob(string_t str, data_ptr_t output)
Convert a string to a blob. This function should ONLY be called after calling GetBlobSize,...
Definition duckdb.cpp:113232
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
static DUCKDB_API string_t EmptyString(Vector &vector, idx_t len)
Definition duckdb.cpp:137942
The documentation for this struct was generated from the following file: