Groonga
Loading...
Searching...
No Matches
arrow.hpp
Go to the documentation of this file.
1
/*
2
Copyright(C) 2017 Brazil
3
Copyright(C) 2020 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.hpp
>
23
#include <arrow/array.h>
24
25
namespace
grn
{
26
namespace
arrow {
27
class
ArrayBuilder
{
28
public
:
29
ArrayBuilder
(
grn_ctx
*ctx);
30
~ArrayBuilder
();
31
32
::arrow::Status
add_column
(
grn_obj
*column,
33
grn_table_cursor
*cursor);
34
::arrow::Result<std::shared_ptr<::arrow::Array>>
finish
();
35
36
private
:
37
struct
Impl;
38
std::unique_ptr<Impl> impl_;
39
};
40
}
41
}
grn::arrow::ArrayBuilder
Definition
arrow.hpp:27
grn::arrow::ArrayBuilder::~ArrayBuilder
~ArrayBuilder()
grn::arrow::ArrayBuilder::ArrayBuilder
ArrayBuilder(grn_ctx *ctx)
grn::arrow::ArrayBuilder::add_column
::arrow::Status add_column(grn_obj *column, grn_table_cursor *cursor)
grn::arrow::ArrayBuilder::finish
::arrow::Result< std::shared_ptr<::arrow::Array > > finish()
groonga.hpp
grn
Definition
arrow.hpp:25
_grn_ctx
Definition
groonga.h:351
_grn_obj
Definition
groonga.h:919
include
groonga
arrow.hpp
Generated by
1.9.8