Commit 30d37dd
feat: add support for Proto Columns (#2779)
* feat: Support for Proto Messages & Enums (#2155)
* feat: Importing Proto Changes
Commit will be reverted, once PROTO changes are available publicly.
* feat: Proto Message Implementation
* feat: Adding support for enum
* feat: Code refactoring
Adding default implementation for newly added methods
ByteArray compatability changes for Proto Messages
* docs: Adding Java docs for all the newly added methods.
* test: Sample Proto & Generated classes for unit test
* feat: Adding bytes/proto & int64/enum compatability
Adding Additional check for ChecksumResultSet
* test: Adding unit tests
* test: Adding unit tests for ValueBinder.java
* feat: refactoring to add support for getValue & other minor changes
* feat: Minor refactoring
1. Adding docs and formatting the code.
2. Adding additional methods for enum and message which accepts descriptors.
* feat: Adding bytes/message & int64/enum compatability in Value
* refactor: Minor refactoring
* feat: Adding Proto Array Implementation
* test: Implementing unit tests for array of protos and enums
* refactor: adding clirr ignores
* feat: Adding support for enum as Primary Key
* feat: Code Review Changes, minor refactoring and adding docs
* feat: Addressing review comments
-Modified Docs/Comments
-Minor Refactoring
* refactor: Using Column instead of column to avoid test failures
* feat: Minor refactoring
-code review comments
-adding function docs
* samples: Adding samples for updating & querying Proto messages & enums (#2211)
* samples: Adding samples for updating & querying Proto messages & enums
* style: linting
* style: linting
* docs: Adding function and class doc
* test: Proto Column Integration tests (#2212)
* test: Adding Integration tests for Proto Messages & Enums
* test: Adding additional test for Parameterized Queries, Primary Keys & Invalid Wire type errors.
* style: Formatting
* style: Formatting
* test: Updating instance and db name
* test: Adding inter compatability check while writing data
* Configured jitpack.yml to use OpenJDK 11 (#2218)
Co-authored-by: Pavol Juhos <pjuhos@google.com>
* feat: add support for Proto Columns DDL (#2277)
* feat: add code changes and tests for Proto columns DDL support
* feat: add auto generated code
* feat: code changes and tests for Proto columns DDL support
* feat: add descriptors file
* feat: code refactoring
* feat: Integration tests and code refactoring
* feat: code refactoring
* feat: unit tests and clirr differences
* feat: lint changes
* feat: code refactor
* feat: code refactoring
* feat: code refactoring
* feat: code refactoring
* feat: add java docs to new methods
* feat: lint formatting
* feat: lint formatting changes
* feat: lint formatting
* feat: lint formatting
* feat: test exception cases
* feat: code refactoring
* feat: add java docs and refactoring
* feat: add java docs
* feat: java docs refactor
* feat: remove overload method setProtoDescriptors that accepts file path as input to avoid unexpected issues
* feat: remove updateDdl method overload to update proto descriptor
* teat: update pom file to run tests on cloud-devel region temporarily to validate main branch update
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* fix: revert host changes in pom.xml file
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat(spanner): revert autogenerated code
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat(spanner): remove samples
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat(spanner): remove clirr
* feat(spanner): skip emulator test
* feat(spanner): clirr
* feat(spanner): fix javadoc
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat(spanner): fix javadoc
* feat(spanner): fix javadoc
* feat(spanner): fix javadoc
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat(spanner): fix emulator skip
* build: ignore all changes in v1 package
* feat(spanner): add optimizations to deserialize proto messages
* feat(spanner): remove TODO
* feat(spanner): remove TODO
---------
Co-authored-by: Gaurav Purohit <gauravpurohit@google.com>
Co-authored-by: Pavol Juhos <pjuhos@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Knut Olav Løite <koloite@gmail.com>1 parent 95f064f commit 30d37dd
File tree
38 files changed
+3945
-117
lines changed- google-cloud-spanner
- src
- main/java/com/google/cloud/spanner
- connection
- spi/v1
- test
- java/com/google/cloud/spanner
- connection
- it
- resources/com/google/cloud/spanner
38 files changed
+3945
-117
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 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 | + | |
195 | 235 | | |
196 | 236 | | |
197 | 237 | | |
| |||
222 | 262 | | |
223 | 263 | | |
224 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
225 | 297 | | |
226 | 298 | | |
227 | 299 | | |
| |||
277 | 349 | | |
278 | 350 | | |
279 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
280 | 359 | | |
281 | 360 | | |
282 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
137 | 146 | | |
138 | 147 | | |
139 | 148 | | |
| |||
Lines changed: 137 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
477 | 482 | | |
478 | 483 | | |
479 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
480 | 493 | | |
481 | 494 | | |
482 | 495 | | |
| |||
500 | 513 | | |
501 | 514 | | |
502 | 515 | | |
| 516 | + | |
503 | 517 | | |
504 | 518 | | |
505 | 519 | | |
| |||
521 | 535 | | |
522 | 536 | | |
523 | 537 | | |
| 538 | + | |
524 | 539 | | |
525 | 540 | | |
526 | 541 | | |
| |||
596 | 611 | | |
597 | 612 | | |
598 | 613 | | |
| 614 | + | |
599 | 615 | | |
600 | 616 | | |
601 | 617 | | |
| |||
610 | 626 | | |
611 | 627 | | |
612 | 628 | | |
| 629 | + | |
613 | 630 | | |
614 | 631 | | |
615 | 632 | | |
| |||
649 | 666 | | |
650 | 667 | | |
651 | 668 | | |
652 | | - | |
| 669 | + | |
| 670 | + | |
653 | 671 | | |
654 | 672 | | |
655 | 673 | | |
| |||
664 | 682 | | |
665 | 683 | | |
666 | 684 | | |
| 685 | + | |
667 | 686 | | |
668 | 687 | | |
669 | 688 | | |
| |||
699 | 718 | | |
700 | 719 | | |
701 | 720 | | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
702 | 750 | | |
703 | 751 | | |
704 | 752 | | |
| |||
768 | 816 | | |
769 | 817 | | |
770 | 818 | | |
| 819 | + | |
| 820 | + | |
771 | 821 | | |
772 | 822 | | |
773 | 823 | | |
| |||
782 | 832 | | |
783 | 833 | | |
784 | 834 | | |
| 835 | + | |
| 836 | + | |
785 | 837 | | |
786 | 838 | | |
787 | 839 | | |
| |||
812 | 864 | | |
813 | 865 | | |
814 | 866 | | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
815 | 873 | | |
816 | 874 | | |
817 | 875 | | |
| |||
891 | 949 | | |
892 | 950 | | |
893 | 951 | | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
894 | 1007 | | |
895 | 1008 | | |
896 | 1009 | | |
| |||
1489 | 1602 | | |
1490 | 1603 | | |
1491 | 1604 | | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
1492 | 1616 | | |
1493 | 1617 | | |
1494 | 1618 | | |
| |||
1574 | 1698 | | |
1575 | 1699 | | |
1576 | 1700 | | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
1577 | 1713 | | |
1578 | 1714 | | |
1579 | 1715 | | |
| |||
0 commit comments