pub trait IngestExternalFile {
    // Required method
    fn ingest_external_file_full<P: AsRef<Path>>(
        &self,
        paths: Vec<P>,
        opts: Option<&IngestExternalFileOptions>
    ) -> Result<(), Error>;

    // Provided methods
    fn ingest_external_file<P: AsRef<Path>>(
        &self,
        paths: Vec<P>
    ) -> Result<(), Error> { ... }
    fn ingest_external_file_opts<P: AsRef<Path>>(
        &self,
        paths: Vec<P>,
        opts: &IngestExternalFileOptions
    ) -> Result<(), Error> { ... }
}

Required Methods§

Provided Methods§

source

fn ingest_external_file<P: AsRef<Path>>( &self, paths: Vec<P> ) -> Result<(), Error>

Loads a list of external SST files created with SstFileWriter into the DB with default opts

source

fn ingest_external_file_opts<P: AsRef<Path>>( &self, paths: Vec<P>, opts: &IngestExternalFileOptions ) -> Result<(), Error>

Loads a list of external SST files created with SstFileWriter into the DB

Object Safety§

This trait is not object safe.

Implementors§