Class: Fluent::S3Output::Compressor
- Inherits:
-
Object
- Object
- Fluent::S3Output::Compressor
- Includes:
- Configurable
- Defined in:
- lib/fluent/plugin/out_s3.rb
Direct Known Subclasses
GzipCommandCompressor, GzipCompressor, LZMA2Compressor, LZOCompressor, TextCompressor
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.
401 402 403 404 405 |
# File 'lib/fluent/plugin/out_s3.rb', line 401 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.
407 408 409 |
# File 'lib/fluent/plugin/out_s3.rb', line 407 def buffer_type @buffer_type end |
#log ⇒ Object (readonly)
Returns the value of attribute log.
407 408 409 |
# File 'lib/fluent/plugin/out_s3.rb', line 407 def log @log end |
Instance Method Details
#compress(chunk, tmp) ⇒ Object
419 420 |
# File 'lib/fluent/plugin/out_s3.rb', line 419 def compress(chunk, tmp) end |
#configure(conf) ⇒ Object
409 410 411 |
# File 'lib/fluent/plugin/out_s3.rb', line 409 def configure(conf) super end |
#content_type ⇒ Object
416 417 |
# File 'lib/fluent/plugin/out_s3.rb', line 416 def content_type end |
#ext ⇒ Object
413 414 |
# File 'lib/fluent/plugin/out_s3.rb', line 413 def ext end |