◆ ListBoundCastData()
| duckdb::ListBoundCastData::ListBoundCastData |
( |
BoundCastInfo | child_cast | ) |
|
|
inlineexplicit |
211865 : child_cast_info(std::move(child_cast)) {
211866 }
◆ BindListToListCast()
214017 {
214018 vector<BoundCastInfo> child_cast_info;
214019 auto &source_child_type = ListType::GetChildType(source);
214020 auto &result_child_type = ListType::GetChildType(target);
214021 auto child_cast = input.GetCastFunction(source_child_type, result_child_type);
214022 return make_uniq<ListBoundCastData>(std::move(child_cast));
214023}
◆ InitListLocalState()
214034 {
214035 auto &cast_data = parameters.cast_data->Cast<ListBoundCastData>();
214036 if (!cast_data.child_cast_info.init_local_state) {
214037 return nullptr;
214038 }
214039 CastLocalStateParameters child_parameters(parameters, cast_data.child_cast_info.cast_data);
214040 return cast_data.child_cast_info.init_local_state(child_parameters);
214041}
◆ Copy()
Implements duckdb::BoundCastData.
211874 {
211875 return make_uniq<ListBoundCastData>(child_cast_info.Copy());
211876 }
The documentation for this struct was generated from the following file: