Package org.spf4j.log

Class ZstandardCodec


  • public final class ZstandardCodec
    extends org.apache.avro.file.Codec
    A more efficient implementation that should thrash less memory.
    Author:
    Zoltan Farkas
    • Constructor Detail

      • ZstandardCodec

        public ZstandardCodec​(int compressionLevel,
                              boolean useChecksum)
        Create a ZstandardCodec instance with the given compressionLevel and checksum option
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in class org.apache.avro.file.Codec
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class org.apache.avro.file.Codec
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in class org.apache.avro.file.Codec
      • toString

        public String toString()
        Overrides:
        toString in class org.apache.avro.file.Codec