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

Function gaflight_call_options_class_init

c_glib/arrow-flight-glib/client.cpp:258–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258static void
259gaflight_call_options_class_init(GAFlightCallOptionsClass *klass)
260{
261 auto gobject_class = G_OBJECT_CLASS(klass);
262
263 gobject_class->finalize = gaflight_call_options_finalize;
264 gobject_class->set_property = gaflight_call_options_set_property;
265 gobject_class->get_property = gaflight_call_options_get_property;
266
267 arrow::flight::FlightCallOptions options;
268 GParamSpec *spec;
269 /**
270 * GAFlightCallOptions:timeout:
271 *
272 * An optional timeout for this call. Negative durations mean an
273 * implementation-defined default behavior will be used
274 * instead. This is the default value.
275 *
276 * Since: 18.0.0
277 */
278 spec = g_param_spec_double("timeout",
279 nullptr,
280 nullptr,
281 -G_MAXDOUBLE,
282 G_MAXDOUBLE,
283 options.timeout.count(),
284 static_cast<GParamFlags>(G_PARAM_READWRITE));
285 g_object_class_install_property(gobject_class, PROP_TIMEOUT, spec);
286}
287
288/**
289 * gaflight_call_options_new:

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected