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

Function garrow_field_class_init

c_glib/arrow-glib/field.cpp:106–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static void
107garrow_field_class_init(GArrowFieldClass *klass)
108{
109 auto gobject_class = G_OBJECT_CLASS(klass);
110
111 gobject_class->dispose = garrow_field_dispose;
112 gobject_class->finalize = garrow_field_finalize;
113 gobject_class->set_property = garrow_field_set_property;
114
115 GParamSpec *spec;
116 spec = g_param_spec_pointer(
117 "field",
118 "Field",
119 "The raw std::shared<arrow::Field> *",
120 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
121 g_object_class_install_property(gobject_class, PROP_FIELD, spec);
122
123 spec = g_param_spec_object(
124 "data-type",
125 "Data type",
126 "The data type",
127 GARROW_TYPE_DATA_TYPE,
128 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
129 g_object_class_install_property(gobject_class, PROP_DATA_TYPE, spec);
130}
131
132/**
133 * garrow_field_import:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected