Function raftstore::store::snap::snap_io::build_plain_cf_file[][src]

pub fn build_plain_cf_file<E>(
    path: &str,
    key_mgr: Option<&Arc<DataKeyManager>>,
    snap: &E::Snapshot,
    cf: &str,
    start_key: &[u8],
    end_key: &[u8]
) -> Result<BuildStatistics, Error> where
    E: KvEngine

Build a snapshot file for the given column family in plain format. If there are no key-value pairs fetched, no files will be created at path, otherwise the file will be created and synchronized.