Kouhei Sutou
null+****@clear*****
Fri Mar 24 17:53:25 JST 2017
Kouhei Sutou 2017-03-24 17:53:25 +0900 (Fri, 24 Mar 2017) New Revision: 646b4324e0fcc5f8e9e04da4d966dfbd7269d938 https://github.com/groonga/groonga/commit/646b4324e0fcc5f8e9e04da4d966dfbd7269d938 Message: doc select ja: translate partially Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/commands/select.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+230 -3) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2017-03-24 17:19:47 +0900 (ee261f6) +++ doc/locale/ja/LC_MESSAGES/reference.po 2017-03-24 17:53:25 +0900 (3163e54) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2017-02-14 19:23+0900\n" +"PO-Revision-Date: 2017-03-24 17:50+0900\n" "Last-Translator: Masafumi Yokoyama <yokoyama �� clear-code.com>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -10492,11 +10492,69 @@ msgid "" "The required parameter is only ``table``. Other parameters are optional::" msgstr "必須の引数は ``table`` だけです。残りは省略できます::" +msgid "``select`` has the following named parameters for dynamic columns:" +msgstr "以下の名前付き引数で動的カラム機能を使うことができます。" + +msgid "``columns[${NAME}].stage=null``" +msgstr "" + +msgid "``columns[${NAME}].flags=COLUMN_SCALAR``" +msgstr "" + +msgid "``columns[${NAME}].type=null``" +msgstr "" + +msgid "``columns[${NAME}].value=null``" +msgstr "" + +msgid "``columns[${NAME}].window.sort_keys=null``" +msgstr "" + +msgid "" +"``select`` supports grouped window function by the following named " +"parameters:" +msgstr "以下の名前付き引数を使うとグループ化した上でウィンドウ関数を使えます。" + +msgid "``columns[${NAME}].window.group_keys=null``" +msgstr "" + msgid "``select`` has the following named parameters for advanced drilldown:" msgstr "" "``select`` には高度なドリルダウン機能のために以下の名前付き引数があります。" msgid "" +"Dynamic columns can be used in ``drilldown[${LABEL}]`` with the following " +"named parameters:" +msgstr "" +"``drilldowns[${LABEL}]`` では以下の名前付き引数で動的カラムを使うことができま" +"す。" + +msgid "``drilldowns[${LABEL}].columns[${NAME}].stage=null``" +msgstr "" + +msgid "``drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR``" +msgstr "" + +msgid "``drilldowns[${LABEL}].columns[${NAME}].type=null``" +msgstr "" + +msgid "``drilldowns[${LABEL}].columns[${NAME}].value=null``" +msgstr "" + +msgid "``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null``" +msgstr "" + +msgid "" +"Grouped windows function can be used in ``drilldown[${LABEL}]`` with the " +"following named parameters:" +msgstr "" +"``drilldowns[${LABEL}]`` では以下の名前付き引数を使うとグループ化した上でウィ" +"ンドウ関数を使えます。" + +msgid "``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null``" +msgstr "" + +msgid "" "``drilldown[...]`` syntax is deprecated, Use ``drilldowns[...]`` instead." msgstr "" "``drilldown[...]`` 構文は非推奨になりました。代わりに ``drilldowns[...]`` を" @@ -10694,8 +10752,8 @@ msgstr "ドリルダウン" msgid "" "You can get additional grouped results against the search result in one " -"``select``. You need to use two or more ``SELECT``s in SQL but ``select`` in " -"Groonga can do it in one ``select``." +"``select``. You need to use two or more ``SELECT`` s in SQL but ``select`` " +"in Groonga can do it in one ``select``." msgstr "" "1回の ``select`` で検索結果だけでなく、検索結果をグループ化した結果も一緒に取" "得できます。SQLでは2回以上 ``SELECT`` を使わなければいけない場合でも、Groonga" @@ -10769,6 +10827,64 @@ msgstr "" "できます。詳細は :ref:`select-drilldown-related-parameters` を参照してくださ" "い。" +msgid "Dynamic column" +msgstr "動的カラム" + +msgid "" +"You can create zero or more columns dynamically while a ``select`` " +"execution. You can use them for drilldown by computed value, window function " +"and so on." +msgstr "" +"1回の ``select`` 実行中に0個以上のカラムを動的に作ることができます。この機能" +"を使うと計算した値に対してドリルダウンしたりウィンドウ関数と使ったりできま" +"す。" + +msgid "" +"Here is an example that uses dynamic column for drilldown by computed value. " +"This example creates a new column named ``n_likes_class``. ``n_likes_class`` " +"column has classified value of ``Entry.n_likes`` value. This example " +"classifies ``Entry.n_likes`` column value ``10`` step and the lowest number " +"in the class is the classified value. If a ``Entry.n_likes`` value is " +"between ``0`` and ``9`` such as ``3`` and ``5``, ``n_likes_class`` value " +"(classified value) is ``0``. If ``Entry.n_likes`` value is between ``10`` " +"and ``19`` such as ``10`` and ``15``, ``n_likes_class`` value (classified " +"value) is ``10``." +msgstr "" +"以下は計算した値に対してドリルダウンするために動的カラムを使う例です。この例" +"では ``n_likes_class`` という名前のカラムを新しく作っています。 " +"``n_likes_class`` カラムには ``Entry.n_likes`` の値を分類した値を入れます。こ" +"の例では ``Entry.n_likes`` カラムの値を ``10`` 刻みで分類し、一番小さい数値を" +"その分類の代表値とします。もし、 ``Entry.n_likes`` の値が ``3`` や ``5`` のよ" +"うに ``0`` から ``9`` の間の値なら、 ``n_likes_class`` の値(分類した値)は " +"``0`` になります。もし、 ``Entry.n_likes`` の値が ``10`` や ``15`` のように " +"``10`` から ``19`` の間の値なら、 ``n_likes_class`` の値(分類した値)は " +"``10`` になります。" + +msgid "" +"You can use doc:`/reference/functions/number_classify` function for the " +"classification. You need to register ``functions/number`` plugin by :doc:" +"`plugin_register` command to use doc:`/reference/functions/number_classify` " +"function." +msgstr "" +"このような分類をするために doc:`/reference/functions/number_classify` 関数を" +"使えます。 doc:`/reference/functions/number_classify` 関数を使うためには :" +"doc:`plugin_register` コマンドで ``functions/number`` プラグインを登録する必" +"要があります。" + +msgid "" +"This example does drilldown by ``n_likes_class`` value. The drilldown result " +"will help you to know data trend." +msgstr "" +"この例では ``n_likes_class`` の値でドリルダウンしています。このドリルダウン結" +"果があるとデータの傾向がわかりやすくなるでしょう。" + +msgid "See :ref:`select-dynamic-column-related-parameters` for details." +msgstr "" +"詳細は :ref:`select-dynamic-column-related-parameters` を見てください。" + +msgid "Window function" +msgstr "ウィンドウ関数" + msgid "This section describes all parameters. Parameters are categorized." msgstr "" "このセクションではすべての引数について説明します。引数はカテゴリわけしていま" @@ -11541,6 +11657,117 @@ msgid "" "スタマイズできるようになります。" msgstr "" +msgid "Dynamic column related parameters" +msgstr "動的カラム関連の引数" + +msgid "" +"This section describes dynamic column related parameters. You can use " +"dynamic column for window function but this section doesn't describe window " +"function. See :ref:`select-window-function-related-parameters` for window " +"function." +msgstr "" +"このセクションは動的カラム関連の引数について説明します。ウィンドウ関数を使う" +"ために動的カラムを使うこともできますが、このセクションではウィンドウ関数につ" +"いては説明しません。ウィンドウ関数については :ref:`select-window-function-" +"related-parameters` を参照してください。" + +msgid "" +"You can create zero or more columns and fill values into these columns while " +"a ``select`` execution. These columns are called as \"dynamic columns\". You " +"can use dynamic columns as same as normal columns after dynamic columns are " +"created." +msgstr "" +"``select`` 実行中に0個以上のカラムを作ってそこに値を入れることができます。こ" +"れらのカラムのことを「動的カラム」と呼びます。動的カラムが作られた後は通常の" +"カラムと同じように使えます。" + +msgid "" +"Dynamic column has performance merit because its values are computed at once " +"and reused computed values." +msgstr "" +"動的カラムは一度計算した値を使いまわすのでパフォーマンス上のメリットがありま" +"す。" + +msgid "" +"Dynamic column increases memory usage because its values are kept while the " +"``select`` execution." +msgstr "" +"動的カラムを使うとメモリー使用量が増えます。 ``select`` 実行中にカラムの値を" +"保存し続ける必要があるからです。" + +msgid "You need to use dynamic column in the following cases:" +msgstr "以下のケースでは動的カラムを使う必要があります。" + +msgid "You want to name values like ``AS`` in SQL." +msgstr "SQLの ``AS`` のように値に名前をつけたい場合。" + +msgid "" +"You want to use computed values for drilldown. Groonga doesn't support " +"drilldown target value computation in drilldown." +msgstr "" +"計算した値をドリルダウンしたい場合。Groongaにはドリルダウン中に値を計算する機" +"能はありません。" + +msgid "You want to use window function." +msgstr "ウィンドウ関数を使いたい場合。" + +msgid "" +"There are some points to create dynamic columns. You must specify ``stage`` " +"to each dynamic column to control dynamic columns creation points. It's " +"important that you choose proper point to get better performance." +msgstr "" +"いくつか動的カラムを作るタイミングがあります。各動的カラムには ``stage`` を指" +"定する必要があります。これはどのタイミングで動的カラムを作るかを制御するため" +"です。よりよい性能を出すために適切なタイミングを選ぶことが重要です。" + +msgid "" +"For example, it's not a good idea that you create a dynamic column that is " +"only used for output for all records. The number of output records will be a " +"little even if there are many records in a table. Because you will filter, " +"sort and limit all records and output only the limited records in many cases." +msgstr "" +"たとえば、出力対象のレコードだけに必要な動的カラムを全レコードに対して作成す" +"ることはオススメしません。通常、たとえテーブル内に大量のレコードがあったとし" +"ても、出力対象のレコードは少なくなります。これは、多くの場合は、テーブル内の" +"レコードをフィルターしてソートしてレコード数を制限して、制限したレコードだけ" +"を出力するからです。" + +msgid "See :ref:`select-columns-name-stage` for ``stage`` detail." +msgstr "``stage`` の詳細は :ref:`select-columns-name-stage` を見てください。" + +msgid "" +"Here are parameters for dynamic column. They don't include window function " +"related parameters. See :ref:`select-window-function-related-parameters` for " +"window function related parameters:" +msgstr "" +"以下は動的カラムの引数です。ウィンドウ関数関連の引数は入っていません。ウィン" +"ドウ関数関連の引数については :ref:`select-window-function-related-" +"parameters` を見てください。" + +msgid "Default value" +msgstr "デフォルト値" + +msgid "Required" +msgstr "必須" + +msgid "``--columns[${NAME}].stage``" +msgstr "" + +msgid "``null``" +msgstr "" + +msgid "``--columns[${NAME}].flags``" +msgstr "" + +msgid "Optional" +msgstr "省略可能" + +msgid "``--columns[${NAME}].type``" +msgstr "" + +msgid "``--columns[${NAME}].value``" +msgstr "" + msgid "" "This section describes basic drilldown related parameters. Advanced " "drilldown related parameters are described in another section." Modified: doc/source/reference/commands/select.rst (+5 -5) =================================================================== --- doc/source/reference/commands/select.rst 2017-03-24 17:19:47 +0900 (12c94d9) +++ doc/source/reference/commands/select.rst 2017-03-24 17:53:25 +0900 (0adddb3) @@ -79,7 +79,7 @@ optional:: .. versionadded:: 6.0.6 - Dynamic columns can be used in ``drilldown[${LABEL}]`` with the + Dynamic columns can be used in ``drilldowns[${LABEL}]`` with the following named parameters: * ``drilldowns[${LABEL}].columns[${NAME}].stage=null`` @@ -90,7 +90,7 @@ optional:: .. versionadded:: 7.0.0 - Grouped windows function can be used in ``drilldown[${LABEL}]`` + Grouped windows function can be used in ``drilldowns[${LABEL}]`` with the following named parameters: * ``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null`` @@ -341,7 +341,7 @@ column value ``10`` step and the lowest number in the class is the classified value. If a ``Entry.n_likes`` value is between ``0`` and ``9`` such as ``3`` and ``5``, ``n_likes_class`` value (classified value) is ``0``. If ``Entry.n_likes`` value is between ``10`` and -``20`` such as ``10`` and ``15``, ``n_likes_class`` value (classified +``19`` such as ``10`` and ``15``, ``n_likes_class`` value (classified value) is ``10``. You can use doc:`/reference/functions/number_classify` function for @@ -1045,7 +1045,7 @@ related parameters: * - Name - Default value - - Required + - Required or optional * - ``--columns[${NAME}].stage`` - ``null`` - Required @@ -1253,7 +1253,7 @@ dynamic column related parameters: :header-rows: 1 * - Name - - Required + - Required or optional - Note * - ``--columns[${NAME}].value`` - Required -------------- next part -------------- HTML����������������������������...Download