Class: Google::Bigtable::Admin::V2::GcRule
- Inherits:
-
Object
- Object
- Google::Bigtable::Admin::V2::GcRule
- Defined in:
- lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb
Overview
Rule for determining which cells to delete during garbage collection.
Defined Under Namespace
Classes: Intersection, Union
Instance Attribute Summary collapse
-
#intersection ⇒ Google::Bigtable::Admin::V2::GcRule::Intersection
Delete cells that would be deleted by every nested rule.
-
#max_age ⇒ Google::Protobuf::Duration
Delete cells in a column older than the given age.
-
#max_num_versions ⇒ Integer
Delete all cells in a column except the most recent N.
-
#union ⇒ Google::Bigtable::Admin::V2::GcRule::Union
Delete cells that would be deleted by any nested rule.
Instance Attribute Details
#intersection ⇒ Google::Bigtable::Admin::V2::GcRule::Intersection
Returns Delete cells that would be deleted by every nested rule.
153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 153 class GcRule # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection; end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union; end end |
#max_age ⇒ Google::Protobuf::Duration
Returns Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.
153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 153 class GcRule # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection; end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union; end end |
#max_num_versions ⇒ Integer
Returns Delete all cells in a column except the most recent N.
153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 153 class GcRule # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection; end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union; end end |
#union ⇒ Google::Bigtable::Admin::V2::GcRule::Union
Returns Delete cells that would be deleted by any nested rule.
153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 153 class GcRule # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection; end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [Array<Google::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union; end end |