Class: Druid::PostAggregationHistogramCustomBuckets

Inherits:
PostAggregation show all
Defined in:
lib/druid/post_aggregation.rb

Instance Attribute Summary collapse

Attributes inherited from PostAggregation

#fieldName, #fieldNames, #fields, #fn, #function, #name, #numBuckets, #type, #value

Instance Method Summary collapse

Methods inherited from PostAggregation

#js, #method_missing

Constructor Details

#initialize(attributes = {}) ⇒ PostAggregationHistogramCustomBuckets

Returns a new instance of PostAggregationHistogramCustomBuckets.



235
236
237
238
# File 'lib/druid/post_aggregation.rb', line 235

def initialize(attributes = {})
  super
  @type = "customBuckets"
end

Dynamic Method Handling

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

Instance Attribute Details

#breaksObject

Returns the value of attribute breaks.



234
235
236
# File 'lib/druid/post_aggregation.rb', line 234

def breaks
  @breaks
end