-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathtype_fwd.h
More file actions
272 lines (240 loc) · 5.67 KB
/
Copy pathtype_fwd.h
File metadata and controls
272 lines (240 loc) · 5.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
#pragma once
/// \file iceberg/type_fwd.h
/// Forward declarations and enum definitions. When writing your own headers,
/// you can include this instead of the "full" headers to help reduce compile
/// times.
namespace iceberg {
/// \brief A data type.
///
/// This is not a complete data type by itself because some types are nested
/// and/or parameterized.
///
/// Iceberg V3's `unknown` type is supported as a null-only placeholder type.
enum class TypeId {
kStruct,
kList,
kMap,
kBoolean,
kInt,
kLong,
kFloat,
kDouble,
kDecimal,
kDate,
kTime,
kTimestamp,
kTimestampTz,
kTimestampNs,
kTimestampTzNs,
kString,
kUuid,
kFixed,
kBinary,
kUnknown,
kVariant,
kGeometry,
kGeography,
};
/// \brief The time unit. In Iceberg V3 nanoseconds are also supported.
enum class TimeUnit {
kMicrosecond,
kNanosecond,
};
/// \brief The algorithm used to interpolate geography edges.
enum class EdgeAlgorithm {
kSpherical,
kVincenty,
kThomas,
kAndoyer,
kKarney,
};
/// \brief Data type family.
class BinaryType;
class BooleanType;
class DateType;
class DecimalType;
class FixedType;
class FloatType;
class DoubleType;
class IntType;
class LongType;
class ListType;
class MapType;
class NestedType;
class PrimitiveType;
class StringType;
class StructType;
class TimeType;
class TimestampBase;
class TimestampType;
class TimestampTzType;
class TimestampNsType;
class TimestampTzNsType;
class Type;
class UnknownType;
class UuidType;
class VariantType;
class GeographyType;
class GeometryType;
/// \brief Data values.
class Decimal;
class Uuid;
/// \brief Schema.
class Schema;
class SchemaField;
/// \brief Partition spec and values.
class PartitionField;
class PartitionSpec;
class PartitionValues;
/// \brief Sort order.
class SortField;
class SortOrder;
/// \brief Name mapping.
struct MappedField;
class MappedFields;
class NameMapping;
/// \brief Transform.
enum class TransformType;
class Transform;
class TransformFunction;
/// \brief Table identifier.
struct Namespace;
struct TableIdentifier;
/// \brief Table metadata.
enum class SnapshotRefType;
struct MetadataLogEntry;
struct PartitionStatisticsFile;
struct Snapshot;
struct SnapshotLogEntry;
struct SnapshotRef;
struct StatisticsFile;
struct TableMetadata;
class InheritableMetadata;
class SnapshotSummaryBuilder;
/// \brief Expression.
class BoundPredicate;
class BoundReference;
class BoundTransform;
class Expression;
class Literal;
class NamedReference;
class Term;
class Transform;
class UnboundPredicate;
class UnboundTransform;
/// \brief Evaluator.
class Evaluator;
class InclusiveMetricsEvaluator;
class ManifestEvaluator;
class ResidualEvaluator;
class StrictMetricsEvaluator;
/// \brief Scan task.
class ChangelogScanTask;
class FileScanTask;
class ScanTask;
/// \brief Table scan
class DataTableScan;
template <typename ScanTaskType>
class IncrementalScan;
class IncrementalAppendScan;
class IncrementalChangelogScan;
class TableScan;
/// \brief Scan builder.
template <typename ScanType>
class TableScanBuilder;
using DataTableScanBuilder = TableScanBuilder<DataTableScan>;
using IncrementalAppendScanBuilder = TableScanBuilder<IncrementalAppendScan>;
using IncrementalChangelogScanBuilder = TableScanBuilder<IncrementalChangelogScan>;
/// \brief Manifest.
enum class ManifestContent;
struct DataFile;
struct ManifestEntry;
struct ManifestFile;
struct ManifestList;
struct PartitionFieldSummary;
class ManifestGroup;
class ManifestListReader;
class ManifestListWriter;
class ManifestReader;
class ManifestWriter;
class PartitionSummary;
/// \brief File I/O.
struct ReaderOptions;
struct WriterOptions;
class FileIO;
class Reader;
class Writer;
class InputFile;
class OutputFile;
class PositionOutputStream;
class SeekableInputStream;
/// \brief Row-based data structures.
class ArrayLike;
class MapLike;
class StructLike;
class StructLikeAccessor;
template <bool kValidate>
class StructLikeSet;
using UncheckedStructLikeSet = StructLikeSet<false>;
/// \brief Catalog
class Catalog;
class LocationProvider;
class SessionCatalog;
struct SessionContext;
/// \brief Table.
class Table;
class TableProperties;
/// \brief Table update.
class TableMetadataBuilder;
class TableUpdate;
class TableRequirement;
class TableUpdateContext;
class Transaction;
class TransactionContext;
/// \brief Update family.
class DeleteFiles;
class ExpireSnapshots;
class FastAppend;
class ReplacePartitions;
class MergeAppend;
class PendingUpdate;
class RowDelta;
class SetSnapshot;
class SnapshotManager;
class SnapshotUpdate;
class UpdateLocation;
class UpdatePartitionSpec;
class UpdatePartitionStatistics;
class UpdateProperties;
class UpdateSchema;
class UpdateSnapshotReference;
class UpdateSortOrder;
class UpdateStatistics;
/// \brief Delete indexes.
class DeleteLoader;
class PositionDeleteIndex;
/// \brief Metadata tables.
class HistoryTable;
class MetadataTable;
class SnapshotsTable;
/// \brief Table encryption
struct EncryptedKey;
} // namespace iceberg