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
716
717
718
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 716
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
712
713
714
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 712
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
708
709
710
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 708
def ext
'txt'.freeze
end
|