[−][src]Trait rocks::flush_block_policy::FlushBlockPolicyFactory
Required methods
fn new_flush_block_policy(
&self,
table_options: &BlockBasedTableOptions
) -> Box<dyn FlushBlockPolicy>
&self,
table_options: &BlockBasedTableOptions
) -> Box<dyn FlushBlockPolicy>
Return a new block flush policy that flushes data blocks by data size. FlushBlockPolicy may need to access the metadata of the data block builder to determine when to flush the blocks.
Callers must delete the result after any database that is using the result has been closed.