Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 03663abacfb5829946c324cb3e985338 > files > 144

groonga-doc-1.2.7-1.fc14.x86_64.rpm




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>7.2.4. clearlock &mdash; groonga v1.2.6 documentation</title>
    
    <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.2.6',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </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>
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
    <link rel="top" title="groonga v1.2.6 documentation" href="../index.html" />
    <link rel="up" title="7.2. コマンド" href="../commands.html" />
    <link rel="next" title="7.2.5. column_create" href="column_create.html" />
    <link rel="prev" title="7.2.3. check" href="check.html" /> 
  </head>
  <body>
<div class="header">
  <h1 class="title">
    <a id="top-link" href="../index.html">
      <span class="project">groonga</span>
      <span class="separator">-</span>
      <span class="description">An open-source fulltext search engine and column store.</span>
    </a>
  </h1>

  <div class="other-language-links">
    <ul>
      <li><a href="../../../ja/html/commands/clearlock.html"><img src="../_static/jp.png" alt="日本語"></a></li>
    </ul>
  </div>
</div>
  

    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="column_create.html" title="7.2.5. column_create"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="check.html" title="7.2.3. check"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">groonga v1.2.6 documentation</a> &raquo;</li>
          <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
          <li><a href="../commands.html" accesskey="U">7.2. コマンド</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="clearlock">
<h1>7.2.4. clearlock<a class="headerlink" href="#clearlock" title="Permalink to this headline">¶</a></h1>
<div class="section" id="id1">
<h2>7.2.4.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<p>clearlock - オブジェクトにセットされたロックを解除する</p>
</div>
<div class="section" id="id2">
<h2>7.2.4.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<div class="highlight-none"><div class="highlight"><pre>clearlock objname
</pre></div>
</div>
</div>
<div class="section" id="id3">
<h2>7.2.4.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
<p>groonga組込コマンドの一つであるclearlockについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
<p>clearlockは、対象となるオブジェクト(データベース,テーブル,インデックス等)を指定し、オブジェクトにかけられたロックを再帰的に解除します。</p>
</div>
<div class="section" id="id4">
<h2>7.2.4.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
<p><tt class="docutils literal"><span class="pre">objname</span></tt></p>
<blockquote>
<div>対象となるオブジェクト名を指定します。空の場合、開いているdbオブジェクトが対象となります。</div></blockquote>
<p>返値
---</p>
<div class="section" id="json">
<h3>7.2.4.4.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3>
<div class="highlight-none"><div class="highlight"><pre>[成功かどうかのフラグ]

``成功かどうかのフラグ``

  エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
</pre></div>
</div>
</div>
</div>
<div class="section" id="id5">
<h2>7.2.4.5. 例<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<p>開いているデータベースのロックをすべて解除する:</p>
<div class="highlight-none"><div class="highlight"><pre>clearlock
[true]
</pre></div>
</div>
<p>テーブル名 Entry のカラム body のロックを解除する:</p>
<div class="highlight-none"><div class="highlight"><pre>clearlock Entry.body
[true]
</pre></div>
</div>
</div>
<div class="section" id="id6">
<h2>7.2.4.6. 関連項目<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
<p><a class="reference internal" href="load.html"><em>load</em></a></p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">7.2.4. clearlock</a><ul>
<li><a class="reference internal" href="#id1">7.2.4.1. 名前</a></li>
<li><a class="reference internal" href="#id2">7.2.4.2. 書式</a></li>
<li><a class="reference internal" href="#id3">7.2.4.3. 説明</a></li>
<li><a class="reference internal" href="#id4">7.2.4.4. 引数</a><ul>
<li><a class="reference internal" href="#json">7.2.4.4.1. json形式</a></li>
</ul>
</li>
<li><a class="reference internal" href="#id5">7.2.4.5. 例</a></li>
<li><a class="reference internal" href="#id6">7.2.4.6. 関連項目</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="check.html"
                        title="previous chapter">7.2.3. check</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="column_create.html"
                        title="next chapter">7.2.5. column_create</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/commands/clearlock.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="column_create.html" title="7.2.5. column_create"
             >next</a> |</li>
        <li class="right" >
          <a href="check.html" title="7.2.3. check"
             >previous</a> |</li>
        <li><a href="../index.html">groonga v1.2.6 documentation</a> &raquo;</li>
          <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
          <li><a href="../commands.html" >7.2. コマンド</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2009-2011, Brazil, Inc.
    </div>
  </body>
</html>