Class: Google::Datastore::V1::PropertyFilter
- Inherits:
-
Object
- Object
- Google::Datastore::V1::PropertyFilter
- Defined in:
- lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb
Overview
A filter on a specific property.
Defined Under Namespace
Modules: Operator
Instance Attribute Summary collapse
-
#op ⇒ Google::Datastore::V1::PropertyFilter::Operator
The operator to filter by.
-
#property ⇒ Google::Datastore::V1::PropertyReference
The property to filter by.
-
#value ⇒ Google::Datastore::V1::Value
The value to compare the property to.
Instance Attribute Details
#op ⇒ Google::Datastore::V1::PropertyFilter::Operator
Returns The operator to filter by.
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb', line 177 class PropertyFilter # 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::Datastore::V1::PropertyReference
Returns The property to filter by.
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb', line 177 class PropertyFilter # 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::Datastore::V1::Value
Returns The value to compare the property to.
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb', line 177 class PropertyFilter # 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 |