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

Function ggandiva_expression_class_init

c_glib/gandiva-glib/expression.cpp:140–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static void
141ggandiva_expression_class_init(GGandivaExpressionClass *klass)
142{
143 auto gobject_class = G_OBJECT_CLASS(klass);
144
145 gobject_class->dispose = ggandiva_expression_dispose;
146 gobject_class->finalize = ggandiva_expression_finalize;
147 gobject_class->set_property = ggandiva_expression_set_property;
148 gobject_class->get_property = ggandiva_expression_get_property;
149
150 GParamSpec *spec;
151 spec = g_param_spec_pointer(
152 "expression",
153 "Expression",
154 "The raw std::shared<gandiva::Expression> *",
155 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
156 g_object_class_install_property(gobject_class, PROP_EXPRESSION, spec);
157
158 spec = g_param_spec_object(
159 "root-node",
160 "Root Node",
161 "The root node for the expression",
162 GGANDIVA_TYPE_NODE,
163 static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
164 g_object_class_install_property(gobject_class, PROP_ROOT_NODE, spec);
165
166 spec = g_param_spec_object(
167 "result-field",
168 "Result Field",
169 "The name and type of returned value as #GArrowField",
170 GARROW_TYPE_FIELD,
171 static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
172 g_object_class_install_property(gobject_class, PROP_RESULT_FIELD, spec);
173}
174
175/**
176 * ggandiva_expression_new:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected