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

Function garrow_source_node_options_class_init

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

Source from the content-addressed store, hash-verified

1154}
1155
1156static void
1157garrow_source_node_options_class_init(GArrowSourceNodeOptionsClass *klass)
1158{
1159 auto gobject_class = G_OBJECT_CLASS(klass);
1160 gobject_class->dispose = garrow_source_node_options_dispose;
1161 gobject_class->set_property = garrow_source_node_options_set_property;
1162 gobject_class->get_property = garrow_source_node_options_get_property;
1163
1164 GParamSpec *spec;
1165 spec = g_param_spec_object(
1166 "reader",
1167 "Reader",
1168 "The GArrowRecordBatchReader that produces "
1169 "record batches",
1170 GARROW_TYPE_RECORD_BATCH_READER,
1171 static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
1172 g_object_class_install_property(gobject_class, PROP_READER, spec);
1173
1174 spec = g_param_spec_object(
1175 "record-batch",
1176 "Record batch",
1177 "The GArrowRecordBatch to be produced",
1178 GARROW_TYPE_RECORD_BATCH,
1179 static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
1180 g_object_class_install_property(gobject_class, PROP_RECORD_BATCH, spec);
1181}
1182
1183/**
1184 * garrow_source_node_options_new_record_batch_reader:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected