Class: Fluent::Plugin::S3Input::Extractor
- Inherits:
-
Object
- Object
- Fluent::Plugin::S3Input::Extractor
- Includes:
- Configurable
- Defined in:
- lib/fluent/plugin/in_s3.rb
Direct Known Subclasses
GzipCommandExtractor, GzipExtractor, LZMA2Extractor, LZOExtractor, TextExtractor
Defined Under Namespace
Classes: SizeLimitError
Constant Summary collapse
- BYTES_TO_READ =
64 * 1024
Instance Attribute Summary collapse
-
#log ⇒ Object
readonly
Returns the value of attribute log.
Instance Method Summary collapse
- #configure(conf) ⇒ Object
- #content_type ⇒ Object
- #ext ⇒ Object
- #extract(io) ⇒ Object
-
#initialize(log: $log, decompression_size_limit: DECOMPRESSION_SIZE_LIMIT, **options) ⇒ Extractor
constructor
A new instance of Extractor.
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, **) super() @log = log @decompression_size_limit = decompression_size_limit end |
Instance Attribute Details
#log ⇒ Object (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_type ⇒ Object
392 393 |
# File 'lib/fluent/plugin/in_s3.rb', line 392 def content_type end |
#ext ⇒ Object
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 |