Codecs allow you to create compressed input and output streams.

Factory

The Codec$create() factory method takes the following argument:

  • type: string name of the compression method. See CompressionType for a list of possible values. type may be upper- or lower-cased. Support for compression methods depends on build-time flags for the C++ library. Most builds support at least "gzip" and "snappy".

  • compression_level: compression level, the default value (NA) uses the default compression level for the selected compression type.

Super class

arrow::Object -> Codec

Methods

Public methods

Inherited methods

Method clone()

The objects of this class are cloneable with this method.

Usage

Codec$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.