|
|
string | name |
| | The encoding type of this function (e.g., utf-8).
|
|
encode_t | encode_function |
| | The actual encoding function.
|
|
idx_t | max_bytes_per_iteration |
| | How many bytes in the decoded buffer one iteration of the encoded function can cause. e.g., one iteration of Latin-1 to UTF-8 can generate max 2 bytes. However, one iteration of UTF-16 to UTF-8, can generate up to 3 UTF-8 bytes.
|
|
idx_t | lookup_bytes = 1 |
| | How many bytes we have to lookup before knowing the bytes we have to output.
|
◆ EncodingFunction() [1/3]
| DUCKDB_API duckdb::EncodingFunction::EncodingFunction |
( |
| ) |
|
|
inline |
38892 }
idx_t max_bytes_per_iteration
How many bytes in the decoded buffer one iteration of the encoded function can cause....
Definition duckdb.hpp:38939
encode_t encode_function
The actual encoding function.
Definition duckdb.hpp:38935
◆ EncodingFunction() [2/3]
| DUCKDB_API duckdb::EncodingFunction::EncodingFunction |
( |
const string & | encode_name, |
|
|
encode_t | encode_function, |
|
|
const idx_t | bytes_per_iteration, |
|
|
const idx_t | lookup_bytes ) |
|
inline |
38899 D_ASSERT(bytes_per_iteration > 0);
38901 };
idx_t lookup_bytes
How many bytes we have to lookup before knowing the bytes we have to output.
Definition duckdb.hpp:38941
string name
The encoding type of this function (e.g., utf-8).
Definition duckdb.hpp:38933
◆ EncodingFunction() [3/3]
| DUCKDB_API duckdb::EncodingFunction::EncodingFunction |
( |
const string & | encode_name, |
|
|
encode_t | encode_function, |
|
|
const idx_t | bytes_per_iteration, |
|
|
const idx_t | lookup_bytes, |
|
|
const map_entry_encoding * | map, |
|
|
const size_t | map_size ) |
|
inline |
38908 D_ASSERT(bytes_per_iteration > 0);
38910 };
const map_entry_encoding * conversion_map
Optional convertion map, that indicates byte replacements.
Definition duckdb.hpp:38928
◆ ~EncodingFunction()
| DUCKDB_API duckdb::EncodingFunction::~EncodingFunction |
( |
| ) |
|
|
inline |
◆ GetName()
| DUCKDB_API string duckdb::EncodingFunction::GetName |
( |
| ) |
const |
|
inline |
◆ GetFunction()
| DUCKDB_API encode_t duckdb::EncodingFunction::GetFunction |
( |
| ) |
const |
|
inline |
◆ GetBytesPerIteration()
| DUCKDB_API idx_t duckdb::EncodingFunction::GetBytesPerIteration |
( |
| ) |
const |
|
inline |
◆ GetLookupBytes()
| DUCKDB_API idx_t duckdb::EncodingFunction::GetLookupBytes |
( |
| ) |
const |
|
inline |
◆ conversion_map
Optional convertion map, that indicates byte replacements.
◆ map_size
| size_t duckdb::EncodingFunction::map_size {} |
The documentation for this class was generated from the following file: