| 7113 | } |
| 7114 | |
| 7115 | static void |
| 7116 | garrow_dictionary_encode_options_class_init(GArrowDictionaryEncodeOptionsClass *klass) |
| 7117 | { |
| 7118 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 7119 | |
| 7120 | gobject_class->set_property = garrow_dictionary_encode_options_set_property; |
| 7121 | gobject_class->get_property = garrow_dictionary_encode_options_get_property; |
| 7122 | |
| 7123 | arrow::compute::DictionaryEncodeOptions options; |
| 7124 | |
| 7125 | GParamSpec *spec; |
| 7126 | /** |
| 7127 | * GArrowDictionaryEncodeOptions:null-encoding-behavior: |
| 7128 | * |
| 7129 | * How null values will be encoded. |
| 7130 | * |
| 7131 | * Since: 23.0.0 |
| 7132 | */ |
| 7133 | spec = g_param_spec_enum("null-encoding-behavior", |
| 7134 | "Null encoding behavior", |
| 7135 | "How null values will be encoded", |
| 7136 | GARROW_TYPE_DICTIONARY_ENCODE_NULL_ENCODING_BEHAVIOR, |
| 7137 | static_cast<GArrowDictionaryEncodeNullEncodingBehavior>( |
| 7138 | options.null_encoding_behavior), |
| 7139 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 7140 | g_object_class_install_property(gobject_class, |
| 7141 | PROP_DICTIONARY_ENCODE_OPTIONS_NULL_ENCODING_BEHAVIOR, |
| 7142 | spec); |
| 7143 | } |
| 7144 | |
| 7145 | /** |
| 7146 | * garrow_dictionary_encode_options_new: |
nothing calls this directly
no outgoing calls
no test coverage detected