Class: Fluent::NorikraPlugin::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin/norikra/query.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#expressionObject

Returns the value of attribute expression.



3
4
5
# File 'lib/fluent/plugin/norikra/query.rb', line 3

def expression
  @expression
end

#groupObject

Returns the value of attribute group.



3
4
5
# File 'lib/fluent/plugin/norikra/query.rb', line 3

def group
  @group
end

#intervalObject

Returns the value of attribute interval.



3
4
5
# File 'lib/fluent/plugin/norikra/query.rb', line 3

def interval
  @interval
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/fluent/plugin/norikra/query.rb', line 3

def name
  @name
end

#tagObject

Returns the value of attribute tag.



3
4
5
# File 'lib/fluent/plugin/norikra/query.rb', line 3

def tag
  @tag
end