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

Function garrow_dictionary_encode_options_set_property

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

Source from the content-addressed store, hash-verified

7063 GARROW_TYPE_FUNCTION_OPTIONS)
7064
7065static void
7066garrow_dictionary_encode_options_set_property(GObject *object,
7067 guint prop_id,
7068 const GValue *value,
7069 GParamSpec *pspec)
7070{
7071 auto options =
7072 garrow_dictionary_encode_options_get_raw(GARROW_DICTIONARY_ENCODE_OPTIONS(object));
7073
7074 switch (prop_id) {
7075 case PROP_DICTIONARY_ENCODE_OPTIONS_NULL_ENCODING_BEHAVIOR:
7076 options->null_encoding_behavior =
7077 static_cast<arrow::compute::DictionaryEncodeOptions::NullEncodingBehavior>(
7078 g_value_get_enum(value));
7079 break;
7080 default:
7081 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
7082 break;
7083 }
7084}
7085
7086static void
7087garrow_dictionary_encode_options_get_property(GObject *object,

Callers

nothing calls this directly

Tested by

no test coverage detected