Groonga
Loading...
Searching...
No Matches
aggregator.h
Go to the documentation of this file.
1/*
2 Copyright(C) 2020 Sutou Kouhei <kou@clear-code.com>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17*/
18
19#pragma once
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25typedef struct _grn_aggregator_data grn_aggregator_data;
32
54GRN_API void *
57
60 const char *name,
61 int name_size,
65
66#ifdef __cplusplus
67}
68#endif
grn_rc grn_aggregator_update_func(grn_ctx *ctx, grn_aggregator_data *data)
Definition aggregator.h:28
GRN_API grn_obj * grn_aggregator_data_get_group_table(grn_ctx *ctx, grn_aggregator_data *data)
GRN_API grn_obj * grn_aggregator_data_get_aggregator(grn_ctx *ctx, grn_aggregator_data *data)
GRN_API grn_id grn_aggregator_data_get_group_id(grn_ctx *ctx, grn_aggregator_data *data)
GRN_API grn_obj * grn_aggregator_data_get_output_column(grn_ctx *ctx, grn_aggregator_data *data)
GRN_API grn_obj * grn_aggregator_data_get_source_table(grn_ctx *ctx, grn_aggregator_data *data)
GRN_API void * grn_aggregator_data_get_user_data(grn_ctx *ctx, grn_aggregator_data *data)
grn_rc grn_aggregator_fin_func(grn_ctx *ctx, grn_aggregator_data *data)
Definition aggregator.h:30
struct _grn_aggregator_data grn_aggregator_data
Definition aggregator.h:25
GRN_API grn_id grn_aggregator_data_get_source_id(grn_ctx *ctx, grn_aggregator_data *data)
void * grn_aggregator_init_func(grn_ctx *ctx, grn_aggregator_data *data)
Definition aggregator.h:26
GRN_API grn_obj * grn_aggregator_create(grn_ctx *ctx, const char *name, int name_size, grn_aggregator_init_func *init, grn_aggregator_update_func *update, grn_aggregator_fin_func *fin)
GRN_API grn_obj * grn_aggregator_data_get_args(grn_ctx *ctx, grn_aggregator_data *data)
grn_rc
Definition groonga.h:61
uint32_t grn_id
Definition groonga.h:44
#define GRN_API
Definition groonga.h:39
Definition groonga.h:351
Definition groonga.h:919