Class ZstdNoDictCodec

java.lang.Object
org.apache.lucene.codecs.Codec
org.apache.lucene.codecs.FilterCodec
org.opensearch.index.codec.customcodecs.ZstdNoDictCodec
All Implemented Interfaces:
NamedSPILoader.NamedSPI

public class ZstdNoDictCodec extends org.apache.lucene.codecs.FilterCodec
ZstdNoDictCodec provides ZSTD compressor without a dictionary support.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from class org.apache.lucene.codecs.FilterCodec

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new ZstdNoDictCodec instance with the default compression level.
    ZstdNoDictCodec(int compressionLevel)
    Creates a new ZstdNoDictCodec instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.codecs.StoredFieldsFormat
     
    The name for this codec.

    Methods inherited from class org.apache.lucene.codecs.FilterCodec

    compoundFormat, docValuesFormat, fieldInfosFormat, knnVectorsFormat, liveDocsFormat, normsFormat, pointsFormat, postingsFormat, segmentInfoFormat, termVectorsFormat

    Methods inherited from class org.apache.lucene.codecs.Codec

    availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEFAULT_COMPRESSION_LEVEL

      public static final int DEFAULT_COMPRESSION_LEVEL
      See Also:
  • Constructor Details

    • ZstdNoDictCodec

      public ZstdNoDictCodec()
      Creates a new ZstdNoDictCodec instance with the default compression level.
    • ZstdNoDictCodec

      public ZstdNoDictCodec(int compressionLevel)
      Creates a new ZstdNoDictCodec instance.
      Parameters:
      compressionLevel - The compression level.
  • Method Details

    • toString

      public String toString()
      The name for this codec.
    • storedFieldsFormat

      public org.apache.lucene.codecs.StoredFieldsFormat storedFieldsFormat()
      Overrides:
      storedFieldsFormat in class org.apache.lucene.codecs.FilterCodec