Function bitcoinleveldb_table::build_table
source · pub fn build_table(
dbname: &String,
env: Rc<RefCell<dyn Env>>,
options: &Options,
table_cache: *mut TableCache,
iter: *mut LevelDBIterator,
meta: *mut FileMetaData
) -> Status
Expand description
| Build a Table file from the contents | of *iter. | | The generated file will be named according | to meta->number. | | On success, the rest of *meta will be | filled with metadata about the generated | table. | | If no data is present in *iter, meta->file_size | will be set to zero, and no Table file | will be produced. |