A RowFilter which evaluates one of two possible RowFilters, depending on whether or not a predicate RowFilter outputs any cells from the input row.
IMPORTANT NOTE: The predicate filter does not execute atomically with the true and false filters, which may lead to inconsistent or unexpected results. Additionally, Condition filters have poor performance, especially when filters are set for the false condition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#false_filter
def false_filter() -> ::Google::Cloud::Bigtable::V2::RowFilter
Returns
-
(::Google::Cloud::Bigtable::V2::RowFilter) — The filter to apply to the input row if
predicate_filter
does not return any results. If not provided, no results will be returned in the false case.
#false_filter=
def false_filter=(value) -> ::Google::Cloud::Bigtable::V2::RowFilter
Parameter
-
value (::Google::Cloud::Bigtable::V2::RowFilter) — The filter to apply to the input row if
predicate_filter
does not return any results. If not provided, no results will be returned in the false case.
Returns
-
(::Google::Cloud::Bigtable::V2::RowFilter) — The filter to apply to the input row if
predicate_filter
does not return any results. If not provided, no results will be returned in the false case.
#predicate_filter
def predicate_filter() -> ::Google::Cloud::Bigtable::V2::RowFilter
Returns
-
(::Google::Cloud::Bigtable::V2::RowFilter) — If
predicate_filter
outputs any cells, thentrue_filter
will be evaluated on the input row. Otherwise,false_filter
will be evaluated.
#predicate_filter=
def predicate_filter=(value) -> ::Google::Cloud::Bigtable::V2::RowFilter
Parameter
-
value (::Google::Cloud::Bigtable::V2::RowFilter) — If
predicate_filter
outputs any cells, thentrue_filter
will be evaluated on the input row. Otherwise,false_filter
will be evaluated.
Returns
-
(::Google::Cloud::Bigtable::V2::RowFilter) — If
predicate_filter
outputs any cells, thentrue_filter
will be evaluated on the input row. Otherwise,false_filter
will be evaluated.
#true_filter
def true_filter() -> ::Google::Cloud::Bigtable::V2::RowFilter
Returns
-
(::Google::Cloud::Bigtable::V2::RowFilter) — The filter to apply to the input row if
predicate_filter
returns any results. If not provided, no results will be returned in the true case.
#true_filter=
def true_filter=(value) -> ::Google::Cloud::Bigtable::V2::RowFilter
Parameter
-
value (::Google::Cloud::Bigtable::V2::RowFilter) — The filter to apply to the input row if
predicate_filter
returns any results. If not provided, no results will be returned in the true case.
Returns
-
(::Google::Cloud::Bigtable::V2::RowFilter) — The filter to apply to the input row if
predicate_filter
returns any results. If not provided, no results will be returned in the true case.