Class: Google::Bigtable::V2::RowFilter::Condition

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigtable/v2/doc/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

Instance Attribute Details

#false_filterGoogle::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::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.



404
# File 'lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb', line 404

class Condition; end

#predicate_filterGoogle::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.

Returns:

  • (Google::Bigtable::V2::RowFilter)

    If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.



404
# File 'lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb', line 404

class Condition; end

#true_filterGoogle::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.

Returns:

  • (Google::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.



404
# File 'lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb', line 404

class Condition; end