func (opts *BlockBasedTableOptions) Destroy() {
	C.rocksdb_block_based_options_destroy(opts.c)
	opts.c = nil
	opts.cache = nil
	opts.compCache = nil
}
Destroy deallocates the BlockBasedTableOptions object.
package gorocksdb
import "C"
type IndexType uint
const (
	KBinarySearchIndexType = 0
	KHashSearchIndexType = 1
	KTwoLevelIndexSearchIndexType = 2
)
type BlockBasedTableOptions struct {
	c *C.rocksdb_block_based_table_options_t
	cache     *Cache
	compCache *Cache
	cFp *C.rocksdb_filterpolicy_t
}
func NewDefaultBlockBasedTableOptions() *BlockBasedTableOptions {
	return NewNativeBlockBasedTableOptions(C.rocksdb_block_based_options_create())
}
func NewNativeBlockBasedTableOptions(c *C.rocksdb_block_based_table_options_t) *BlockBasedTableOptions {
	return &BlockBasedTableOptions{c: c}
}