[Groonga-commit] droonga/droonga.org at ba53dee [gh-pages] Translate command reference of column_create and table_create: ja=>en

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Dec 18 16:45:16 JST 2013


YUKI Hiroshi	2013-12-18 16:45:16 +0900 (Wed, 18 Dec 2013)

  New Revision: ba53dee019296e03af314a44d94674717d533e7c
  https://github.com/droonga/droonga.org/commit/ba53dee019296e03af314a44d94674717d533e7c

  Message:
    Translate command reference of column_create and table_create: ja=>en

  Modified files:
    reference/commands/column-create/index.md
    reference/commands/table-create/index.md

  Modified: reference/commands/column-create/index.md (+59 -1)
===================================================================
--- reference/commands/column-create/index.md    2013-12-18 16:44:57 +0900 (e26ed7c)
+++ reference/commands/column-create/index.md    2013-12-18 16:45:16 +0900 (5429be6)
@@ -3,4 +3,62 @@ title: column_create
 layout: documents
 ---
 
-Not yet available in English. See [Japanese version](/ja/reference/commands/column-create/).
+* TOC
+{:toc}
+
+## Abstract {#abstract}
+
+The `column_create` command creates a new column into the specified table..
+
+This is compatible to [the `column_create` command of the Groonga](http://groonga.org/docs/reference/commands/column_create.html).
+
+This is a request-response style command. One response message is always returned per one request.
+
+## Syntax {#syntax}
+
+    {
+      "table"  : "<Name of the table>",
+      "name"   : "<Name of the column>",
+      "flags"  : "<Flags for the column>",
+      "type"   : "<Type of the value>",
+      "source" : "<Name of a column to be indexed>"
+    }
+
+## Parameters {#parameters}
+
+All parameters except `table` and `name` are optional.
+
+They are compatible to [the parameters of the `column_create` command of the Groonga](http://groonga.org/docs/reference/commands/column_create.html#parameters). See the linked document of the Groonga for details.
+
+## Resposnes {#response}
+
+This returns an array meaning the result of the operation.
+
+    [
+      [
+        <Status code>,
+        <Start time>,
+        <Elapsed time>
+      ],
+      <Column is successfully created or not>
+    ]
+
+Details:
+
+Status code
+: An integer meaning the operation's result. Possible values are:
+  
+   * `0` (`Droonga::GroongaHandler::Status::SUCCESS`) : Successfully processed.
+   * `-22` (`Droonga::GroongaHandler::Status::INVALID_ARGUMENT`) : There is any invalid argument.
+
+Start time
+: An UNIX time which the operation was started on.
+
+Elapsed time
+: A decimal of seconds meaning the elapsed time for the operation.
+
+Column is successfully created or not
+: A boolean value meaning the column was successfully created or not. Possible values are:
+  
+   * `true`:The column was successfully created.
+   * `false`:The column was not created.

  Modified: reference/commands/table-create/index.md (+60 -1)
===================================================================
--- reference/commands/table-create/index.md    2013-12-18 16:44:57 +0900 (394ed9d)
+++ reference/commands/table-create/index.md    2013-12-18 16:45:16 +0900 (0bb1ba5)
@@ -3,4 +3,63 @@ title: table_create
 layout: documents
 ---
 
-Not yet available in English. See [Japanese version](/ja/reference/commands/table-create/).
+* TOC
+{:toc}
+
+## Abstract {#abstract}
+
+The `table_create` command creates a new table.
+
+This is compatible to [the `table_create` command of the Groonga](http://groonga.org/docs/reference/commands/table_create.html).
+
+This is a request-response style command. One response message is always returned per one request.
+
+## Syntax {#syntax}
+
+    {
+      "name"              : "<Name of the table>",
+      "flags"             : "<Flags for the table>",
+      "key_type"          : "<Type of the primary key>",
+      "value_type"        : "<Type of the value>",
+      "default_tokenizer" : "<Default tokenizer>",
+      "normalizer"        : "<Normalizer>"
+    }
+
+## Parameters {#parameters}
+
+All parameters except `name` are optional.
+
+They are compatible to [the parameters of the `table_create` command of the Groonga](http://groonga.org/docs/reference/commands/table_create.html#parameters). See the linked document of the Groonga for details.
+
+## Responses {#response}
+
+This returns an array meaning the result of the operation.
+
+    [
+      [
+        <Status code>,
+        <Start time>,
+        <Elapsed time>
+      ],
+      <Table is successfully created or not>
+    ]
+
+Details:
+
+Status code
+: An integer which means the operation's result. Possible values are:
+  
+   * `0` (`Droonga::GroongaHandler::Status::SUCCESS`) : Successfully processed.
+   * `-22` (`Droonga::GroongaHandler::Status::INVALID_ARGUMENT`) : There is any invalid argument.
+
+Start time
+: An UNIX time which the operation was started on.
+
+Elapsed time
+: A decimal of seconds meaning the elapsed time for the operation.
+
+Table is successfully created or not
+: A boolean value meaning the table was successfully created or not. Possible values are:
+  
+   * `true`:The table was successfully created.
+   * `false`:The table was not created.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index