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

Function garrow_split_options_get_property

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

Source from the content-addressed store, hash-verified

10743}
10744
10745static void
10746garrow_split_options_get_property(GObject *object,
10747 guint prop_id,
10748 GValue *value,
10749 GParamSpec *pspec)
10750{
10751 auto options = garrow_split_options_get_raw(GARROW_SPLIT_OPTIONS(object));
10752
10753 switch (prop_id) {
10754 case PROP_SPLIT_OPTIONS_MAX_SPLITS:
10755 g_value_set_int64(value, options->max_splits);
10756 break;
10757 case PROP_SPLIT_OPTIONS_REVERSE:
10758 g_value_set_boolean(value, options->reverse);
10759 break;
10760 default:
10761 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
10762 break;
10763 }
10764}
10765
10766static void
10767garrow_split_options_init(GArrowSplitOptions *object)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected