Commit 801c2ac
authored
Remove JDBC driver dependency on XContent by cloning the necessary
classes into the driver.
This has the advantage of keeping the parsing/writing code style in sync
and hopefully making maintenance easier in the future at the cost
of bringing over a lot of code that is potentially unnecessary.
The imported classes were kept as close as possible to the original and
placed under a different package. Noteable exception is JDBC
XContentBuilder which exposes its internal generator to allow unwrapping
inside sql-action.
The bridging between XContent in ES and JDBC is done in sql-action
through ProtoShim which relies on delegation to allow ES XContent to be
used inside the JDBC classes.
Fix #80277
1 parent a76a04d commit 801c2ac
File tree
87 files changed
+7902
-1679
lines changed- x-pack/plugin/sql
- jdbc
- licenses
- src/main
- java/org/elasticsearch/xpack/sql/jdbc
- resources/META-INF/services
- sql-action
- licenses
- src
- main/java/org/elasticsearch/xpack/sql/action
- test/java/org/elasticsearch/xpack/sql/action
- sql-client
- licenses
- src/main/java/org/elasticsearch/xpack/sql/client
- sql-cli
- sql-proto
- licenses
- src
- main/java/org/elasticsearch/xpack/sql/proto
- core
- xcontent
- cbor
- json
- support
- test/java/org/elasticsearch/xpack/sql/proto
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
87 files changed
+7902
-1679
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 14 | + | |
27 | 15 | | |
28 | 16 | | |
29 | 17 | | |
30 | 18 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 19 | | |
35 | 20 | | |
36 | 21 | | |
| |||
40 | 25 | | |
41 | 26 | | |
42 | 27 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 28 | | |
51 | 29 | | |
52 | 30 | | |
| |||
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
| |||
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
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 | | - | |
| 36 | + | |
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 1 deletion
This file was deleted.
0 commit comments