Expand description
Utilities to adapt readers with different schema.
Structsยง
- Compat
Fields ๐ - Helper to make fields compatible.
- Compat
Primary ๐Key - Helper to make primary key compatible.
- Compat
Reader - Reader to adapt schema of underlying reader to expected schema.
- Flat
Compat ๐Batch - A helper struct to adapt schema of the batch to an expected schema.
- Flat
Compat ๐Primary Key - Helper to make primary key compatible for flat format.
- Flat
Rewrite ๐Primary Key - Helper to rewrite primary key to another encoding for flat format.
- Primary
KeyCompat ๐Batch - A helper struct to adapt schema of the batch to an expected schema.
- Rewrite
Primary ๐Key - Adapter to rewrite primary key.
Enumsยง
- Compat
Batch ๐ - Helper to adapt schema of the batch to an expected schema.
- Index
OrDefault ๐ - Index in source batch or a default value to fill a column.
Functionsยง
- has_
same_ ๐columns_ and_ pk_ encoding - Returns true if
left
andright
have same columns and primary key encoding. - is_
primary_ ๐key_ same - Returns true if the actual primary keys is the same as expected.
- may_
compat_ ๐fields - Creates a CompatFields if needed.
- may_
compat_ ๐primary_ key - Creates a CompatPrimaryKey if needed.
- may_
rewrite_ ๐primary_ key - repeat_
vector ๐ - Repeats the vector value
to_len
times.