Class/Module Index [+]

Quicksearch

Fluent::ArrayEventStream

EventStream from entries: Array of [time, record]

Use this class for many events data with a tag and its representation is [ [time, record], [time, record], .. ]

Public Class Methods

new(entries) click to toggle source
# File lib/fluent/event.rb, line 65
def initialize(entries)
  @entries = entries
end

Public Instance Methods

dup() click to toggle source
# File lib/fluent/event.rb, line 69
def dup
  entries = @entries.map(:dup)
  ArrayEventStream.new(entries)
end
each(&block) click to toggle source
# File lib/fluent/event.rb, line 82
def each(&block)
  @entries.each(&block)
  nil
end
empty?() click to toggle source
# File lib/fluent/event.rb, line 78
def empty?
  @entries.empty?
end
repeatable?() click to toggle source
# File lib/fluent/event.rb, line 74
def repeatable?
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.