]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/c_glib/arrow-glib/reader.hpp
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / c_glib / arrow-glib / reader.hpp
CommitLineData
1d09f67e
TL
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20#pragma once
21
22#include <arrow/api.h>
23#include <arrow/csv/api.h>
24#include <arrow/ipc/api.h>
25#include <arrow/ipc/feather.h>
26#include <arrow/json/api.h>
27
28#include <arrow-glib/reader.h>
29
30GArrowRecordBatchReader *garrow_record_batch_reader_new_raw(std::shared_ptr<arrow::ipc::RecordBatchReader> *arrow_reader);
31std::shared_ptr<arrow::ipc::RecordBatchReader> garrow_record_batch_reader_get_raw(GArrowRecordBatchReader *reader);
32
33GArrowTableBatchReader *garrow_table_batch_reader_new_raw(std::shared_ptr<arrow::TableBatchReader> *arrow_reader);
34
35GArrowRecordBatchStreamReader *garrow_record_batch_stream_reader_new_raw(std::shared_ptr<arrow::ipc::RecordBatchStreamReader> *arrow_reader);
36
37GArrowRecordBatchFileReader *
38garrow_record_batch_file_reader_new_raw(std::shared_ptr<arrow::ipc::RecordBatchFileReader> *arrow_reader);
39std::shared_ptr<arrow::ipc::RecordBatchFileReader> garrow_record_batch_file_reader_get_raw(GArrowRecordBatchFileReader *reader);
40
41GArrowFeatherFileReader *
42garrow_feather_file_reader_new_raw(std::shared_ptr<arrow::ipc::feather::Reader> *arrow_reader);
43std::shared_ptr<arrow::ipc::feather::Reader>
44garrow_feather_file_reader_get_raw(GArrowFeatherFileReader *reader);
45
46GArrowCSVReader *
47garrow_csv_reader_new_raw(std::shared_ptr<arrow::csv::TableReader> *arrow_reader,
48 GArrowInputStream *input);
49std::shared_ptr<arrow::csv::TableReader>
50garrow_csv_reader_get_raw(GArrowCSVReader *reader);
51
52GArrowJSONReader *
53garrow_json_reader_new_raw(std::shared_ptr<arrow::json::TableReader> *arrow_reader,
54 GArrowInputStream *input);
55std::shared_ptr<arrow::json::TableReader>
56garrow_json_reader_get_raw(GArrowJSONReader *reader);