]> git.proxmox.com Git - ceph.git/blob - ceph/src/arrow/java/vector/src/main/codegen/data/ArrowTypes.tdd
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / java / vector / src / main / codegen / data / ArrowTypes.tdd
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements. See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 {
17 types: [
18 {
19 name: "Null",
20 fields: [],
21 complex: false
22 },
23 {
24 name: "Struct_",
25 fields: [],
26 complex: true
27 },
28 {
29 name: "List",
30 fields: [],
31 complex: true
32 },
33 {
34 name: "LargeList",
35 fields: [],
36 complex: true
37 },
38 {
39 name: "FixedSizeList",
40 fields: [{name: "listSize", type: int}],
41 complex: true
42 },
43 {
44 name: "Union",
45 fields: [{name: "mode", type: short, valueType: UnionMode}, {name: "typeIds", type: "int[]"}],
46 complex: true
47 },
48 {
49 name: "Map",
50 fields: [{name: "keysSorted", type: boolean}],
51 complex: true
52 },
53 {
54 name: "Int",
55 fields: [{name: "bitWidth", type: int}, {name: "isSigned", type: boolean}],
56 complex: false
57 },
58 {
59 name: "FloatingPoint",
60 fields: [{name: precision, type: short, valueType: FloatingPointPrecision}],
61 complex: false
62 },
63 {
64 name: "Utf8",
65 fields: [],
66 complex: false
67 },
68 {
69 name: "LargeUtf8",
70 fields: [],
71 complex: false
72 },
73 {
74 name: "Binary",
75 fields: [],
76 complex: false
77 },
78 {
79 name: "LargeBinary",
80 fields: [],
81 complex: false
82 },
83 {
84 name: "FixedSizeBinary",
85 fields: [{name: "byteWidth", type: int}],
86 complex: false
87 }
88 {
89 name: "Bool",
90 fields: [],
91 complex: false
92 },
93 {
94 name: "Decimal",
95 fields: [{name: "precision", type: int}, {name: "scale", type: int}, {name: "bitWidth", type: int}],
96 complex: false
97 },
98 {
99 name: "Date",
100 fields: [{name: "unit", type: short, valueType: DateUnit}]
101 complex: false
102 },
103 {
104 name: "Time",
105 fields: [{name: "unit", type: short, valueType: TimeUnit}, {name: "bitWidth", type: int}],
106 complex: false
107 },
108 {
109 name: "Timestamp",
110 fields: [{name: "unit", type: short, valueType: TimeUnit}, {name: "timezone", type: String}]
111 complex: false
112 },
113 {
114 name: "Interval",
115 fields: [{name: "unit", type: short, valueType: IntervalUnit}],
116 complex: false
117 },
118 {
119 name: "Duration",
120 fields: [{name: "unit", type: short, valueType: TimeUnit}],
121 complex: false
122 }
123 ]
124 }