◆ Operation() [1/2]
template<class SRC>
| string_t duckdb::CastFromBlobToBit::Operation |
( |
SRC | input, |
|
|
Vector & | result ) |
|
inlinestatic |
32130 {
32131 throw NotImplementedException("Cast from blob could not be performed!");
32132 }
◆ Operation() [2/2]
90033 {
90034 idx_t result_size = input.GetSize() + 1;
90035 if (result_size <= 1) {
90036 throw ConversionException("Cannot cast empty BLOB to BIT");
90037 }
90039}
static DUCKDB_API void BlobToBit(string_t blob, bitstring_t &output)
output needs to have enough space allocated before calling this function (blob size + 1)
Definition duckdb.cpp:112833
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
static DUCKDB_API string_t AddStringOrBlob(Vector &vector, const char *data, idx_t len)
Definition duckdb.cpp:137893
The documentation for this struct was generated from the following file: