Class Filters.ValueFilter (2.35.1)

public static final class Filters.ValueFilter implements Serializable

Inheritance

java.lang.Object > Filters.ValueFilter

Implements

Serializable

Methods

exactMatch(ByteString value)

public Filters.Filter exactMatch(ByteString value)

Matches only cells with values that match the given value.

Parameter
NameDescription
valueByteString
Returns
TypeDescription
Filters.Filter

exactMatch(String value)

public Filters.Filter exactMatch(String value)

Matches only cells with values that match the given value.

Parameter
NameDescription
valueString
Returns
TypeDescription
Filters.Filter

range()

public Filters.ValueRangeFilter range()

Construct a ValueRangeFilter that can create a ValueRange oriented Filter.

Returns
TypeDescription
Filters.ValueRangeFilter

a new ValueRangeFilter

regex(ByteString regex)

public Filters.Filter regex(ByteString 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 , which may be present in a binary value.

Parameter
NameDescription
regexByteString
Returns
TypeDescription
Filters.Filter

regex(String regex)

public Filters.Filter regex(String 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 , which may be present in a binary value.

Parameter
NameDescription
regexString
Returns
TypeDescription
Filters.Filter

strip()

public Filters.Filter strip()

Replaces each cell's value with the empty string.

Returns
TypeDescription
Filters.Filter