Update _rocksdb.pyx

This commit is contained in:
iFA 2020-04-07 14:17:30 +02:00 committed by GitHub
parent b721c18a6a
commit ecd0823331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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