Class: Arelastic::Aggregations::Histogram

Inherits:
Bucket show all
Defined in:
lib/arelastic/aggregations/histogram.rb

Instance Attribute Summary

Attributes inherited from Bucket

#aggs

Attributes inherited from Aggregation

#meta, #name, #options

Instance Method Summary collapse

Methods inherited from Bucket

#initialize

Methods inherited from Aggregation

#as_elastic, #initialize, #nested, #reverse_nested

Methods inherited from Nodes::Node

#==, #convert_to_elastic, #read_option!

Methods included from Arelastic::Arities::Binary

#binary

Methods included from Arelastic::Arities::Polyadic

#polyadic

Methods included from Arelastic::Arities::Unary

#unary

Constructor Details

This class inherits a constructor from Arelastic::Aggregations::Bucket

Instance Method Details

#as_elastic_aggregationObject



4
5
6
# File 'lib/arelastic/aggregations/histogram.rb', line 4

def as_elastic_aggregation
  {'histogram' => options}.merge(super)
end