@@ -23,270 +23,12 @@ Documentation:
23
23
- HTTP/1.x CONNECT, SOCKS4a or SOCKS5 proxy
24
24
- Request cancellation
25
25
26
- == Supported Data Types
27
-
28
- The *Reactive Postgres Client* currently supports the following data types
29
-
30
- [cols="^,^,^,^,^", options="header"]
31
- |====
32
- | _
33
- 2+| Value
34
- 2+| Array
35
-
36
- | Postgres | Java | Supported | JAVA | Supported
37
-
38
- |`BOOLEAN`
39
- |`j.l.Boolean`
40
- |✔
41
- |`j.l.Boolean[]`
42
- |✔
43
-
44
- |`INT2`
45
- |`j.l.Short`
46
- |✔
47
- |`j.l.Short[]`
48
- |✔
49
-
50
- |`INT4`
51
- |`j.l.Integer`
52
- |✔
53
- |`j.l.Integer[]`
54
- |✔
55
-
56
- |`INT8`
57
- |`j.l.Long`
58
- |✔
59
- |`j.l.Long[]`
60
- |✔
61
-
62
- |`FLOAT4`
63
- |`j.l.Float`
64
- |✔
65
- |`j.l.Float[]`
66
- |✔
67
-
68
- |`FLOAT8`
69
- |`j.l.Double`
70
- |✔
71
- |`j.l.Double[]`
72
- |✔
73
-
74
- |`CHAR`
75
- |`j.l.Character`
76
- |✔
77
- |`j.l.Character[]`
78
- |✔
79
-
80
- |`VARCHAR`
81
- |`j.l.String`
82
- |✔
83
- |`j.l.String[]`
84
- |✔
85
-
86
- |`TEXT`
87
- |`j.l.String`
88
- |✔
89
- |`j.l.String[]`
90
- |✔
91
-
92
- |`ENUM`
93
- |`j.l.String`
94
- |✔
95
- |`j.l.String[]`
96
- |✔
97
-
98
- |`NAME`
99
- |`j.l.String`
100
- |✔
101
- |`j.l.String[]`
102
- |✔
103
-
104
- |`SERIAL2`
105
- |`j.l.Short`
106
- |✔
107
- |`invalid type`
108
- |✕
109
-
110
- |`SERIAL4`
111
- |`j.l.Integer`
112
- |✔
113
- |`invalid type`
114
- |✕
115
-
116
- |`SERIAL8`
117
- |`j.l.Long`
118
- |✔
119
- |`invalid type`
120
- |✕
121
-
122
- |`NUMERIC`
123
- |`i.r.p.data.Numeric`
124
- |✔
125
- |`i.r.p.data.Numeric[]`
126
- |✔
127
-
128
- |`UUID`
129
- |`j.u.UUID`
130
- |✔
131
- |`j.u.UUID[]`
132
- |✔
133
-
134
- |`DATE`
135
- |`j.t.LocalDate`
136
- |✔
137
- |`j.t.LocalDate[]`
138
- |✔
139
-
140
- |`TIME`
141
- |`j.t.LocalTime`
142
- |✔
143
- |`j.t.LocalTime[]`
144
- |✔
145
-
146
- |`TIMETZ`
147
- |`j.t.OffsetTime`
148
- |✔
149
- |`j.t.OffsetTime[]`
150
- |✔
151
-
152
- |`TIMESTAMP`
153
- |`j.t.LocalDateTime`
154
- |✔
155
- |`j.t.LocalDateTime[]`
156
- |✔
157
-
158
- |`TIMESTAMPTZ`
159
- |`j.t.OffsetDateTime`
160
- |✔
161
- |`j.t.OffsetDateTime[]`
162
- |✔
163
-
164
- |`INTERVAL`
165
- |`i.r.p.data.Interval`
166
- |✔
167
- |`i.r.p.data.Interval[]`
168
- |✔
169
-
170
- |`BYTEA`
171
- |`i.v.c.b.Buffer`
172
- |✔
173
- |`i.v.c.b.Buffer[]`
174
- |✔
175
-
176
- |`JSON`
177
- |`Object`
178
- |✔
179
- |`Object[]`
180
- |✔
181
-
182
- |`JSONB`
183
- |`Object`
184
- |✔
185
- |`Object[]`
186
- |✔
187
-
188
- |`POINT`
189
- |`i.r.p.data.Point`
190
- |✔
191
- |`i.r.p.data.Point[]`
192
- |✔
193
-
194
- |`LINE`
195
- |`i.r.p.data.Line`
196
- |✔
197
- |`i.r.p.data.Line[]`
198
- |✔
199
-
200
- |`LSEG`
201
- |`i.r.p.data.LineSegment`
202
- |✔
203
- |`i.r.p.data.LineSegment[]`
204
- |✔
205
-
206
- |`BOX`
207
- |`i.r.p.data.Box`
208
- |✔
209
- |`i.r.p.data.Box[]`
210
- |✔
211
-
212
- |`INET`
213
- |`io.vertx.pgclient.data.Inet`
214
- |✔
215
- |`io.vertx.pgclient.data.Inet[]`
216
- |✔
217
-
218
- |`MONEY`
219
- |`io.vertx.pgclient.data.Money`
220
- |✔
221
- |`io.vertx.pgclient.data.Money[]`
222
- |✔
223
-
224
- |`CIDR`
225
- |`io.vertx.pgclient.data.Cidr`
226
- |✔
227
- |`io.vertx.pgclient.data.Cidr[]`
228
- |✔
229
-
230
- |`PATH`
231
- |`i.r.p.data.Path`
232
- |✔
233
- |`i.r.p.data.Path[]`
234
- |✔
235
-
236
- |`POLYGON`
237
- |`i.r.p.data.Polygon`
238
- |✔
239
- |`i.r.p.data.Polygon[]`
240
- |✔
241
-
242
- |`CIRCLE`
243
- |`i.r.p.data.Circle`
244
- |✔
245
- |`i.r.p.data.Circle[]`
246
- |✔
247
-
248
- |`TSVECTOR`
249
- |`j.l.String`
250
- |✔
251
- |`j.l.String[]`
252
- |✔
253
-
254
- |`TSQUERY`
255
- |`j.l.String`
256
- |✔
257
- |`j.l.String[]`
258
- |✔
259
-
260
- |`UNKNOWN`
261
- |`j.l.String`
262
- |✔
263
- |`j.l.String[]`
264
- |✔
265
-
266
- |====
267
-
268
- Note: PostgreSQL JSON and JSONB types are represented by the following Java types:
269
-
270
- - `java.lang.String`
271
- - `java.lang.Number`
272
- - `java.lang.Boolean`
273
- - `io.vertx.core.json.JsonObject`
274
- - `io.vertx.core.json.JsonArray`
275
- - `io.vertx.sqlclient.Tuple#JSON_NULL` for representing the JSON null literal
276
-
277
- The following types
278
-
279
- _BIT_, _VARBIT_, _MACADDR_, _MACADDR8_,
280
- _XML_, _HSTORE_, _OID_,
281
- _VOID_
282
-
283
- are not implemented yet (PR are welcome).
284
26
285
27
== Developers
286
28
287
29
=== Testing
288
30
289
- Out of the box, the test suite runs an embedded Postgres by default.
31
+ Out of the box, the test suite uses Docker to run Postgres by default.
290
32
291
33
You can change the version of the embedded Postgres by passing a property `embedded.postgres.version` like this:
292
34
0 commit comments