use of com.yahoo.compress.Compressor in project vespa by vespa-engine.
the class BaseStructDataType method setCompressionConfig.
/**
* Set the config to the compressor used to compress data of this type
*/
public void setCompressionConfig(CompressionConfig config) {
CompressionType type = config.type;
compressor = new Compressor(type, config.compressionLevel, config.thresholdFactor(), (int) config.minsize);
}
Aggregations