Class: Druid::Aggregation
- Inherits:
-
Object
- Object
- Druid::Aggregation
- Includes:
- ActiveModel::Model
- Defined in:
- lib/druid/aggregation.rb
Defined Under Namespace
Classes: AggregatorValidator, FieldnameValidator, FieldnamesValidator, FilterValidator, FnValidator
Instance Attribute Summary collapse
-
#aggregator ⇒ Object
Returns the value of attribute aggregator.
-
#byRow ⇒ Object
Returns the value of attribute byRow.
-
#fieldName ⇒ Object
Returns the value of attribute fieldName.
-
#fieldNames ⇒ Object
Returns the value of attribute fieldNames.
-
#filter ⇒ Object
Returns the value of attribute filter.
-
#fnAggregate ⇒ Object
Returns the value of attribute fnAggregate.
-
#fnCombine ⇒ Object
Returns the value of attribute fnCombine.
-
#fnReset ⇒ Object
Returns the value of attribute fnReset.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#aggregator ⇒ Object
Returns the value of attribute aggregator.
87 88 89 |
# File 'lib/druid/aggregation.rb', line 87 def aggregator @aggregator end |
#byRow ⇒ Object
Returns the value of attribute byRow.
59 60 61 |
# File 'lib/druid/aggregation.rb', line 59 def byRow @byRow end |
#fieldName ⇒ Object
Returns the value of attribute fieldName.
22 23 24 |
# File 'lib/druid/aggregation.rb', line 22 def fieldName @fieldName end |
#fieldNames ⇒ Object
Returns the value of attribute fieldNames.
36 37 38 |
# File 'lib/druid/aggregation.rb', line 36 def fieldNames @fieldNames end |
#filter ⇒ Object
Returns the value of attribute filter.
73 74 75 |
# File 'lib/druid/aggregation.rb', line 73 def filter @filter end |
#fnAggregate ⇒ Object
Returns the value of attribute fnAggregate.
50 51 52 |
# File 'lib/druid/aggregation.rb', line 50 def fnAggregate @fnAggregate end |
#fnCombine ⇒ Object
Returns the value of attribute fnCombine.
53 54 55 |
# File 'lib/druid/aggregation.rb', line 53 def fnCombine @fnCombine end |
#fnReset ⇒ Object
Returns the value of attribute fnReset.
56 57 58 |
# File 'lib/druid/aggregation.rb', line 56 def fnReset @fnReset end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/druid/aggregation.rb', line 8 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/druid/aggregation.rb', line 5 def type @type end |
Instance Method Details
#as_json(options = {}) ⇒ Object
90 91 92 |
# File 'lib/druid/aggregation.rb', line 90 def as_json( = {}) super(.merge(except: %w(errors validation_context))) end |