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
591
592
593
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 591
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
587
588
589
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 587
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
583
584
585
|
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 583
def ext
'txt'.freeze
end
|