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

Function garrow_dictionary_encode_options_get_property

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

Source from the content-addressed store, hash-verified

7084}
7085
7086static void
7087garrow_dictionary_encode_options_get_property(GObject *object,
7088 guint prop_id,
7089 GValue *value,
7090 GParamSpec *pspec)
7091{
7092 auto options =
7093 garrow_dictionary_encode_options_get_raw(GARROW_DICTIONARY_ENCODE_OPTIONS(object));
7094
7095 switch (prop_id) {
7096 case PROP_DICTIONARY_ENCODE_OPTIONS_NULL_ENCODING_BEHAVIOR:
7097 g_value_set_enum(value,
7098 static_cast<GArrowDictionaryEncodeNullEncodingBehavior>(
7099 options->null_encoding_behavior));
7100 break;
7101 default:
7102 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
7103 break;
7104 }
7105}
7106
7107static void
7108garrow_dictionary_encode_options_init(GArrowDictionaryEncodeOptions *object)

Callers

nothing calls this directly

Tested by

no test coverage detected