Skip to content
Permalink
Browse files
fix: fixes javadocs for Key (#532)
Adds NUMERIC, TIMESTAMP and DATE types to the javadocs of the Key class.
  • Loading branch information
thiagotnunes committed Oct 21, 2020
1 parent 1020989 commit 768c19dc1b9985f7823ec1e4ca92491936062f3b
Showing with 7 additions and 4 deletions.
  1. +7 −4 google-cloud-spanner/src/main/java/com/google/cloud/spanner/Key.java
@@ -61,10 +61,13 @@ private Key(List<Object> parts) {
*
* <ul>
* <li>{@code Boolean} for the {@code BOOL} Cloud Spanner type
* <li>{@code Integer}, {@code Long} for {@code INT64}
* <li>{@code Float}, {@code Double} for {@code FLOAT64}
* <li>{@code String} for {@code STRING}
* <li>{@link ByteArray} for {@code BYTES}
* <li>{@code Integer}, {@code Long} for the {@code INT64} Cloud Spanner type
* <li>{@code Float}, {@code Double} for the {@code FLOAT64} Cloud Spanner type
* <li>{@code BigDecimal} for the {@code NUMERIC} Cloud Spanner type
* <li>{@code String} for the {@code STRING} Cloud Spanner type
* <li>{@link ByteArray} for the {@code BYTES} Cloud Spanner type
* <li>{@link Timestamp} for the {@code TIMESTAMP} Cloud Spanner type
* <li>{@link Date} for the {@code DATE} Cloud Spanner type
* </ul>
*
* @throws IllegalArgumentException if any member of {@code values} is not a supported type

0 comments on commit 768c19d

Please sign in to comment.