Class: BatchAgg::AggregateDef
- Inherits:
-
Struct
- Object
- Struct
- BatchAgg::AggregateDef
- Defined in:
- lib/batchagg.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#column ⇒ Object
Returns the value of attribute column.
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
6 7 8 |
# File 'lib/batchagg.rb', line 6 def block @block end |
#column ⇒ Object
Returns the value of attribute column
6 7 8 |
# File 'lib/batchagg.rb', line 6 def column @column end |
#expression ⇒ Object
Returns the value of attribute expression
6 7 8 |
# File 'lib/batchagg.rb', line 6 def expression @expression end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/batchagg.rb', line 6 def name @name end |
#options ⇒ Object
Returns the value of attribute options
6 7 8 |
# File 'lib/batchagg.rb', line 6 def @options end |
#type ⇒ Object
Returns the value of attribute type
6 7 8 |
# File 'lib/batchagg.rb', line 6 def type @type end |
Instance Method Details
#block? ⇒ Boolean
9 |
# File 'lib/batchagg.rb', line 9 def block? = !block.nil? |
#column_based? ⇒ Boolean
7 |
# File 'lib/batchagg.rb', line 7 def column_based? = type == :column |
#computed? ⇒ Boolean
8 |
# File 'lib/batchagg.rb', line 8 def computed? = type == :computed |