MCPcopy Create free account
hub / github.com/apache/arrow / garrow_codec_get_compression_level

Function garrow_codec_get_compression_level

c_glib/arrow-glib/codec.cpp:185–193  ·  view source on GitHub ↗

* garrow_codec_get_compression_level: * @codec: A #GArrowCodec. * * Returns: The compression level of the codec. * * Since: 2.0.0 */

Source from the content-addressed store, hash-verified

183 * Since: 2.0.0
184 */
185gint
186garrow_codec_get_compression_level(GArrowCodec *codec)
187{
188 auto arrow_codec = garrow_codec_get_raw(codec);
189 if (!arrow_codec) {
190 return arrow::util::Codec::UseDefaultCompressionLevel();
191 }
192 return arrow_codec->compression_level();
193}
194
195G_END_DECLS
196

Callers

nothing calls this directly

Calls 2

garrow_codec_get_rawFunction · 0.85
compression_levelMethod · 0.45

Tested by

no test coverage detected