Class Filters.ValueFilter
java.lang.Object
com.google.cloud.bigtable.data.v2.models.Filters.ValueFilter
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Filters
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionexactMatch
(com.google.protobuf.ByteString value) Matches only cells with values that match the given value.exactMatch
(String value) Matches only cells with values that match the given value.range()
regex
(com.google.protobuf.ByteString regex) Matches only cells with values that satisfy the given RE2 regex.Matches only cells with values that satisfy the given RE2 regex.strip()
Replaces each cell's value with the empty string.
-
Method Details
-
regex
Matches only cells with values that satisfy the given RE2 regex. Note that, since cell values can contain arbitrary bytes, the `\C` escape sequence must be used if a true wildcard is desired. The `.` character will not match the new line character `\n`, which may be present in a binary value. -
exactMatch
Matches only cells with values that match the given value. -
exactMatch
Matches only cells with values that match the given value. -
regex
Matches only cells with values that satisfy the given RE2 regex. Note that, since cell values can contain arbitrary bytes, the `\C` escape sequence must be used if a true wildcard is desired. The `.` character will not match the new line character `\n`, which may be present in a binary value. -
range
- Returns:
- a new
Filters.ValueRangeFilter
-
strip
Replaces each cell's value with the empty string.
-