| 7629 | } |
| 7630 | |
| 7631 | static void |
| 7632 | garrow_join_options_class_init(GArrowJoinOptionsClass *klass) |
| 7633 | { |
| 7634 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 7635 | |
| 7636 | gobject_class->set_property = garrow_join_options_set_property; |
| 7637 | gobject_class->get_property = garrow_join_options_get_property; |
| 7638 | |
| 7639 | arrow::compute::JoinOptions options; |
| 7640 | |
| 7641 | GParamSpec *spec; |
| 7642 | /** |
| 7643 | * GArrowJoinOptions:null-handling: |
| 7644 | * |
| 7645 | * How to handle null values. (A null separator always results in a null output.) |
| 7646 | * |
| 7647 | * Since: 23.0.0 |
| 7648 | */ |
| 7649 | spec = |
| 7650 | g_param_spec_enum("null-handling", |
| 7651 | "Null handling", |
| 7652 | "How to handle null values", |
| 7653 | GARROW_TYPE_JOIN_NULL_HANDLING_BEHAVIOR, |
| 7654 | static_cast<GArrowJoinNullHandlingBehavior>(options.null_handling), |
| 7655 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 7656 | g_object_class_install_property(gobject_class, PROP_JOIN_OPTIONS_NULL_HANDLING, spec); |
| 7657 | |
| 7658 | /** |
| 7659 | * GArrowJoinOptions:null-replacement: |
| 7660 | * |
| 7661 | * Replacement string for null values when null-handling is REPLACE. |
| 7662 | * |
| 7663 | * Since: 23.0.0 |
| 7664 | */ |
| 7665 | spec = g_param_spec_string( |
| 7666 | "null-replacement", |
| 7667 | "Null replacement", |
| 7668 | "Replacement string for null values when null-handling is REPLACE", |
| 7669 | options.null_replacement.c_str(), |
| 7670 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 7671 | g_object_class_install_property(gobject_class, |
| 7672 | PROP_JOIN_OPTIONS_NULL_REPLACEMENT, |
| 7673 | spec); |
| 7674 | } |
| 7675 | |
| 7676 | /** |
| 7677 | * garrow_join_options_new: |
nothing calls this directly
no outgoing calls
no test coverage detected