mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
68 lines
3.5 KiB
HTML
68 lines
3.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>Store 'memory'</title>
|
||
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
||
<link rel="start" href="index.html" title="Redland RDF Library Manual">
|
||
<link rel="up" href="redland-storage-modules.html" title="Storage Modules">
|
||
<link rel="prev" href="redland-storage-module-hashes.html" title="Store 'hashes'">
|
||
<link rel="next" href="redland-storage-module-file.html" title="Store 'file'">
|
||
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
|
||
<link rel="stylesheet" href="style.css" type="text/css">
|
||
<link rel="chapter" href="redland.html" title="Redland Overview">
|
||
<link rel="chapter" href="introduction.html" title="Introduction">
|
||
<link rel="part" href="tutorial.html" title="Part I. Tutorial">
|
||
<link rel="part" href="reference-manual.html" title="Part II. Reference Manual">
|
||
<link rel="chapter" href="objects.html" title="Objects in C">
|
||
<link rel="chapter" href="redland-storage-modules.html" title="Storage Modules">
|
||
<link rel="index" href="indexes.html" title="Index">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||
<td><a accesskey="p" href="redland-storage-module-hashes.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||
<td><a accesskey="u" href="redland-storage-modules.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||
<th width="100%" align="center">Redland RDF Library Manual</th>
|
||
<td><a accesskey="n" href="redland-storage-module-file.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||
</tr></table>
|
||
<div class="section" lang="en">
|
||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||
<a name="redland-storage-module-memory"></a>Store 'memory'</h2></div></div></div>
|
||
<p>This module is always present (cannot be removed) and provides a
|
||
simple and fast in-memory store with no persistence. It is
|
||
the default store if no store name is given to the storage
|
||
constructors.</p>
|
||
<p>The memory store is not suitable for large in-memory models since
|
||
it does not do any indexing. For that, use the
|
||
<a class="xref" href="redland-storage-module-hashes.html" title="Store 'hashes'">the section called “Store 'hashes'”</a> with
|
||
<code class="literal">hash-type</code> of <code class="literal">memory</code>.</p>
|
||
<p>The module provides optional contexts support enabled when
|
||
boolean storage option <code class="literal">contexts</code> is set.</p>
|
||
<p>Examples:</p>
|
||
<pre class="programlisting">
|
||
/* Explictly named memory storage */
|
||
storage=librdf_new_storage(world, "memory", NULL, NULL);
|
||
|
||
/* Default storage type, which is memory */
|
||
storage=librdf_new_storage(world, NULL, NULL, NULL);
|
||
|
||
/* In-memory store with contexts */
|
||
storage=librdf_new_storage(world, NULL, NULL, "contexts='yes'");
|
||
</pre>
|
||
<p>Summary:</p>
|
||
<div class="itemizedlist"><ul type="disc">
|
||
<li><p>In-memory</p></li>
|
||
<li><p>Fast</p></li>
|
||
<li><p>Suitable for small models</p></li>
|
||
<li><p>No indexing</p></li>
|
||
<li><p>No persistance</p></li>
|
||
<li><p>Optional contexts (with option <code class="literal">contexts</code> set)</p></li>
|
||
</ul></div>
|
||
</div>
|
||
<div class="footer">
|
||
<hr>
|
||
Generated by GTK-Doc V1.10</div>
|
||
</body>
|
||
</html>
|