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

Function garrow_source_node_options_set_property

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

Source from the content-addressed store, hash-verified

1107}
1108
1109static void
1110garrow_source_node_options_set_property(GObject *object,
1111 guint prop_id,
1112 const GValue *value,
1113 GParamSpec *pspec)
1114{
1115 auto priv = GARROW_SOURCE_NODE_OPTIONS_GET_PRIVATE(object);
1116
1117 switch (prop_id) {
1118 case PROP_READER:
1119 priv->reader = GARROW_RECORD_BATCH_READER(g_value_dup_object(value));
1120 break;
1121 case PROP_RECORD_BATCH:
1122 priv->record_batch = GARROW_RECORD_BATCH(g_value_dup_object(value));
1123 break;
1124 default:
1125 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
1126 break;
1127 }
1128}
1129
1130static void
1131garrow_source_node_options_get_property(GObject *object,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected