# Uses of Class
org.apache.commons.compress.compressors.zstandard.ZstdCompressorOutputStream.Builder

Packages that use ZstdCompressorOutputStream.Builder
Package
Description
org.apache.commons.compress.compressors.zstandard
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.Builder
  Modifier and Type
  Method
  Description
  `static ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.`builder()`
  Constructs a new builder of `ZstdCompressorOutputStream`.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setChainLog(int chainLog)`
  Sets the size of the multi-probe search table, as a power of 2.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setChecksum(boolean checksum)`
  Sets whether a 32-bits checksum of content is written at end of frame (defaults to `false`).
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setCloseFrameOnFlush(boolean closeFrameOnFlush)`
  Sets whether to close the frame on flush.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setDict(byte[] dict)`
  Sets an internal `CDict` from the given `dict` buffer.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setHashLog(int hashLog)`
  Size of the initial probe table, as a power of 2.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setJobSize(int jobSize)`
  Size of a compression job.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setLevel(int level)`
  Sets compression parameters according to a pre-defined `cLevel` table, from 0 to 9.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setMinMatch(int minMatch)`
  Sets minimum match size for long distance matcher.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setOverlapLog(int overlapLog)`
  Sets the overlap size, as a fraction of window size.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setSearchLog(int searchLog)`
  Sets number of search attempts, as a power of 2.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setStrategy(int strategy)`
  Sets the `ZSTD_strategy` from the C enum definition.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setTargetLength(int targetLength)`
  Sets a value that depends on the strategy, see `ZSTD_c_targetLength`.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setWindowLog(int windowLog)`
  Sets maximum allowed back-reference distance, expressed as power of 2.
  `ZstdCompressorOutputStream.Builder`
  ZstdCompressorOutputStream.Builder.`setWorkers(int workers)`
  Sets how many threads will be spawned to compress in parallel.