This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Commit 90bfabf
chore: abstract plain text settings into a SpannerOption (#4264)
* chore: abstract plain text settings into a SpannerOption
* add unit test for plain text scenarios
* gemini suggested code changes
* updated javadoc
* missing space
* fixed unit test
---------
Co-authored-by: rahul2393 <irahul@google.com>1 parent 8d36967 commit 90bfabf
3 files changed
Lines changed: 55 additions & 10 deletions
File tree
- google-cloud-spanner/src
- main/java/com/google/cloud/spanner
- testing
- test/java/com/google/cloud/spanner
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | | - | |
| 917 | + | |
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | | - | |
| 1142 | + | |
| 1143 | + | |
1143 | 1144 | | |
1144 | 1145 | | |
1145 | 1146 | | |
| |||
1675 | 1676 | | |
1676 | 1677 | | |
1677 | 1678 | | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
1678 | 1687 | | |
1679 | 1688 | | |
1680 | 1689 | | |
1681 | | - | |
| 1690 | + | |
1682 | 1691 | | |
1683 | 1692 | | |
1684 | 1693 | | |
| |||
1789 | 1798 | | |
1790 | 1799 | | |
1791 | 1800 | | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
1792 | 1818 | | |
1793 | 1819 | | |
1794 | 1820 | | |
| |||
1954 | 1980 | | |
1955 | 1981 | | |
1956 | 1982 | | |
1957 | | - | |
| 1983 | + | |
1958 | 1984 | | |
1959 | 1985 | | |
1960 | 1986 | | |
| |||
1964 | 1990 | | |
1965 | 1991 | | |
1966 | 1992 | | |
1967 | | - | |
| 1993 | + | |
1968 | 1994 | | |
1969 | 1995 | | |
1970 | 1996 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
1363 | 1386 | | |
0 commit comments