[Groonga-commit] droonga/droonga.org at abc1832 [gh-pages] Update description of response format of column_create

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Nov 26 19:15:41 JST 2013


YUKI Hiroshi	2013-11-26 19:15:41 +0900 (Tue, 26 Nov 2013)

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

  Message:
    Update description of response format of column_create

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

  Modified: ja/reference/commands/column-create/index.md (+29 -3)
===================================================================
--- ja/reference/commands/column-create/index.md    2013-11-22 16:03:46 +0900 (30da9ff)
+++ ja/reference/commands/column-create/index.md    2013-11-26 19:15:41 +0900 (6984a88)
@@ -32,7 +32,33 @@ layout: documents_ja
 
 ## レスポンス {#response}
 
-このコマンドは、レスポンスとしてカラムの作成の成否を示す真偽値を含んだ配列を返却します。
+このコマンドは、レスポンスとしてコマンドの実行結果に関する情報を格納した配列を返却します。
 
- * `[true]`:カラムを作成した。
- * `[false]`:カラムを作成しなかった。
+    [
+      [
+        ステータス,
+        開始時刻,
+        処理に要した時間
+      ],
+      カラムが作成されたかどうか
+    ]
+
+各要素の詳細は以下の通りです。
+
+ステータス
+: コマンドが正常に受け付けられたかどうかを示す整数値です。以下のいずれかの値をとります。
+  
+   * `0` (`Droonga::GroongaHandler::Status::SUCCESS`) : 正常に処理された。
+   * `-22` (`Droonga::GroongaHandler::Status::INVALID_ARGUMENT`) : 引数が不正である。
+
+開始時刻
+: 処理を開始した時刻を示す数値(UNIX秒)。
+
+処理に要した時間
+: 処理を開始してから完了までの間にかかった時間を示す数値。
+
+カラムが作成されたかどうか
+: カラムが作成されたかどうかを示す真偽値です。以下のいずれかの値をとります。
+  
+   * `true`:カラムを作成した。
+   * `false`:カラムを作成しなかった。
-------------- next part --------------
HTML����������������������������...
Download 



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