class Lz4
A compressor that uses the LZ4 compression library.
- Note
- This compressor requires the lz4-ruby gem (v0.3.2 or later required).
- Note
- No need to instantiate this class manually, use
compression: :lz4
option when callingCassandra.cluster
and one will be created automatically for you.
Inherits
Methods
self.new(min_size = 64)
Returns a new instance of Lz4
algorithm
Returns 'lz4'
compress?(str)
Returns will return false for frames smaller than the
min_size
given to the constructor.
compress(str)
decompress(str)