-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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
- Loading branch information
Showing
87 changed files
with
7,902 additions
and
1,679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
.../plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/XContentSqlExtension.java
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../src/main/resources/META-INF/services/org.elasticsearch.xcontent.XContentBuilderExtension
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
x-pack/plugin/sql/sql-action/licenses/jackson-core-2.10.4.jar.sha1
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
x-pack/plugin/sql/sql-action/licenses/joda-time-2.10.10.jar.sha1
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.