Uses of Class
org.apache.commons.compress.compressors.zstandard.ZstdCompressorOutputStream.Builder
Packages that use ZstdCompressorOutputStream.Builder
Package
Description
Provides stream class for (de)compressing streams using the Zstandard algorithm based on Zstandard JNI.
-
Uses of ZstdCompressorOutputStream.Builder in org.apache.commons.compress.compressors.zstandard
Methods in org.apache.commons.compress.compressors.zstandard that return ZstdCompressorOutputStream.BuilderModifier and TypeMethodDescriptionZstdCompressorOutputStream.builder()Constructs a new builder ofZstdCompressorOutputStream.ZstdCompressorOutputStream.Builder.setChainLog(int chainLog) Sets the size of the multi-probe search table, as a power of 2.ZstdCompressorOutputStream.Builder.setChecksum(boolean checksum) Sets whether a 32-bits checksum of content is written at end of frame (defaults tofalse).ZstdCompressorOutputStream.Builder.setCloseFrameOnFlush(boolean closeFrameOnFlush) Sets whether to close the frame on flush.ZstdCompressorOutputStream.Builder.setDict(byte[] dict) Sets an internalCDictfrom the givendictbuffer.ZstdCompressorOutputStream.Builder.setHashLog(int hashLog) Size of the initial probe table, as a power of 2.ZstdCompressorOutputStream.Builder.setJobSize(int jobSize) Size of a compression job.ZstdCompressorOutputStream.Builder.setLevel(int level) Sets compression parameters according to a pre-definedcLeveltable, from 0 to 9.ZstdCompressorOutputStream.Builder.setMinMatch(int minMatch) Sets minimum match size for long distance matcher.ZstdCompressorOutputStream.Builder.setOverlapLog(int overlapLog) Sets the overlap size, as a fraction of window size.ZstdCompressorOutputStream.Builder.setSearchLog(int searchLog) Sets number of search attempts, as a power of 2.ZstdCompressorOutputStream.Builder.setStrategy(int strategy) Sets theZSTD_strategyfrom the C enum definition.ZstdCompressorOutputStream.Builder.setTargetLength(int targetLength) Sets a value that depends on the strategy, seeZSTD_c_targetLength.ZstdCompressorOutputStream.Builder.setWindowLog(int windowLog) Sets maximum allowed back-reference distance, expressed as power of 2.ZstdCompressorOutputStream.Builder.setWorkers(int workers) Sets how many threads will be spawned to compress in parallel.