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

#include <arrow/util/compression.h>

Inheritance diagram for arrow::Codec:
arrow::BrotliCodec arrow::GZipCodec arrow::Lz4Codec arrow::SnappyCodec arrow::ZSTDCodec

Public Member Functions

virtual ~Codec ()
virtual Status Decompress (int64_t input_len, const uint8_t *input, int64_t output_len, uint8_t *output_buffer)=0
virtual Status Compress (int64_t input_len, const uint8_t *input, int64_t output_buffer_len, uint8_t *output_buffer, int64_t *output_length)=0
virtual int64_t MaxCompressedLen (int64_t input_len, const uint8_t *input)=0
virtual const char * name () const =0

Static Public Member Functions

static Status Create (Compression::type codec, std::unique_ptr< Codec > *out)

Constructor & Destructor Documentation

◆ ~Codec()

virtual arrow::Codec::~Codec ( )

Member Function Documentation

◆ Compress()

virtual Status arrow::Codec::Compress ( int64_t  input_len,
const uint8_t *  input,
int64_t  output_buffer_len,
uint8_t *  output_buffer,
int64_t *  output_length 
pure virtual

◆ Create()

static Status arrow::Codec::Create ( Compression::type  codec,
std::unique_ptr< Codec > *  out 

◆ Decompress()

virtual Status arrow::Codec::Decompress ( int64_t  input_len,
const uint8_t *  input,
int64_t  output_len,
uint8_t *  output_buffer 
pure virtual

◆ MaxCompressedLen()

virtual int64_t arrow::Codec::MaxCompressedLen ( int64_t  input_len,
const uint8_t *  input 
pure virtual

◆ name()

virtual const char* arrow::Codec::name ( ) const
pure virtual

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