Class: Google::Cloud::Datastore::V1::PropertyFilter
- Inherits:
-
Object
- Object
- Google::Cloud::Datastore::V1::PropertyFilter
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/datastore/v1/query.rb
Overview
A filter on a specific property.
Defined Under Namespace
Modules: Operator
Instance Attribute Summary collapse
-
#op ⇒ ::Google::Cloud::Datastore::V1::PropertyFilter::Operator
The operator to filter by.
-
#property ⇒ ::Google::Cloud::Datastore::V1::PropertyReference
The property to filter by.
-
#value ⇒ ::Google::Cloud::Datastore::V1::Value
The value to compare the property to.
Instance Attribute Details
#op ⇒ ::Google::Cloud::Datastore::V1::PropertyFilter::Operator
Returns The operator to filter by.
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
# File 'proto_docs/google/datastore/v1/query.rb', line 209 class PropertyFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A property filter operator. module Operator # Unspecified. This value must not be used. OPERATOR_UNSPECIFIED = 0 # Less than. LESS_THAN = 1 # Less than or equal. LESS_THAN_OR_EQUAL = 2 # Greater than. GREATER_THAN = 3 # Greater than or equal. GREATER_THAN_OR_EQUAL = 4 # Equal. EQUAL = 5 # Has ancestor. HAS_ANCESTOR = 11 end end |
#property ⇒ ::Google::Cloud::Datastore::V1::PropertyReference
Returns The property to filter by.
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
# File 'proto_docs/google/datastore/v1/query.rb', line 209 class PropertyFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A property filter operator. module Operator # Unspecified. This value must not be used. OPERATOR_UNSPECIFIED = 0 # Less than. LESS_THAN = 1 # Less than or equal. LESS_THAN_OR_EQUAL = 2 # Greater than. GREATER_THAN = 3 # Greater than or equal. GREATER_THAN_OR_EQUAL = 4 # Equal. EQUAL = 5 # Has ancestor. HAS_ANCESTOR = 11 end end |
#value ⇒ ::Google::Cloud::Datastore::V1::Value
Returns The value to compare the property to.
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
# File 'proto_docs/google/datastore/v1/query.rb', line 209 class PropertyFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A property filter operator. module Operator # Unspecified. This value must not be used. OPERATOR_UNSPECIFIED = 0 # Less than. LESS_THAN = 1 # Less than or equal. LESS_THAN_OR_EQUAL = 2 # Greater than. GREATER_THAN = 3 # Greater than or equal. GREATER_THAN_OR_EQUAL = 4 # Equal. EQUAL = 5 # Has ancestor. HAS_ANCESTOR = 11 end end |