func (o *BlockBasedTableOptions) SetNoBlockCache(value bool) {
	C.rocksdb_block_based_options_set_no_block_cache(o.c, boolToUchar(value))
}
SetNoBlockCache specify whether block cache should be used or not.
Default: false
package rocksdb
import "C"
type IndexType uint
const (
	KBinarySearchIndexType IndexType = iota
	KHashSearchIndexType
	KTwoLevelIndexSearchIndexType
)
type BlockBasedTableOptions struct {
	c *C.rocksdb_block_based_table_options_t
	cache     *Cache
	cacheComp *Cache
	fp *C.rocksdb_filterpolicy_t
}
func NewDefaultBlockBasedTableOptions() *BlockBasedTableOptions {
	return &BlockBasedTableOptions{c: C.rocksdb_block_based_options_create()}
}
func (o *BlockBasedTableOptions) Destroy() {
	C.rocksdb_block_based_options_destroy(o.c)
	o.c = nil
	o.cache = nil
	o.cacheComp = nil
	o.fp = nil
}
func (o *BlockBasedTableOptions) SetCacheIndexAndFilterBlocks(value bool) {
	C.rocksdb_block_based_options_set_cache_index_and_filter_blocks(o.c, boolToUchar(value))
}
func (o *BlockBasedTableOptions) SetPinL0FilterAndIndexBlocksInCache(value bool) {
	C.rocksdb_block_based_options_set_pin_l0_filter_and_index_blocks_in_cache(o.c, boolToUchar(value))
}
func (o *BlockBasedTableOptions) SetPinTopLevelIndexAndFilterInCache(value bool) {
	C.rocksdb_block_based_options_set_pin_top_level_index_and_filter(o.c, boolToUchar(value))
}
func (o *BlockBasedTableOptions) SetCacheIndexAndFilterBlocksWithHighPriority(value bool) {
	C.rocksdb_block_based_options_set_cache_index_and_filter_blocks_with_high_priority(o.c, boolToUchar(value))
}
func (o *BlockBasedTableOptions) SetHashIndexAllowCollision(value bool) {
	C.rocksdb_block_based_options_set_hash_index_allow_collision(o.c, boolToUchar(value))
}
func (o *BlockBasedTableOptions) SetBlockSize(blockSize int) {
	C.rocksdb_block_based_options_set_block_size(o.c, C.size_t(blockSize))
}
func (o *BlockBasedTableOptions) SetPartitionFilters(value bool) {
	C.rocksdb_block_based_options_set_partition_filters(o.c, boolToUchar(value))
}
func (o *BlockBasedTableOptions) SetMetadataBlockSize(blockSize uint64) {
	C.rocksdb_block_based_options_set_metadata_block_size(o.c, C.uint64_t(blockSize))
}
func (o *BlockBasedTableOptions) SetBlockSizeDeviation(blockSizeDeviation int) {
	C.rocksdb_block_based_options_set_block_size_deviation(o.c, C.int(blockSizeDeviation))
}
func (o *BlockBasedTableOptions) SetFilterPolicy(fp *FilterPolicy) {
	C.rocksdb_block_based_options_set_filter_policy(o.c, fp.policy)
	o.fp = fp.policy
}