iceberg-cpp
Loading...
Searching...
No Matches
iceberg
util
visitor_generate.h
Go to the documentation of this file.
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
24
25
namespace
iceberg
{
26
27
#define ICEBERG_GENERATE_FOR_ALL_TYPES(ACTION) \
28
ACTION(Boolean); \
29
ACTION(Int); \
30
ACTION(Long); \
31
ACTION(Float); \
32
ACTION(Double); \
33
ACTION(Decimal); \
34
ACTION(Date); \
35
ACTION(Time); \
36
ACTION(Timestamp); \
37
ACTION(TimestampTz); \
38
ACTION(TimestampNs); \
39
ACTION(TimestampTzNs); \
40
ACTION(String); \
41
ACTION(Uuid); \
42
ACTION(Fixed); \
43
ACTION(Binary); \
44
ACTION(Unknown); \
45
ACTION(Variant); \
46
ACTION(Geometry); \
47
ACTION(Geography); \
48
ACTION(Struct); \
49
ACTION(List); \
50
ACTION(Map);
51
64
#define ICEBERG_TYPE_SWITCH_WITH_PRIMITIVE_DEFAULT(ACTION) \
65
case ::iceberg::TypeId::kStruct: \
66
ACTION(Struct) \
67
case ::iceberg::TypeId::kList: \
68
ACTION(List) \
69
case ::iceberg::TypeId::kMap: \
70
ACTION(Map) \
71
case ::iceberg::TypeId::kVariant: \
72
ACTION(Variant) \
73
default: \
74
ACTION(Primitive)
75
76
}
// namespace iceberg
iceberg
Core Apache Iceberg C++ APIs.
Definition
arrow_io_util.h:33
Generated by
1.9.8