| 1590 | } |
| 1591 | |
| 1592 | static void |
| 1593 | garrow_aggregation_class_init(GArrowAggregationClass *klass) |
| 1594 | { |
| 1595 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 1596 | gobject_class->dispose = garrow_aggregation_dispose; |
| 1597 | gobject_class->finalize = garrow_aggregation_finalize; |
| 1598 | gobject_class->set_property = garrow_aggregation_set_property; |
| 1599 | gobject_class->get_property = garrow_aggregation_get_property; |
| 1600 | |
| 1601 | GParamSpec *spec; |
| 1602 | /** |
| 1603 | * GArrowAggregation:function: |
| 1604 | * |
| 1605 | * The function name to aggregate. |
| 1606 | * |
| 1607 | * Since: 6.0.0 |
| 1608 | */ |
| 1609 | spec = g_param_spec_string( |
| 1610 | "function", |
| 1611 | "Function", |
| 1612 | "The function name to aggregate", |
| 1613 | NULL, |
| 1614 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 1615 | g_object_class_install_property(gobject_class, PROP_AGGREGATION_FUNCTION, spec); |
| 1616 | |
| 1617 | /** |
| 1618 | * GArrowAggregation:options: |
| 1619 | * |
| 1620 | * The options of aggregate function. |
| 1621 | * |
| 1622 | * Since: 6.0.0 |
| 1623 | */ |
| 1624 | spec = g_param_spec_object( |
| 1625 | "options", |
| 1626 | "Options", |
| 1627 | "The options of aggregate function", |
| 1628 | GARROW_TYPE_FUNCTION_OPTIONS, |
| 1629 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 1630 | g_object_class_install_property(gobject_class, PROP_AGGREGATION_OPTIONS, spec); |
| 1631 | |
| 1632 | /** |
| 1633 | * GArrowAggregation:input: |
| 1634 | * |
| 1635 | * The input field name of aggregate function. |
| 1636 | * |
| 1637 | * Since: 6.0.0 |
| 1638 | */ |
| 1639 | spec = g_param_spec_string( |
| 1640 | "input", |
| 1641 | "Input", |
| 1642 | "The input field name of aggregate function", |
| 1643 | NULL, |
| 1644 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 1645 | g_object_class_install_property(gobject_class, PROP_AGGREGATION_INPUT, spec); |
| 1646 | |
| 1647 | /** |
| 1648 | * GArrowAggregation:output: |
| 1649 | * |
nothing calls this directly
no outgoing calls
no test coverage detected