struct RunEncodedEncoder<'a, R: RunEndIndexType> {
ends_slice: &'a [<R as ArrowPrimitiveType>::Native],
base: usize,
len: usize,
values: FieldEncoder<'a>,
cur_run: usize,
cur_end: usize,
}展开描述
用于 Arrow RunArray<R>-based 站点(行程编码)的通用编码器。遵循其他通用编码器(例如 ListEncoder<O>)使用的模式,避免了行程结束宽度上的运行时分支。
字段§
§ends_slice: &'a [<R as ArrowPrimitiveType>::Native]§base: usize§len: usize§values: FieldEncoder<'a>§cur_run: usize§cur_end: usize