Trait ckb_rocksdb::ops::IngestExternalFileCF
source · pub trait IngestExternalFileCF {
// Required method
fn ingest_external_file_cf_full<P: AsRef<Path>>(
&self,
cf: Option<&ColumnFamily>,
paths: Vec<P>,
opts: Option<&IngestExternalFileOptions>
) -> Result<(), Error>;
// Provided methods
fn ingest_external_file_cf<P: AsRef<Path>>(
&self,
cf: &ColumnFamily,
paths: Vec<P>
) -> Result<(), Error> { ... }
fn ingest_external_file_opts<P: AsRef<Path>>(
&self,
cf: &ColumnFamily,
paths: Vec<P>,
opts: &IngestExternalFileOptions
) -> Result<(), Error> { ... }
}
Required Methods§
fn ingest_external_file_cf_full<P: AsRef<Path>>( &self, cf: Option<&ColumnFamily>, paths: Vec<P>, opts: Option<&IngestExternalFileOptions> ) -> Result<(), Error>
Provided Methods§
sourcefn ingest_external_file_cf<P: AsRef<Path>>(
&self,
cf: &ColumnFamily,
paths: Vec<P>
) -> Result<(), Error>
fn ingest_external_file_cf<P: AsRef<Path>>( &self, cf: &ColumnFamily, paths: Vec<P> ) -> Result<(), Error>
Loads a list of external SST files created with SstFileWriter into the DB for given Column Family with default opts
sourcefn ingest_external_file_opts<P: AsRef<Path>>(
&self,
cf: &ColumnFamily,
paths: Vec<P>,
opts: &IngestExternalFileOptions
) -> Result<(), Error>
fn ingest_external_file_opts<P: AsRef<Path>>( &self, cf: &ColumnFamily, paths: Vec<P>, opts: &IngestExternalFileOptions ) -> Result<(), Error>
Loads a list of external SST files created with SstFileWriter into the DB for given Column Family
Object Safety§
This trait is not object safe.