Package com.yahoo.document
Class CompressionConfig
java.lang.Object
com.yahoo.document.CompressionConfig
-
Field Summary
Modifier and TypeFieldDescriptionint
final long
float
final com.yahoo.compress.CompressionType
-
Constructor Summary
ConstructorDescriptionCompressionConfig
(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
Modifier and TypeMethodDescriptionfloat
get a multiplier for comparing compressed and original size
-
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
-