| 1 | /* |
| 2 | Copyright (C) 2013-2018 Brazil |
| 3 | Copyright (C) 2018-2024 Sutou Kouhei <[email protected]> |
| 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 "grn_db.h"cxx . . $ `<file>/lib/grn_db.h`/ |
| 23 | #include "grn_scanner.h"cxx . . $ `<file>/lib/grn_scanner.h`/ |
| 24 | |
| 25 | #ifdef __cplusplus |
| 26 | extern "C" { |
| 27 | #endif |
| 28 | |
| 29 | #define GRN_TABLE_SELECTOR_FUZZY_MAX_EXPANSIONS_DEFAULTcxx . . $ `lib/grn_table_selector.h:29:9`! 10 |
| 30 | |
| 31 | void |
| 32 | grn_table_selector_init_from_envcxx . . $ grn_table_selector_init_from_env(49f6e7a06ebc5aa8).(void); |
| 33 | |
| 34 | typedef structcxx . . $ $anonymous_type_1ba48368f5222637_0# { |
| 35 | grn_scannercxx . . $ grn_scanner# *scannercxx . . $ $anonymous_type_1ba48368f5222637_0#scanner.; |
| 36 | grn_objcxx . . $ grn_obj# *exprcxx . . $ $anonymous_type_1ba48368f5222637_0#expr.; |
| 37 | grn_objcxx . . $ grn_obj# *variablecxx . . $ $anonymous_type_1ba48368f5222637_0#variable.; |
| 38 | int nth_scan_infocxx . . $ $anonymous_type_1ba48368f5222637_0#nth_scan_info.; |
| 39 | scan_infocxx . . $ scan_info# *scan_infocxx . . $ $anonymous_type_1ba48368f5222637_0#scan_info.; |
| 40 | grn_objcxx . . $ grn_obj# *initial_result_setcxx . . $ $anonymous_type_1ba48368f5222637_0#initial_result_set.; |
| 41 | grn_objcxx . . $ grn_obj# *result_setcxx . . $ $anonymous_type_1ba48368f5222637_0#result_set.; |
| 42 | grn_idcxx . . $ grn_id# min_idcxx . . $ $anonymous_type_1ba48368f5222637_0#min_id.; |
| 43 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_first_unskipped_scan_infocxx . . $ $anonymous_type_1ba48368f5222637_0#is_first_unskipped_scan_info.; |
| 44 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_skippedcxx . . $ $anonymous_type_1ba48368f5222637_0#is_skipped.; |
| 45 | grn_search_optargcxx . . $ grn_search_optarg# search_optionscxx . . $ $anonymous_type_1ba48368f5222637_0#search_options.; |
| 46 | } grn_table_selector_datacxx . . $ grn_table_selector_data#; |
| 47 | |
| 48 | struct _grn_table_selectorcxx . . $ _grn_table_selector# { |
| 49 | grn_objcxx . . $ grn_obj# *tablecxx . . $ _grn_table_selector#table.; |
| 50 | grn_objcxx . . $ grn_obj# *exprcxx . . $ _grn_table_selector#expr.; |
| 51 | grn_operatorcxx . . $ grn_operator# opcxx . . $ _grn_table_selector#op.; |
| 52 | grn_idcxx . . $ grn_id# min_idcxx . . $ _grn_table_selector#min_id.; |
| 53 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! use_sequential_scancxx . . $ _grn_table_selector#use_sequential_scan.; |
| 54 | grn_objcxx . . $ grn_obj# *query_optionscxx . . $ _grn_table_selector#query_options.; |
| 55 | float weight_factorcxx . . $ _grn_table_selector#weight_factor.; |
| 56 | double enough_filtered_ratiocxx . . $ _grn_table_selector#enough_filtered_ratio.; |
| 57 | int64_tcxx . . $ int64_t# max_n_enough_filtered_recordscxx . . $ _grn_table_selector#max_n_enough_filtered_records.; |
| 58 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! ensure_using_select_resultcxx . . $ _grn_table_selector#ensure_using_select_result.; |
| 59 | grn_fuzzy_search_optargcxx . . $ grn_fuzzy_search_optarg# fuzzy_optionscxx . . $ _grn_table_selector#fuzzy_options.; |
| 60 | grn_table_selector_datacxx . . $ grn_table_selector_data# datacxx . . $ _grn_table_selector#data.; |
| 61 | }; |
| 62 | |
| 63 | void |
| 64 | grn_table_selector_initcxx . . $ grn_table_selector_init(b21b4edd7fa0de9d).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 65 | grn_table_selectorcxx . . $ grn_table_selector# *selector, |
| 66 | grn_objcxx . . $ grn_obj# *table, |
| 67 | grn_objcxx . . $ grn_obj# *expr, |
| 68 | grn_operatorcxx . . $ grn_operator# op); |
| 69 | void |
| 70 | grn_table_selector_fincxx . . $ grn_table_selector_fin(839c2f90399a0ad1).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_table_selectorcxx . . $ grn_table_selector# *selector); |
| 71 | |
| 72 | #ifdef __cplusplus |
| 73 | } |
| 74 | #endif |