Class: Fluent::Plugin::S3Input::Extractor

Inherits:
Object
  • Object
show all
Includes:
Configurable
Defined in:
lib/fluent/plugin/in_s3.rb

Defined Under Namespace

Classes: CommandError, SizeLimitError

Constant Summary collapse

BYTES_TO_READ =
64 * 1024

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log: $log, decompression_size_limit: DECOMPRESSION_SIZE_LIMIT, **options) ⇒ Extractor

Returns a new instance of Extractor.



420
421
422
423
424
# File 'lib/fluent/plugin/in_s3.rb', line 420

def initialize(log: $log, decompression_size_limit: DECOMPRESSION_SIZE_LIMIT, **options)
  super()
  @log = log
  @decompression_size_limit = decompression_size_limit
end

Instance Attribute Details

#logObject (readonly)

Returns the value of attribute log.



416
417
418
# File 'lib/fluent/plugin/in_s3.rb', line 416

def log
  @log
end

Instance Method Details

#configure(conf) ⇒ Object



426
427
428
# File 'lib/fluent/plugin/in_s3.rb', line 426

def configure(conf)
  super
end

#content_typeObject



433
434
# File 'lib/fluent/plugin/in_s3.rb', line 433

def content_type
end

#extObject



430
431
# File 'lib/fluent/plugin/in_s3.rb', line 430

def ext
end

#extract(io) ⇒ Object



436
437
# File 'lib/fluent/plugin/in_s3.rb', line 436

def extract(io)
end