Class: Arelastic::Aggregations::Sum
- Inherits:
-
Aggregation
- Object
- Nodes::Node
- Aggregation
- Arelastic::Aggregations::Sum
- Defined in:
- lib/arelastic/aggregations/sum.rb
Instance Attribute Summary
Attributes inherited from Aggregation
Instance Method Summary collapse
Methods inherited from Aggregation
#as_elastic, #initialize, #nested, #reverse_nested
Methods inherited from Nodes::Node
#==, #convert_to_elastic, #hash, #read_option!
Methods included from Arelastic::Arities::Binary
Methods included from Arelastic::Arities::Polyadic
Methods included from Arelastic::Arities::Unary
Constructor Details
This class inherits a constructor from Arelastic::Aggregations::Aggregation
Instance Method Details
#as_elastic_aggregation ⇒ Object
4 5 6 |
# File 'lib/arelastic/aggregations/sum.rb', line 4 def as_elastic_aggregation {'sum' => } end |