Class Filters.ConditionFilter (2.8.0)

public static final class Filters.ConditionFilter implements Filters.Filter

DSL for configuring a conditional filter.

Inheritance

java.lang.Object > Filters.ConditionFilter

Implements

Filters.Filter

Methods

clone()

public Filters.ConditionFilter clone()
Returns
TypeDescription
Filters.ConditionFilter
Overrides

otherwise(Filters.Filter filter)

public Filters.ConditionFilter otherwise(Filters.Filter filter)

Sets (replaces) the filter to apply when the predicate is false.

Parameter
NameDescription
filterFilters.Filter
Returns
TypeDescription
Filters.ConditionFilter

then(Filters.Filter filter)

public Filters.ConditionFilter then(Filters.Filter filter)

Sets (replaces) the filter to apply when the predicate is true.

Parameter
NameDescription
filterFilters.Filter
Returns
TypeDescription
Filters.ConditionFilter

toProto()

public RowFilter toProto()
Returns
TypeDescription
RowFilter