// NewIteratorCF returns an Iterator over the column family in the database // that uses the given read options. func (self *DB) NewIteratorCF(opts *ReadOptions, cf *ColumnFamily) *Iterator { cIter := C.rocksdb_create_iterator_cf(self.c, opts.c, cf.c) return NewNativeIterator(cIter) }
// NewIteratorCF returns an Iterator over the the database and column family // that uses the ReadOptions given. func (db *DB) NewIteratorCF(opts *ReadOptions, cf *ColumnFamilyHandle) *Iterator { cIter := C.rocksdb_create_iterator_cf(db.c, opts.c, cf.c) return NewNativeIterator(unsafe.Pointer(cIter)) }
// NewIteratorCF returns an Iterator over the the database and column family // that uses the ReadOptions given. func (db *DB) NewIteratorCF(opts *ReadOptions, cf *CF) *Iterator { cIter := C.rocksdb_create_iterator_cf(db.c, opts.c, cf.c) return newNativeIterator(cIter) }