Crate stringtape

Source
Expand description

§StringTape

Memory-efficient string storage compatible with Apache Arrow.

use stringtape::{StringTape32, StringTapeError};

let mut tape = StringTape32::new();
tape.push("hello")?;
tape.push("world")?;

assert_eq!(tape.len(), 2);
assert_eq!(&tape[0], "hello");

// Iterate over strings
for s in &tape {
    println!("{}", s);
}

Structs§

StringTape
A memory-efficient string storage structure compatible with Apache Arrow.
StringTapeIter

Enums§

StringTapeError
Errors that can occur when working with StringTape.

Traits§

OffsetType
Trait for offset types used in StringTape.

Type Aliases§

StringTape32
StringTape64