Kudu C++ client API
|
Representation of column storage attributes. More...
#include <schema.h>
Public Types | |
enum | EncodingType { AUTO_ENCODING = 0, PLAIN_ENCODING = 1, PREFIX_ENCODING = 2, GROUP_VARINT = 3, RLE = 4, DICT_ENCODING = 5, BIT_SHUFFLE = 6 } |
Column encoding types. | |
enum | CompressionType { DEFAULT_COMPRESSION = 0, NO_COMPRESSION = 1, SNAPPY = 2, LZ4 = 3, ZLIB = 4 } |
Column compression types. | |
Public Member Functions | |
KuduColumnStorageAttributes (EncodingType encoding=AUTO_ENCODING, CompressionType compression=DEFAULT_COMPRESSION, int32_t block_size=0) | |
const EncodingType | encoding () const |
const CompressionType | compression () const |
std::string | ToString () const |
Representation of column storage attributes.
|
inline |
[in] | encoding | Encoding type for the column storage. |
[in] | compression | Compression type for the column storage. |
[in] | block_size | Block size (in bytes, uncompressed data) for the column storage. |
|
inline |
|
inline |
std::string kudu::client::KuduColumnStorageAttributes::ToString | ( | ) | const |