Esempio n. 1
0
// SetBlockRestartInterval is the number of keys between restarts points for
// delta encoding keys.
//
// Most clients should leave this parameter alone. See the LevelDB
// documentation for details.
func (o *BlockBasedOptions) SetBlockRestartInterval(n int) {
	C.rocksdb_block_based_options_set_block_restart_interval(o.Opt, C.int(n))
}
// Number of keys between restart points for delta encoding of keys.
// This parameter can be changed dynamically. Most clients should
// leave this parameter alone.
// Default: 16
func (self *BlockBasedTableOptions) SetBlockRestartInterval(block_restart_interval int) {
	C.rocksdb_block_based_options_set_block_restart_interval(self.c, C.int(block_restart_interval))
}