| 9662 | } |
| 9663 | |
| 9664 | static void |
| 9665 | garrow_select_k_options_class_init(GArrowSelectKOptionsClass *klass) |
| 9666 | { |
| 9667 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 9668 | |
| 9669 | gobject_class->set_property = garrow_select_k_options_set_property; |
| 9670 | gobject_class->get_property = garrow_select_k_options_get_property; |
| 9671 | |
| 9672 | arrow::compute::SelectKOptions options; |
| 9673 | |
| 9674 | GParamSpec *spec; |
| 9675 | /** |
| 9676 | * GArrowSelectKOptions:k: |
| 9677 | * |
| 9678 | * The number of k elements to keep. |
| 9679 | * |
| 9680 | * Since: 23.0.0 |
| 9681 | */ |
| 9682 | spec = g_param_spec_int64("k", |
| 9683 | "K", |
| 9684 | "The number of k elements to keep", |
| 9685 | G_MININT64, |
| 9686 | G_MAXINT64, |
| 9687 | options.k, |
| 9688 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 9689 | g_object_class_install_property(gobject_class, PROP_SELECT_K_OPTIONS_K, spec); |
| 9690 | } |
| 9691 | |
| 9692 | /** |
| 9693 | * garrow_select_k_options_new: |
nothing calls this directly
no outgoing calls
no test coverage detected