Class: Druid::BoundFilter

Inherits:
Filter
  • Object
show all
Includes:
BooleanOperators
Defined in:
lib/druid/filter.rb

Instance Attribute Summary

Attributes inherited from Filter

#dimension, #field, #fields, #function, #pattern, #type, #value

Instance Method Summary collapse

Methods included from BooleanOperators

#!, #&, #|

Methods inherited from Filter

#as_json, #method_missing

Constructor Details

#initialize(dimension, params) ⇒ BoundFilter

Returns a new instance of BoundFilter.



318
319
320
321
322
323
324
325
# File 'lib/druid/filter.rb', line 318

def initialize(dimension, params)
  super()
  @type = 'bound'
  @dimension = dimension
  @ordering = params[:ordering]
  @upper = params[:upper]
  @upperStrict = params[:upperStrict]
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Druid::Filter