-
Couldn't load subscription status.
- Fork 118
Open
Description
Please describe why this is necessary.
It implements a couple of methods today, but I think it would be good to add binary as well 👍
delta-kernel-rs/kernel/src/engine_data.rs
Lines 164 to 178 in f431de0
| /// When calling back into a [`RowVisitor`], the engine needs to provide a slice of items that | |
| /// implement this trait. This allows type_safe extraction from the raw data by the kernel. By | |
| /// default all these methods will return an `Error` that an incorrect type has been asked | |
| /// for. Therefore, for each "data container" an Engine has, it is only necessary to implement the | |
| /// `get_x` method for the type it holds. | |
| pub trait GetData<'a> { | |
| impl_default_get!( | |
| (get_bool, bool), | |
| (get_int, i32), | |
| (get_long, i64), | |
| (get_str, &'a str), | |
| (get_list, ListItem<'a>), | |
| (get_map, MapItem<'a>) | |
| ); | |
| } |
Describe the functionality you are proposing.
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels