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.



530
531
532
533
534
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 530

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.



536
537
538
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 536

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



536
537
538
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 536

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



548
549
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 548

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



538
539
540
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 538

def configure(conf)
  super
end

#content_typeObject



545
546
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 545

def content_type
end

#extObject



542
543
# File 'lib/fluent/plugin/out_azurestorage_gen2.rb', line 542

def ext
end