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

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

Defined Under Namespace

Classes: 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.



379
380
381
382
383
# File 'lib/fluent/plugin/in_s3.rb', line 379

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.



375
376
377
# File 'lib/fluent/plugin/in_s3.rb', line 375

def log
  @log
end

Instance Method Details

#configure(conf) ⇒ Object



385
386
387
# File 'lib/fluent/plugin/in_s3.rb', line 385

def configure(conf)
  super
end

#content_typeObject



392
393
# File 'lib/fluent/plugin/in_s3.rb', line 392

def content_type
end

#extObject



389
390
# File 'lib/fluent/plugin/in_s3.rb', line 389

def ext
end

#extract(io) ⇒ Object



395
396
# File 'lib/fluent/plugin/in_s3.rb', line 395

def extract(io)
end