Enum GcRule.Kind
- All Implemented Interfaces:
Serializable,Comparable<GcRule.Kind>,java.lang.constant.Constable
- Enclosing class:
- GcRule
The rule shapes Bigtable's admin API takes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCollects cells only when every nested rule would collect them; seeGcRule.intersection(GcRule...).Collects cells older than an age; seeGcRule.maxAge(Duration).Collects the versions of a cell beyond a kept count; seeGcRule.maxVersions(int).Collects cells any of the nested rules would collect; seeGcRule.union(GcRule...). -
Method Summary
Modifier and TypeMethodDescriptionstatic GcRule.KindReturns the enum constant of this type with the specified name.static GcRule.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MAX_VERSIONS
Collects the versions of a cell beyond a kept count; seeGcRule.maxVersions(int). -
MAX_AGE
Collects cells older than an age; seeGcRule.maxAge(Duration). -
UNION
Collects cells any of the nested rules would collect; seeGcRule.union(GcRule...). -
INTERSECTION
Collects cells only when every nested rule would collect them; seeGcRule.intersection(GcRule...).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-