public static final class Filters.KeyFilter extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
Filters.Filter |
exactMatch(com.google.protobuf.ByteString value)
Matches only cells from rows whose keys equal the value.
|
Filters.Filter |
exactMatch(String value)
Matches only cells from rows whose keys equal the value.
|
Filters.Filter |
regex(com.google.protobuf.ByteString regex)
Matches only cells from rows whose keys satisfy the given RE2 regex.
|
Filters.Filter |
regex(String regex)
Matches only cells from rows whose keys satisfy the given RE2 regex.
|
Filters.Filter |
sample(double probability)
Matches all cells from a row with `probability`, and matches no cells from the row with
probability 1-`probability`.
|
public Filters.Filter regex(@Nonnull String regex)
public Filters.Filter regex(@Nonnull com.google.protobuf.ByteString regex)
public Filters.Filter exactMatch(@Nonnull String value)
public Filters.Filter exactMatch(@Nonnull com.google.protobuf.ByteString value)
public Filters.Filter sample(double probability)
Copyright © 2023 Google LLC. All rights reserved.