// SetCacheIndexAndFilterBlock indicates if we'd put index/filter blocks to
// the block cache. If not specified, each "table reader" object will pre-load
// index/filter block during table initialization.
// Default: false
func (o *BlockBasedTableOptions) SetCacheIndexAndFilterBlocks(val bool) {
	var value uint8
	if val {
		value = 1
	}
	C.rocksdb_block_based_options_set_cache_index_and_filter_blocks(
		o.c,
		C.uchar(value),
	)
}
// Indicating if we'd put index/filter blocks to the block cache.
// If not specified, each "table reader" object will pre-load index/filter
// block during table initialization.
func (self *BlockBasedTableOptions) SetCacheIndexAndFilterBlocks(value bool) {
	C.rocksdb_block_based_options_set_cache_index_and_filter_blocks(self.c, boolToChar(value))
}