class Enums::ShapeRelations
Enum class representing the relationship between a Query / Filter Shape and indexed Shapes that will be used to determine if a Document should be matched or not
Constants
- CONTAINS
@!visibility protected
- INTERSECTS
@!visibility protected
- WITHIN
@!visibility protected
Attributes
relation[R]
@!visibility protected
Public Class Methods
contains()
click to toggle source
@!scope class @!method number @return [ShapeRelations] ShapeRelations
object
corresponding to elasticsearch option of 'contains'
# File lib/enums/shape_relations.rb, line 30 def self.contains new(CONTAINS) end
intersects()
click to toggle source
@!scope class @!method number @return [ShapeRelations] ShapeRelations
object
corresponding to elasticsearch option of 'intersects'
# File lib/enums/shape_relations.rb, line 38 def self.intersects new(INTERSECTS) end
new(value)
click to toggle source
@!visibility protected
# File lib/enums/shape_relations.rb, line 43 def initialize(value) @relation = value end
within()
click to toggle source
@!scope class @!method number @return [ShapeRelations] ShapeRelations
object
corresponding to elasticsearch option of 'within'
# File lib/enums/shape_relations.rb, line 22 def self.within new(WITHIN) end