◆ SplitStringMapOperation()
| duckdb::SplitStringMapOperation::SplitStringMapOperation |
( |
string_t * | child_key_data, |
|
|
string_t * | child_val_data, |
|
|
idx_t & | child_start, |
|
|
Vector & | varchar_key, |
|
|
Vector & | varchar_val ) |
|
inline |
219220 : child_key_data(child_key_data), child_val_data(child_val_data), child_start(child_start),
219221 varchar_key(varchar_key), varchar_val(varchar_val) {
219222 }
◆ HandleKey()
| bool duckdb::SplitStringMapOperation::HandleKey |
( |
const char * | buf, |
|
|
idx_t | start_pos, |
|
|
idx_t | pos ) |
|
inline |
219230 {
219231 if (IsNull(buf, start_pos, pos)) {
219232 FlatVector::SetNull(varchar_val, child_start, true);
219233 FlatVector::SetNull(varchar_key, child_start, true);
219234 child_start++;
219235 return false;
219236 }
219237 child_key_data[child_start] =
HandleString(varchar_key, buf, start_pos, pos);
219238 return true;
219239 }
static string_t HandleString(Vector &vec, const char *buf, idx_t start, idx_t end)
Definition duckdb.cpp:219008
◆ HandleValue()
| void duckdb::SplitStringMapOperation::HandleValue |
( |
const char * | buf, |
|
|
idx_t | start_pos, |
|
|
idx_t | pos ) |
|
inline |
219241 {
219242 if (IsNull(buf, start_pos, pos)) {
219243 FlatVector::SetNull(varchar_val, child_start, true);
219244 child_start++;
219245 return;
219246 }
219247 child_val_data[child_start] =
HandleString(varchar_val, buf, start_pos, pos);
219248 child_start++;
219249 }
The documentation for this struct was generated from the following file: