Class CompressionConfig

java.lang.Object
com.yahoo.document.CompressionConfig

public class CompressionConfig extends Object
  • Field Details

    • type

      public final com.yahoo.compress.CompressionType type
    • compressionLevel

      public int compressionLevel
    • threshold

      public float threshold
    • minsize

      public final long minsize
  • Constructor Details

    • CompressionConfig

      public CompressionConfig(com.yahoo.compress.CompressionType type, int level, float threshold, long minSize)
    • CompressionConfig

      public CompressionConfig()
    • CompressionConfig

      public CompressionConfig(com.yahoo.compress.CompressionType type)
    • CompressionConfig

      public CompressionConfig(com.yahoo.compress.CompressionType type, int level, float threshold)
  • Method Details

    • thresholdFactor

      public float thresholdFactor()
      get a multiplier for comparing compressed and original size