lbry-rocksdb/python_rocksdb.html
2019-08-01 23:01:11 +08:00

205 lines
No EOL
13 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>python rocksdb API &#8212; python-rocksdb 0.6.7 documentation</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="pyrocksdb.Blob" href="_generate/pyrocksdb.Blob.html" />
<link rel="prev" title="Welcome to python-rocksdbs documentation!" href="index.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head><body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<span class="target" id="module-pyrocksdb"></span><div class="section" id="python-rocksdb-api">
<h1>python rocksdb API<a class="headerlink" href="#python-rocksdb-api" title="Permalink to this headline"></a></h1>
<p>Most of names of APIs are identical to the official rocksdb c++ APIs, thus you can find the usage in the headers of rocksdb easily</p>
<table class="longtable docutils align-center">
<colgroup>
<col style="width: 10%" />
<col style="width: 90%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.Blob.html#pyrocksdb.Blob" title="pyrocksdb.Blob"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Blob</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.ColumnFamilyHandle.html#pyrocksdb.ColumnFamilyHandle" title="pyrocksdb.ColumnFamilyHandle"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ColumnFamilyHandle</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.ColumnFamilyDescriptor.html#pyrocksdb.ColumnFamilyDescriptor" title="pyrocksdb.ColumnFamilyDescriptor"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ColumnFamilyDescriptor</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.VectorColumnFamilyDescriptor.html#pyrocksdb.VectorColumnFamilyDescriptor" title="pyrocksdb.VectorColumnFamilyDescriptor"><code class="xref py py-obj docutils literal notranslate"><span class="pre">VectorColumnFamilyDescriptor</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.VectorColumnFamilyHandle.html#pyrocksdb.VectorColumnFamilyHandle" title="pyrocksdb.VectorColumnFamilyHandle"><code class="xref py py-obj docutils literal notranslate"><span class="pre">VectorColumnFamilyHandle</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.IteratorWrapper.html#pyrocksdb.IteratorWrapper" title="pyrocksdb.IteratorWrapper"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IteratorWrapper</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.DB.html#pyrocksdb.DB" title="pyrocksdb.DB"><code class="xref py py-obj docutils literal notranslate"><span class="pre">DB</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.DBOptions.html#pyrocksdb.DBOptions" title="pyrocksdb.DBOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">DBOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.Options.html#pyrocksdb.Options" title="pyrocksdb.Options"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Options</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.AdvancedColumnFamilyOptions.html#pyrocksdb.AdvancedColumnFamilyOptions" title="pyrocksdb.AdvancedColumnFamilyOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">AdvancedColumnFamilyOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.ColumnFamilyOptions.html#pyrocksdb.ColumnFamilyOptions" title="pyrocksdb.ColumnFamilyOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ColumnFamilyOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.WriteOptions.html#pyrocksdb.WriteOptions" title="pyrocksdb.WriteOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">WriteOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.ReadOptions.html#pyrocksdb.ReadOptions" title="pyrocksdb.ReadOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ReadOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.TransactionDBOptions.html#pyrocksdb.TransactionDBOptions" title="pyrocksdb.TransactionDBOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">TransactionDBOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.TransactionOptions.html#pyrocksdb.TransactionOptions" title="pyrocksdb.TransactionOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">TransactionOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.LRUCacheOptions.html#pyrocksdb.LRUCacheOptions" title="pyrocksdb.LRUCacheOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">LRUCacheOptions</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.Status.html#pyrocksdb.Status" title="pyrocksdb.Status"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Status</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.WriteBatch.html#pyrocksdb.WriteBatch" title="pyrocksdb.WriteBatch"><code class="xref py py-obj docutils literal notranslate"><span class="pre">WriteBatch</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.transaction_db.html#pyrocksdb.transaction_db" title="pyrocksdb.transaction_db"><code class="xref py py-obj docutils literal notranslate"><span class="pre">transaction_db</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="_generate/pyrocksdb.transaction_wrapper.html#pyrocksdb.transaction_wrapper" title="pyrocksdb.transaction_wrapper"><code class="xref py py-obj docutils literal notranslate"><span class="pre">transaction_wrapper</span></code></a></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="_generate/pyrocksdb.Snapshot.html#pyrocksdb.Snapshot" title="pyrocksdb.Snapshot"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Snapshot</span></code></a></p></td>
<td><p></p></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.html">python-rocksdb</a></h1>
<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">python rocksdb API</a><ul>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.Blob.html">pyrocksdb.Blob</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.ColumnFamilyHandle.html">pyrocksdb.ColumnFamilyHandle</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.ColumnFamilyDescriptor.html">pyrocksdb.ColumnFamilyDescriptor</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.VectorColumnFamilyDescriptor.html">pyrocksdb.VectorColumnFamilyDescriptor</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.VectorColumnFamilyHandle.html">pyrocksdb.VectorColumnFamilyHandle</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.IteratorWrapper.html">pyrocksdb.IteratorWrapper</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.DB.html">pyrocksdb.DB</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.DBOptions.html">pyrocksdb.DBOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.Options.html">pyrocksdb.Options</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.AdvancedColumnFamilyOptions.html">pyrocksdb.AdvancedColumnFamilyOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.ColumnFamilyOptions.html">pyrocksdb.ColumnFamilyOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.WriteOptions.html">pyrocksdb.WriteOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.ReadOptions.html">pyrocksdb.ReadOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.TransactionDBOptions.html">pyrocksdb.TransactionDBOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.TransactionOptions.html">pyrocksdb.TransactionOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.LRUCacheOptions.html">pyrocksdb.LRUCacheOptions</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.Status.html">pyrocksdb.Status</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.WriteBatch.html">pyrocksdb.WriteBatch</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.transaction_db.html">pyrocksdb.transaction_db</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.transaction_wrapper.html">pyrocksdb.transaction_wrapper</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate/pyrocksdb.Snapshot.html">pyrocksdb.Snapshot</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="installation.html">Instructions how to install</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/index.html">Tutorial</a></li>
<li class="toctree-l1"><a class="reference internal" href="changelog.html">Changelog</a></li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="index.html" title="previous chapter">Welcome to python-rocksdbs documentation!</a></li>
<li>Next: <a href="_generate/pyrocksdb.Blob.html" title="next chapter">pyrocksdb.Blob</a></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&copy;2014, sh.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
<a href="_sources/python_rocksdb.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>