Update _rocksdb.pyx
This commit is contained in:
parent
b721c18a6a
commit
ecd0823331
1 changed files with 5 additions and 0 deletions
|
@ -1240,6 +1240,11 @@ cdef class ColumnFamilyOptions(object):
|
||||||
self.py_prefix_extractor = PySliceTransform(value)
|
self.py_prefix_extractor = PySliceTransform(value)
|
||||||
self.copts.prefix_extractor = self.py_prefix_extractor.get_transformer()
|
self.copts.prefix_extractor = self.py_prefix_extractor.get_transformer()
|
||||||
|
|
||||||
|
property optimize_filters_for_hits:
|
||||||
|
def __get__(self):
|
||||||
|
return self.copts.optimize_filters_for_hits
|
||||||
|
def __set__(self, value):
|
||||||
|
self.copts.optimize_filters_for_hits = value
|
||||||
|
|
||||||
cdef class Options(ColumnFamilyOptions):
|
cdef class Options(ColumnFamilyOptions):
|
||||||
cdef options.Options* opts
|
cdef options.Options* opts
|
||||||
|
|
Loading…
Reference in a new issue