Groonga
Loading...
Searching...
No Matches
cast.h
Go to the documentation of this file.
1/*
2 Copyright(C) 2015-2018 Brazil
3 Copyright(C) 2018-2022 Sutou Kouhei <kou@clear-code.com>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18*/
19
20#pragma once
21
22#include <groonga/option.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28typedef struct {
31 uint32_t flags;
34
59 grn_obj *src,
60 grn_obj *dest,
61 bool add_record_if_not_exist);
62
63#ifdef __cplusplus
64}
65#endif
GRN_API grn_rc grn_caster_cast(grn_ctx *ctx, grn_caster *caster)
GRN_API grn_rc grn_obj_cast(grn_ctx *ctx, grn_obj *src, grn_obj *dest, bool add_record_if_not_exist)
Cast and append a value from the source bulk/vector to the destination bulk/vector.
grn_rc
Definition groonga.h:61
#define GRN_API
Definition groonga.h:39
Definition groonga.h:351
Definition groonga.h:919
Definition cast.h:28
uint32_t flags
Definition cast.h:31
grn_obj * target
Definition cast.h:32
grn_obj * dest
Definition cast.h:30
grn_obj * src
Definition cast.h:29