Expand description
A COTTAS file reader for RDF.rs, a Rust framework for RDF knowledge graphs.
§Examples
use tokio::fs::File;
let file = File::open("example.cottas").await?;
use rdf_reader_cottas::CottasReader;
let reader = CottasReader::try_from(file).await?;
use futures::StreamExt;
reader
.into_stream()
.for_each(|triple| async move {
eprintln!("{:?}", triple);
})
.await;Structs§
- Cottas
Reader - A reader for the COTTAS (Parquet) binary format.
Type Aliases§
- Cottas
Reader Error - An error encountered while reading a COTTAS file.
- Cottas
Reader Result - Cottas
Term