Class: Fluent::Plugin::AzureStorageGen2Output::TextCompressor
- Inherits:
-
Compressor
- Object
- Compressor
- Fluent::Plugin::AzureStorageGen2Output::TextCompressor
show all
- Defined in:
- lib/fluent/plugin/out_azurestorage_gen2.rb
Instance Attribute Summary
Attributes inherited from Compressor
#buffer_type, #log
Instance Method Summary
collapse
Methods inherited from Compressor
#configure, #initialize
Instance Method Details
#compress(chunk, tmp) ⇒ Object
724
725
726
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 724
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
720
721
722
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 720
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
716
717
718
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 716
def ext
'txt'.freeze
end
|