Enum arrow_data::BufferSpec
source · pub enum BufferSpec {
FixedWidth {
byte_width: usize,
},
VariableWidth,
BitMap,
AlwaysNull,
}Expand description
Layout specification for a single data type buffer
Variants§
FixedWidth
each element has a fixed width
VariableWidth
Variable width, such as string data for utf8 data
BitMap
Buffer holds a bitmap.
Note: Unlike the C++ implementation, the null/validity buffer is handled specially rather than as another of the buffers in the spec, so this variant is only used for the Boolean type.
AlwaysNull
Buffer is always null. Unused currently in Rust implementation, (used in C++ for Union type)