MCPcopy Create free account
hub / github.com/apache/arrow / garrow_replace_substring_options_new_raw

Function garrow_replace_substring_options_new_raw

c_glib/arrow-glib/compute.cpp:12116–12129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12114}
12115
12116GArrowReplaceSubstringOptions *
12117garrow_replace_substring_options_new_raw(
12118 const arrow::compute::ReplaceSubstringOptions *arrow_options)
12119{
12120 return GARROW_REPLACE_SUBSTRING_OPTIONS(
12121 g_object_new(GARROW_TYPE_REPLACE_SUBSTRING_OPTIONS,
12122 "pattern",
12123 arrow_options->pattern.c_str(),
12124 "replacement",
12125 arrow_options->replacement.c_str(),
12126 "max-replacements",
12127 arrow_options->max_replacements,
12128 nullptr));
12129}
12130
12131arrow::compute::ReplaceSubstringOptions *
12132garrow_replace_substring_options_get_raw(GArrowReplaceSubstringOptions *options)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected