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. Must contain at least one filter.

Returns:



185
186
187
188
189
190
191
192
193
194
195
196
197
# File 'proto_docs/google/datastore/v1/query.rb', line 185

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
  end
end

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

Returns The operator for combining multiple filters.

Returns:



185
186
187
188
189
190
191
192
193
194
195
196
197
# File 'proto_docs/google/datastore/v1/query.rb', line 185

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
  end
end