Class: Google::Cloud::Bigtable::V2::RowFilter::Condition
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::RowFilter::Condition
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/v2/data.rb
Overview
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.
Instance Attribute Summary collapse
-
#false_filter ⇒ ::Google::Cloud::Bigtable::V2::RowFilter
The filter to apply to the input row if
predicate_filter
does not return any results. -
#predicate_filter ⇒ ::Google::Cloud::Bigtable::V2::RowFilter
If
predicate_filter
outputs any cells, thentrue_filter
will be evaluated on the input row. -
#true_filter ⇒ ::Google::Cloud::Bigtable::V2::RowFilter
The filter to apply to the input row if
predicate_filter
returns any results.
Instance Attribute Details
#false_filter ⇒ ::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.
514 515 516 517 |
# File 'proto_docs/google/bigtable/v2/data.rb', line 514 class Condition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#predicate_filter ⇒ ::Google::Cloud::Bigtable::V2::RowFilter
Returns If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
514 515 516 517 |
# File 'proto_docs/google/bigtable/v2/data.rb', line 514 class Condition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#true_filter ⇒ ::Google::Cloud::Bigtable::V2::RowFilter
Returns 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.
514 515 516 517 |
# File 'proto_docs/google/bigtable/v2/data.rb', line 514 class Condition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |