[][src]Trait cql_model::CqlStreamReadable

pub trait CqlStreamReadable: CqlType {
    fn read_to_stream(
        db_location: &str,
        stream: &mut dyn Write,
        value_location: u64,
        n_values: u64
    ); }

A CQL Value Type with stream read capability.

Allows a range of the implementing type's Self::ValueType to be read to stream from a CQL database.

Required methods

fn read_to_stream(
    db_location: &str,
    stream: &mut dyn Write,
    value_location: u64,
    n_values: u64
)

Reads n_values from the value_location in the given db_location (file path) to the given stream.

Loading content...

Implementors

Loading content...