google-cloud-bigtable 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 864b31028834907aa872f0f5aec7a31a682e419c286744c1cc3243072597e739
4
- data.tar.gz: 543de2a38416692f95400157b4ca67520b5a6765bed60dd1237b3be405a10d2e
3
+ metadata.gz: c055b86b9d279e27fdb78ec71ddb8babd48661349c0404db696496c84fb3d8e1
4
+ data.tar.gz: 4c3557a421b16d56680b9c9a39f1d5073a6886efe5198262df0ca02494a000be
5
5
  SHA512:
6
- metadata.gz: a62102b9792b017c396477aa79435a29b1c495e2234c8a34c6040c74883c9aaa7f07cf9e945606a139e7f8d032f57663da235a8a6f3e8922eeaad72f5a582b46
7
- data.tar.gz: 5d474fd9b72cb0d2474be964d1c0af670266f577af221d6ae76256c34f935ec239040b824e2eadd7e391ad09fde511406f210f0e007796cea69e163d244827f9
6
+ metadata.gz: da4f265ebb057cc6e291104edf56cfdf121efc9a75def53dbc9831aba3708049eb68a53c378c147c9f49277afa8cf46822ce01c4e11aa8fcefd907522408862c
7
+ data.tar.gz: 79be648c3e85fe49e9a285fcdec140e16e015e510b8d5327a802c0e1d36b825d4c4ab2cb52f63c9d5e8b96ef3177c0f91648ea56e5aac5c045ffba90e0a1c101
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 2.2.1 / 2021-01-13
4
+
5
+ #### Documentation
6
+
7
+ * Use consistent column family and field names in samples
8
+
3
9
  ### 2.2.0 / 2020-11-11
4
10
 
5
11
  #### Features
@@ -45,7 +45,7 @@ there is a small amount of setup:
45
45
 
46
46
  ```sh
47
47
  $ cd google-cloud-bigtable/
48
- $ bundle exec rake bundleupdate
48
+ $ bundle install
49
49
  ```
50
50
 
51
51
  ## Console
@@ -194,8 +194,8 @@ table = bigtable.table("my-instance", "my-table")
194
194
 
195
195
  entry = table.new_mutation_entry("user-1")
196
196
  entry.set_cell(
197
- "cf-1",
198
- "field-1",
197
+ "cf1",
198
+ "field1",
199
199
  "XYZ",
200
200
  timestamp: (Time.now.to_f * 1000000).round(-3) # microseconds
201
201
  ).delete_cells("cf2", "field02")
@@ -245,8 +245,8 @@ table = bigtable.table("my-instance", "my-table")
245
245
  predicate_filter = Google::Cloud::Bigtable::RowFilter.key("user-10")
246
246
  on_match_mutations = Google::Cloud::Bigtable::MutationEntry.new
247
247
  on_match_mutations.set_cell(
248
- "cf-1",
249
- "field-1",
248
+ "cf1",
249
+ "field1",
250
250
  "XYZ",
251
251
  timestamp: (Time.now.to_f * 1000000).round(-3) # microseconds
252
252
  ).delete_cells("cf2", "field02")
@@ -509,8 +509,8 @@ module Google
509
509
  #
510
510
  # entry = table.new_mutation_entry("user-1")
511
511
  # entry.set_cell(
512
- # "cf-1",
513
- # "field-1",
512
+ # "cf1",
513
+ # "field1",
514
514
  # "XYZ",
515
515
  # timestamp: (Time.now.to_f * 1000000).round(-3) # microseconds
516
516
  # ).delete_cells("cf2", "field02")
@@ -104,8 +104,8 @@ module Google
104
104
  # @example With timestamp.
105
105
  # entry = Google::Cloud::Bigtable::MutationEntry.new("user-1")
106
106
  # entry.set_cell(
107
- # "cf-1",
108
- # "field-1",
107
+ # "cf1",
108
+ # "field1",
109
109
  # "XYZ",
110
110
  # timestamp: (Time.now.to_f * 1000000).round(-3) # microseconds
111
111
  # )
@@ -156,14 +156,14 @@ module Google
156
156
  #
157
157
  # @example Without timestamp range.
158
158
  # entry = Google::Cloud::Bigtable::MutationEntry.new("user-1")
159
- # entry.delete_cells("cf-1", "field-1")
159
+ # entry.delete_cells("cf1", "field1")
160
160
  #
161
161
  # @example With timestamp range.
162
162
  # entry = Google::Cloud::Bigtable::MutationEntry.new("user-1")
163
163
  # timestamp_micros = (Time.now.to_f * 1000000).round(-3)
164
164
  # entry.delete_cells(
165
165
  # "cf1",
166
- # "field-1",
166
+ # "field1",
167
167
  # timestamp_from: timestamp_micros - 5000000,
168
168
  # timestamp_to: timestamp_micros
169
169
  # )
@@ -172,7 +172,7 @@ module Google
172
172
  # timestamp_micros = (Time.now.to_f * 1000000).round(-3)
173
173
  # entry.delete_cells(
174
174
  # "cf1",
175
- # "field-1",
175
+ # "field1",
176
176
  # timestamp_from: timestamp_micros - 5000000
177
177
  # )
178
178
  #
@@ -201,7 +201,7 @@ module Google
201
201
  #
202
202
  # @example
203
203
  # entry = Google::Cloud::Bigtable::MutationEntry.new("user-1")
204
- # entry.delete_from_family("cf-1")
204
+ # entry.delete_from_family("cf1")
205
205
  #
206
206
  def delete_from_family family
207
207
  @mutations << Google::Cloud::Bigtable::V2::Mutation.new(delete_from_family: { family_name: family })
@@ -65,8 +65,8 @@ module Google
65
65
  #
66
66
  # entry = table.new_mutation_entry("user-1")
67
67
  # entry.set_cell(
68
- # "cf-1",
69
- # "field-1",
68
+ # "cf1",
69
+ # "field1",
70
70
  # "XYZ",
71
71
  # timestamp: (Time.now.to_f * 1000000).round(-3) # microseconds
72
72
  # ).delete_cells("cf2", "field02")
@@ -219,8 +219,8 @@ module Google
219
219
  # predicate_filter = Google::Cloud::Bigtable::RowFilter.key("user-10")
220
220
  # on_match_mutations = Google::Cloud::Bigtable::MutationEntry.new
221
221
  # on_match_mutations.set_cell(
222
- # "cf-1",
223
- # "field-1",
222
+ # "cf1",
223
+ # "field1",
224
224
  # "XYZ",
225
225
  # timestamp: (Time.now.to_f * 1000000).round(-3) # microseconds
226
226
  # ).delete_cells("cf2", "field02")
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Bigtable
19
- VERSION = "2.2.0".freeze
19
+ VERSION = "2.2.1".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2021-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-bigtable-admin-v2