Skip to content

Latest commit

 

History

History
107 lines (71 loc) · 3.02 KB

File metadata and controls

107 lines (71 loc) · 3.02 KB
title layout
column_remove
en

{% comment %} ############################################## THIS FILE IS AUTOMATICALLY GENERATED FROM "_po/ja/reference/1.0.5/commands/column-remove/index.po" DO NOT EDIT THIS FILE MANUALLY! ############################################## {% endcomment %}

  • TOC {:toc}

概要 {#abstract}

The column_remove command removes an existing column in a table.

This is compatible to the column_remove command of the Groonga.

APIの形式 {#api-types}

HTTP {#api-types-http}

リクエスト先 : (ドキュメントルート)/d/column_remove

リクエストメソッド : GET

リクエストのURLパラメータ : パラメータの一覧で定義されている物を指定します。

リクエストのbody : なし。

レスポンスのbody : レスポンスメッセージ

REST {#api-types-rest}

対応していません。

Fluentd {#api-types-fluentd}

形式 : Request-Response型。コマンドに対しては必ず対応するレスポンスが返されます。

リクエストの type : column_remove

リクエストの body : パラメータのハッシュ。

レスポンスの type : column_remove.result

パラメータの構文 {#syntax}

{
  "table" : "<Name of the table>",
  "name"  : "<Name of the column>"
}

パラメータの詳細 {#parameters}

All parameters are required.

They are compatible to the parameters of the column_remove command of the Groonga. See the linked document for more details.

レスポンス {#response}

このコマンドは、レスポンスの body としてコマンドの実行結果に関する情報を格納した配列を返却します。

[
  [
    <Groonga's status code>,
    <Start time>,
    <Elapsed time>
  ],
  <Column is successfully removed or not>
]

このコマンドはレスポンスの statusCode として常に 200 を返します。これは、Groonga互換コマンドのエラー情報はGroongaのそれと同じ形で処理される必要があるためです。

レスポンスの body の詳細:

ステータスコード : コマンドが正常に受け付けられたかどうかを示す整数値です。以下のいずれかの値をとります。

  • 0 (Droonga::GroongaHandler::Status::SUCCESS) : 正常に処理された。.
  • -22 (Droonga::GroongaHandler::Status::INVALID_ARGUMENT) : 引数が不正である。

開始時刻 : 処理を開始した時刻を示す数値(UNIX秒)。

処理に要した時間 : 処理を開始してから完了までの間にかかった時間を示す数値。

Column is successfully removed or not : A boolean value meaning the column was successfully removed or not. Possible values are:

  • true:The column was successfully removed.
  • false:The column was not removed.