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

Function garrow_chunked_array_class_init

c_glib/arrow-glib/chunked-array.cpp:122–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122static void
123garrow_chunked_array_class_init(GArrowChunkedArrayClass *klass)
124{
125 GObjectClass *gobject_class;
126 GParamSpec *spec;
127
128 gobject_class = G_OBJECT_CLASS(klass);
129
130 gobject_class->dispose = garrow_chunked_array_dispose;
131 gobject_class->finalize = garrow_chunked_array_finalize;
132 gobject_class->set_property = garrow_chunked_array_set_property;
133 gobject_class->get_property = garrow_chunked_array_get_property;
134
135 spec = g_param_spec_pointer(
136 "chunked-array",
137 "Chunked array",
138 "The raw std::shared<arrow::ChunkedArray> *",
139 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
140 g_object_class_install_property(gobject_class, PROP_CHUNKED_ARRAY, spec);
141
142 spec = g_param_spec_object(
143 "data-type",
144 "Data type",
145 "The data type of this chunked array",
146 GARROW_TYPE_DATA_TYPE,
147 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
148 g_object_class_install_property(gobject_class, PROP_DATA_TYPE, spec);
149}
150
151/**
152 * garrow_chunked_array_new:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected