Package com.yahoo.document
Class CompressionConfig
- java.lang.Object
-
- com.yahoo.document.CompressionConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class CompressionConfig extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
compressionLevel
long
minsize
float
threshold
com.yahoo.compress.CompressionType
type
-
Constructor Summary
Constructors Constructor Description CompressionConfig()
CompressionConfig(com.yahoo.compress.CompressionType type)
CompressionConfig(com.yahoo.compress.CompressionType type, int level, float threshold)
CompressionConfig(com.yahoo.compress.CompressionType type, int level, float threshold, long minSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
thresholdFactor()
get a multiplier for comparing compressed and original size
-
-
-
Constructor Detail
-
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)
-
-