Codecs allow you to create compressed input and output streams.
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
.
arrow::Object
-> Codec
clone()
The objects of this class are cloneable with this method.
Codec$clone(deep = FALSE)
deep
Whether to make a deep clone.