Class: Google::Cloud::Datastore::V1::CompositeFilter

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/datastore/v1/query.rb

Overview

A filter that merges multiple other filters using the given operator.

Defined Under Namespace

Modules: Operator

Instance Attribute Summary collapse

Instance Attribute Details

#filters::Array<::Google::Cloud::Datastore::V1::Filter>

Returns The list of filters to combine.

Requires:

  • At least one filter is present.

Returns:



359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'proto_docs/google/datastore/v1/query.rb', line 359

class CompositeFilter
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A composite filter operator.
  module Operator
    # Unspecified. This value must not be used.
    OPERATOR_UNSPECIFIED = 0

    # The results are required to satisfy each of the combined filters.
    AND = 1

    # Documents are required to satisfy at least one of the combined filters.
    OR = 2
  end
end

#op::Google::Cloud::Datastore::V1::CompositeFilter::Operator

Returns The operator for combining multiple filters.

Returns:



359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'proto_docs/google/datastore/v1/query.rb', line 359

class CompositeFilter
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A composite filter operator.
  module Operator
    # Unspecified. This value must not be used.
    OPERATOR_UNSPECIFIED = 0

    # The results are required to satisfy each of the combined filters.
    AND = 1

    # Documents are required to satisfy at least one of the combined filters.
    OR = 2
  end
end