Class: Fluent::Plugin::S3Output::Compressor
- Inherits:
-
Object
- Object
- Fluent::Plugin::S3Output::Compressor
- Includes:
- Configurable
- Defined in:
- lib/fluent/plugin/out_s3.rb
Direct Known Subclasses
GzipCommandCompressor, GzipCompressor, LZMA2Compressor, LZOCompressor, ParquetCompressor, TextCompressor, ZstdCompressor
Instance Attribute Summary collapse
-
#buffer_type ⇒ Object
readonly
Returns the value of attribute buffer_type.
-
#log ⇒ Object
readonly
Returns the value of attribute log.
Instance Method Summary collapse
- #compress(chunk, tmp) ⇒ Object
- #configure(conf) ⇒ Object
- #content_type ⇒ Object
- #ext ⇒ Object
-
#initialize(opts = {}) ⇒ Compressor
constructor
A new instance of Compressor.
Constructor Details
#initialize(opts = {}) ⇒ Compressor
Returns a new instance of Compressor.
600 601 602 603 604 |
# File 'lib/fluent/plugin/out_s3.rb', line 600 def initialize(opts = {}) super() @buffer_type = opts[:buffer_type] @log = opts[:log] end |
Instance Attribute Details
#buffer_type ⇒ Object (readonly)
Returns the value of attribute buffer_type.
606 607 608 |
# File 'lib/fluent/plugin/out_s3.rb', line 606 def buffer_type @buffer_type end |
#log ⇒ Object (readonly)
Returns the value of attribute log.
606 607 608 |
# File 'lib/fluent/plugin/out_s3.rb', line 606 def log @log end |
Instance Method Details
#compress(chunk, tmp) ⇒ Object
618 619 |
# File 'lib/fluent/plugin/out_s3.rb', line 618 def compress(chunk, tmp) end |
#configure(conf) ⇒ Object
608 609 610 |
# File 'lib/fluent/plugin/out_s3.rb', line 608 def configure(conf) super end |
#content_type ⇒ Object
615 616 |
# File 'lib/fluent/plugin/out_s3.rb', line 615 def content_type end |
#ext ⇒ Object
612 613 |
# File 'lib/fluent/plugin/out_s3.rb', line 612 def ext end |