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

Function garrow_select_k_options_class_init

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

Source from the content-addressed store, hash-verified

9662}
9663
9664static void
9665garrow_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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected