Update db.pxd
This commit is contained in:
parent
1d486f7437
commit
7a93495a42
1 changed files with 6 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
||||||
cimport options
|
from . cimport options
|
||||||
from libc.stdint cimport uint64_t, uint32_t
|
from libc.stdint cimport uint64_t, uint32_t
|
||||||
from status cimport Status
|
from .status cimport Status
|
||||||
from libcpp cimport bool as cpp_bool
|
from libcpp cimport bool as cpp_bool
|
||||||
from libcpp.string cimport string
|
from libcpp.string cimport string
|
||||||
from libcpp.vector cimport vector
|
from libcpp.vector cimport vector
|
||||||
from slice_ cimport Slice
|
from .slice_ cimport Slice
|
||||||
from snapshot cimport Snapshot
|
from .snapshot cimport Snapshot
|
||||||
from iterator cimport Iterator
|
from .iterator cimport Iterator
|
||||||
|
|
||||||
cdef extern from "rocksdb/write_batch.h" namespace "rocksdb":
|
cdef extern from "rocksdb/write_batch.h" namespace "rocksdb":
|
||||||
cdef cppclass WriteBatch:
|
cdef cppclass WriteBatch:
|
||||||
|
@ -169,6 +169,7 @@ cdef extern from "rocksdb/db.h" namespace "rocksdb":
|
||||||
Status Flush(const options.FlushOptions&, ColumnFamilyHandle*) nogil except+
|
Status Flush(const options.FlushOptions&, ColumnFamilyHandle*) nogil except+
|
||||||
Status DisableFileDeletions() nogil except+
|
Status DisableFileDeletions() nogil except+
|
||||||
Status EnableFileDeletions() nogil except+
|
Status EnableFileDeletions() nogil except+
|
||||||
|
Status Close() nogil except+
|
||||||
|
|
||||||
# TODO: Status GetSortedWalFiles(VectorLogPtr& files)
|
# TODO: Status GetSortedWalFiles(VectorLogPtr& files)
|
||||||
# TODO: SequenceNumber GetLatestSequenceNumber()
|
# TODO: SequenceNumber GetLatestSequenceNumber()
|
||||||
|
|
Loading…
Reference in a new issue