示例#1
0
// Specify to create a tailing iterator -- a special iterator that has a
// view of the complete database (i.e. it can also be used to read newly
// added data) and is optimized for sequential reads. It will return records
// that were inserted into the database after the creation of the iterator.
// Default: false
func (self *ReadOptions) SetTailing(value bool) {
	C.rocksdb_readoptions_set_tailing(self.c, boolToChar(value))
}
示例#2
0
func (ro *ReadOptions) SetTailing(b bool) {
	C.rocksdb_readoptions_set_tailing(ro.Opt, boolToUchar(b))
}