Class: Fluent::NorikraPlugin::Query
- Inherits:
-
Object
- Object
- Fluent::NorikraPlugin::Query
- Defined in:
- lib/fluent/plugin/norikra/query.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#group ⇒ Object
Returns the value of attribute group.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#name ⇒ Object
Returns the value of attribute name.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(name, group, expression, tag, interval) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(name, group, expression, tag, interval) ⇒ Query
Returns a new instance of Query.
5 6 7 8 9 10 11 |
# File 'lib/fluent/plugin/norikra/query.rb', line 5 def initialize(name, group, expression, tag, interval) @name = name @group = group @expression = expression @tag = tag @interval = interval end |
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression.
3 4 5 |
# File 'lib/fluent/plugin/norikra/query.rb', line 3 def expression @expression end |
#group ⇒ Object
Returns the value of attribute group.
3 4 5 |
# File 'lib/fluent/plugin/norikra/query.rb', line 3 def group @group end |
#interval ⇒ Object
Returns the value of attribute interval.
3 4 5 |
# File 'lib/fluent/plugin/norikra/query.rb', line 3 def interval @interval end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/fluent/plugin/norikra/query.rb', line 3 def name @name end |
#tag ⇒ Object
Returns the value of attribute tag.
3 4 5 |
# File 'lib/fluent/plugin/norikra/query.rb', line 3 def tag @tag end |