Class: Fluent::Plugin::AzureStorageGen2Output::Compressor

Inherits:
Object
  • Object
show all
Includes:
Configurable
Defined in:
lib/fluent/plugin/out_azurestorage_gen2.rb

Direct Known Subclasses

GzipCompressor, TextCompressor

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ Compressor

Returns a new instance of Compressor.



663
664
665
666
667
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 663

def initialize(opts = {})
  super()
  @buffer_type = opts[:buffer_type]
  @log = opts[:log]
end

Instance Attribute Details

#buffer_typeObject (readonly)

Returns the value of attribute buffer_type.



669
670
671
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 669

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



669
670
671
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 669

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



681
682
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 681

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



671
672
673
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 671

def configure(conf)
  super
end

#content_typeObject



678
679
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 678

def content_type
end

#extObject



675
676
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 675

def ext
end