Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Types | Public Member Functions | List of all members
arrow::GZipCodec Class Reference

#include <arrow/util/compression_zlib.h>

Inheritance diagram for arrow::GZipCodec:
arrow::Codec

Public Types

enum  Format { ZLIB, DEFLATE, GZIP }
 Compression formats supported by the zlib library. More...
 

Public Member Functions

 GZipCodec (Format format=GZIP)
 
virtual ~GZipCodec ()
 
Status Decompress (int64_t input_len, const uint8_t *input, int64_t output_len, uint8_t *output_buffer) override
 
Status Compress (int64_t input_len, const uint8_t *input, int64_t output_buffer_len, uint8_t *output_buffer, int64_t *output_length) override
 
int64_t MaxCompressedLen (int64_t input_len, const uint8_t *input) override
 
const char * name () const override
 
- Public Member Functions inherited from arrow::Codec
virtual ~Codec ()
 

Additional Inherited Members

- Static Public Member Functions inherited from arrow::Codec
static Status Create (Compression::type codec, std::unique_ptr< Codec > *out)
 

Member Enumeration Documentation

◆ Format

Compression formats supported by the zlib library.

Enumerator
ZLIB 
DEFLATE 
GZIP 

Constructor & Destructor Documentation

◆ GZipCodec()

arrow::GZipCodec::GZipCodec ( Format  format = GZIP)
explicit

◆ ~GZipCodec()

virtual arrow::GZipCodec::~GZipCodec ( )
virtual

Member Function Documentation

◆ Compress()

Status arrow::GZipCodec::Compress ( int64_t  input_len,
const uint8_t *  input,
int64_t  output_buffer_len,
uint8_t *  output_buffer,
int64_t *  output_length 
)
overridevirtual

Implements arrow::Codec.

◆ Decompress()

Status arrow::GZipCodec::Decompress ( int64_t  input_len,
const uint8_t *  input,
int64_t  output_len,
uint8_t *  output_buffer 
)
overridevirtual

Implements arrow::Codec.

◆ MaxCompressedLen()

int64_t arrow::GZipCodec::MaxCompressedLen ( int64_t  input_len,
const uint8_t *  input 
)
overridevirtual

Implements arrow::Codec.

◆ name()

const char* arrow::GZipCodec::name ( ) const
overridevirtual

Implements arrow::Codec.


The documentation for this class was generated from the following file: