Function raftstore::store::build_sst_cf_file [−][src]
pub fn build_sst_cf_file<E>(
path: &str,
engine: &E,
snap: &E::Snapshot,
cf: CfName,
start_key: &[u8],
end_key: &[u8],
io_limiter: &Limiter
) -> Result<BuildStatistics, Error> where
E: KvEngine,
Build a snapshot file for the given column family in sst format.
If there are no key-value pairs fetched, no files will be created at path
,
otherwise the file will be created and synchronized.