> {
* Adds a mutation which sets the value of the specified cell.
*
* This is a convenience override that converts Strings to ByteStrings.
+ *
+ *
Note: The timestamp values are in microseconds but must match the granularity of the
+ * table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond
+ * granularity). For example: `1571902339435000`.
*/
T setCell(
@Nonnull String familyName, @Nonnull String qualifier, long timestamp, @Nonnull String value);
@@ -46,7 +50,13 @@ T setCell(
*/
T setCell(@Nonnull String familyName, @Nonnull ByteString qualifier, @Nonnull ByteString value);
- /** Adds a mutation which sets the value of the specified cell. */
+ /**
+ * Adds a mutation which sets the value of the specified cell.
+ *
+ *
Note: The timestamp values are in microseconds but must match the granularity of the
+ * table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond
+ * granularity). For example: `1571902339435000`.
+ */
T setCell(
@Nonnull String familyName,
@Nonnull ByteString qualifier,
@@ -65,6 +75,10 @@ T setCell(
* Adds a mutation which sets the value of the specified cell.
*
*
This is a convenience override that converts Strings to ByteStrings.
+ *
+ *
Note: The timestamp values are in microseconds but must match the granularity of the
+ * table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond
+ * granularity). For example: `1571902339435000`.
*/
T setCell(@Nonnull String familyName, @Nonnull String qualifier, long timestamp, long value);
@@ -75,7 +89,13 @@ T setCell(
*/
T setCell(@Nonnull String familyName, @Nonnull ByteString qualifier, long value);
- /** Adds a mutation which sets the value of the specified cell. */
+ /**
+ * Adds a mutation which sets the value of the specified cell.
+ *
+ *
Note: The timestamp values are in microseconds but must match the granularity of the
+ * table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond
+ * granularity). For example: `1571902339435000`.
+ */
T setCell(@Nonnull String familyName, @Nonnull ByteString qualifier, long timestamp, long value);
/** Adds a mutation which deletes cells from the specified column. */
From f4dd552ea00044babe1273e322b8a330f093b2b0 Mon Sep 17 00:00:00 2001
From: kolea2 <45548808+kolea2@users.noreply.github.com>
Date: Tue, 29 Oct 2019 11:58:53 -0400
Subject: [PATCH 07/17] feat: add bom (#50)
---
google-cloud-bigtable-bom/pom.xml | 116 ++++++++++++++++++++++++++++++
pom.xml | 1 +
2 files changed, 117 insertions(+)
create mode 100644 google-cloud-bigtable-bom/pom.xml
diff --git a/google-cloud-bigtable-bom/pom.xml b/google-cloud-bigtable-bom/pom.xml
new file mode 100644
index 0000000000..dd5590d3c5
--- /dev/null
+++ b/google-cloud-bigtable-bom/pom.xml
@@ -0,0 +1,116 @@
+
+
+ 4.0.0
+ com.google.cloud
+ google-cloud-bigtable-bom
+ 1.6.1-SNAPSHOT
+ pom
+
+ com.google.cloud
+ google-cloud-shared-config
+ 0.2.1
+
+
+ Google Cloud Bigtable BOM
+ https://github.com/googleapis/java-bigtable
+
+ BOM for Google Cloud Bigtable
+
+
+
+ Google LLC
+
+
+
+
+ chingor13
+ Jeff Ching
+ chingor@google.com
+ Google LLC
+
+ Developer
+
+
+
+ igorberstein
+ Igor Bernstein
+ igorbernstein@google.com
+ Google LLC
+
+ Developer
+
+
+
+
+
+ scm:git:https://github.com/googleapis/java-bigtable.git
+ scm:git:git@github.com:googleapis/java-bigtable.git
+ https://github.com/googleapis/java-bigtable
+
+
+
+
+ sonatype-nexus-snapshots
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+ sonatype-nexus-staging
+ https://oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+
+
+
+ The Apache Software License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+
+
+
+
+
+
+ com.google.cloud
+ google-cloud-bigtable
+ 1.6.1-SNAPSHOT
+
+
+ com.google.cloud
+ google-cloud-bigtable-emulator
+ 0.115.1-SNAPSHOT
+
+
+ com.google.api.grpc
+ grpc-google-cloud-bigtable-admin-v2
+ 0.82.1-SNAPSHOT
+
+
+ com.google.api.grpc
+ grpc-google-cloud-bigtable-v2
+ 0.82.1-SNAPSHOT
+
+
+ com.google.api.grpc
+ proto-google-cloud-bigtable-admin-v2
+ 0.82.1-SNAPSHOT
+
+
+ com.google.api.grpc
+ proto-google-cloud-bigtable-v2
+ 0.82.1-SNAPSHOT
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+
+ true
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 90945ca8f7..e8e18bba0d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -380,6 +380,7 @@
grpc-google-cloud-bigtable-admin-v2
google-cloud-bigtable
google-cloud-bigtable-emulator
+ google-cloud-bigtable-bom
From dbfa73a1a336d0afb03e7755d17786216199a851 Mon Sep 17 00:00:00 2001
From: kolea2 <45548808+kolea2@users.noreply.github.com>
Date: Tue, 29 Oct 2019 13:21:40 -0400
Subject: [PATCH 08/17] fix: align version numbers for proto and grpc versions
(#52)
---
google-cloud-bigtable-bom/pom.xml | 8 ++++----
grpc-google-cloud-bigtable-admin-v2/pom.xml | 2 +-
grpc-google-cloud-bigtable-v2/pom.xml | 2 +-
pom.xml | 8 ++++----
proto-google-cloud-bigtable-admin-v2/pom.xml | 2 +-
proto-google-cloud-bigtable-v2/pom.xml | 2 +-
versions.txt | 8 ++++----
7 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/google-cloud-bigtable-bom/pom.xml b/google-cloud-bigtable-bom/pom.xml
index dd5590d3c5..3086d4340f 100644
--- a/google-cloud-bigtable-bom/pom.xml
+++ b/google-cloud-bigtable-bom/pom.xml
@@ -82,22 +82,22 @@
com.google.api.grpc
grpc-google-cloud-bigtable-admin-v2
- 0.82.1-SNAPSHOT
+ 1.6.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigtable-v2
- 0.82.1-SNAPSHOT
+ 1.6.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigtable-admin-v2
- 0.82.1-SNAPSHOT
+ 1.6.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigtable-v2
- 0.82.1-SNAPSHOT
+ 1.6.1-SNAPSHOT