⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classdbdatabase.html

📁 FastDb是高效的内存数据库系统
💻 HTML
📖 第 1 页 / 共 5 页
字号:
  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Add new indices to the table. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>alter</em>&nbsp;</td><td>if true than indices can be added, otherwise there are some other active clients and adding new indices about which they will not know can lead to inconsistncy </td></tr>    <tr><td valign=top><em>desc</em>&nbsp;</td><td>new table descriptor </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>true if indices were succesfully added </dd></dl>    </td>  </tr></table><a class="anchor" name="dbSubSqlb40" doxytag="dbDatabase::addNewTable" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> oid_t dbDatabase::addNewTable </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbTableDescriptor.html">dbTableDescriptor</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>desc</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Add new table to the database <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>desc</em>&nbsp;</td><td>- descriptor of new table </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>oid of created table descriptor record </dd></dl>    </td>  </tr></table><a class="anchor" name="dbSubSqlb19" doxytag="dbDatabase::allocate" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> offs_t dbDatabase::allocate </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">size_t&nbsp;</td>          <td class="mdname" nowrap> <em>size</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>oid_t&nbsp;</td>          <td class="mdname" nowrap> <em>oid</em> = 0</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Allocate object in the database e<dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>size</em>&nbsp;</td><td>size of alocated object </td></tr>    <tr><td valign=top><em>oid</em>&nbsp;</td><td>if oid is not 0, then allocated region position is stored in correcpondent cell of object index (needed for allocation of bitmap pages) </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>position of allcoated region </dd></dl>    </td>  </tr></table><a class="anchor" name="dbSubSqlb23" doxytag="dbDatabase::allocateId" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> oid_t dbDatabase::allocateId </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>n</em> = 1          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Allocate object identifier(s) <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>number</em>&nbsp;</td><td>of allocated object indentifiers </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>object idenitifer (in case if n greater than 1, all n subsequent OIDs are allocated and first one is returned </dd></dl>    </td>  </tr></table><a class="anchor" name="dbSubSqlb27" doxytag="dbDatabase::allocateObject" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> oid_t dbDatabase::allocateObject </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">dbInternalObject&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>marker</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Allocate internal object <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>market</em>&nbsp;</td><td>internal object tag </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>oid of allocated object </dd></dl>    </td>  </tr></table><a class="anchor" name="dbSubSqlb29" doxytag="dbDatabase::allocateRow" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void dbDatabase::allocateRow </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">oid_t&nbsp;</td>          <td class="mdname" nowrap> <em>tableId</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>oid_t&nbsp;</td>          <td class="mdname" nowrap> <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>size_t&nbsp;</td>          <td class="mdname" nowrap> <em>size</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Allocate record with specified OID <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>tableId</em>&nbsp;</td><td>object identifier of the table </td></tr>    <tr><td valign=top><em>oid</em>&nbsp;</td><td>record OID </td></tr>    <tr><td valign=top><em>size</em>&nbsp;</td><td>size of the created record as table descriptor in the database </td></tr>  </table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -