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
600
601
602
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 600
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
596
597
598
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 596
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
592
593
594
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 592
def ext
'txt'.freeze
end
|