Debian Codegraph @

doc/locale/en/LC_MESSAGES/reference/alias.po

raw
1 # -*- po -*-
2 # English translations for Groonga package.
3 # Copyright (C) 2009-2026 Groonga Project
4 # This file is distributed under the same license as the Groonga package.
5 # Automatically generated, 2026.
6 #
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: Groonga 16.0.5\n"
10 "Report-Msgid-Bugs-To: \n"
11 "PO-Revision-Date: 2026-05-22 06:03+0000\n"
12 "Last-Translator: Automatically generated\n"
13 "Language-Team: none\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: en\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20 msgid "Alias"
21 msgstr "Alias"
22
23 msgid "You can refer a table and column by multiple names by using alias feature."
24 msgstr "You can refer a table and column by multiple names by using alias feature."
25
26 msgid "Summary"
27 msgstr "Summary"
28
29 msgid "The alias feature is useful for the following cases:"
30 msgstr "The alias feature is useful for the following cases:"
31
32 msgid "You want to rename a table but you can't change some Groonga clients that uses the current table name."
33 msgstr "You want to rename a table but you can't change some Groonga clients that uses the current table name."
34
35 msgid "You want to change column type without downtime."
36 msgstr "You want to change column type without downtime."
37
38 msgid "In the former case, some Groonga clients can use the current table name after you rename a table. Because the alias feature maps the current table name to the renamed new table name."
39 msgstr "In the former case, some Groonga clients can use the current table name after you rename a table. Because the alias feature maps the current table name to the renamed new table name."
40
41 msgid "In the latter case, all Groonga clients access the column by aliased name such as ``aliased_column``. ``aliased_column`` refers ``current_column``. You create a new column ``new_column`` with new type and copy data from ``current_column`` by :doc:`/reference/commands/column_copy`. You change ``aliased_column`` to refer ``new_column`` from ``current_column``. Now, all Groonga clients access ``new_column`` by ``aliased_column`` without stopping search requests."
42 msgstr "In the latter case, all Groonga clients access the column by aliased name such as ``aliased_column``. ``aliased_column`` refers ``current_column``. You create a new column ``new_column`` with new type and copy data from ``current_column`` by :doc:`/reference/commands/column_copy`. You change ``aliased_column`` to refer ``new_column`` from ``current_column``. Now, all Groonga clients access ``new_column`` by ``aliased_column`` without stopping search requests."
43
44 msgid "Usage"
45 msgstr "Usage"
46
47 msgid "You manage alias to real name mapping by a normal table and a normal column."
48 msgstr "You manage alias to real name mapping by a normal table and a normal column."
49
50 msgid "You can use any table type except :ref:`table-no-key` for the table. :ref:`table-hash-key` is recommended because exact key match search is only used for the alias feature. :ref:`table-hash-key` is the fastest table type for exact key match search."
51 msgstr "You can use any table type except :ref:`table-no-key` for the table. :ref:`table-hash-key` is recommended because exact key match search is only used for the alias feature. :ref:`table-hash-key` is the fastest table type for exact key match search."
52
53 msgid "The column must be :doc:`/reference/columns/scalar` and type is ``ShortText``. You can also use ``Text`` and ``LongText`` types but they are meaningless. Because the max table/column name size is 4KiB. ``ShortText`` can store 4KiB data."
54 msgstr "The column must be :doc:`/reference/columns/scalar` and type is ``ShortText``. You can also use ``Text`` and ``LongText`` types but they are meaningless. Because the max table/column name size is 4KiB. ``ShortText`` can store 4KiB data."
55
56 msgid "Here are example definitions of table and column for managing aliases:"
57 msgstr "Here are example definitions of table and column for managing aliases:"
58
59 msgid "Execution example::"
60 msgstr "Execution example::"
61
62 msgid "You need to register the table and column by :doc:`configuration`. The alias feature uses ``alias.column`` configuration item. You can register the table and column by the following :doc:`/reference/commands/config_set`:"
63 msgstr "You need to register the table and column by :doc:`configuration`. The alias feature uses ``alias.column`` configuration item. You can register the table and column by the following :doc:`/reference/commands/config_set`:"
64
65 msgid "Here are schema and data to show how to use alias:"
66 msgstr "Here are schema and data to show how to use alias:"
67
68 msgid "You can use ``Users.age`` in :doc:`/reference/commands/select`:"
69 msgstr "You can use ``Users.age`` in :doc:`/reference/commands/select`:"
70
71 msgid "You can't use ``Users.age`` when you rename ``Users.age`` to ``Users.years`` by :doc:`/reference/commands/column_rename`:"
72 msgstr "You can't use ``Users.age`` when you rename ``Users.age`` to ``Users.years`` by :doc:`/reference/commands/column_rename`:"
73
74 msgid "But you can use ``Users.age`` by registering ``Users.age`` to ``Users.years`` mapping to ``Aliases``."
75 msgstr "But you can use ``Users.age`` by registering ``Users.age`` to ``Users.years`` mapping to ``Aliases``."
76
77 msgid "Now, you can use ``Users.age`` as alias of ``Users.years``."
78 msgstr "Now, you can use ``Users.age`` as alias of ``Users.years``."
79
80 msgid "How to resolve alias"
81 msgstr "How to resolve alias"
82
83 msgid "This section describes how to resolve alias."
84 msgstr "This section describes how to resolve alias."
85
86 msgid "Groonga uses the alias feature when nonexistent object name (table name, column name, command name, function name and so on) is referred. It means that you can't override existing object (table, column, command, function and so on) by the alias feature."
87 msgstr "Groonga uses the alias feature when nonexistent object name (table name, column name, command name, function name and so on) is referred. It means that you can't override existing object (table, column, command, function and so on) by the alias feature."
88
89 msgid "For example, alias isn't resolved in the following example because ``Users.years`` exists:"
90 msgstr "For example, alias isn't resolved in the following example because ``Users.years`` exists:"
91
92 msgid "Alias is resolved recursively. If you rename ``Users.years`` to ``Users.years_old`` and you refer ``Users.age``, Groonga replaces ``Users.age`` with ``Users.years`` and then ``Users.years`` with ``Users.years_old``. Because ``Aliases`` table has the following records:"
93 msgstr "Alias is resolved recursively. If you rename ``Users.years`` to ``Users.years_old`` and you refer ``Users.age``, Groonga replaces ``Users.age`` with ``Users.years`` and then ``Users.years`` with ``Users.years_old``. Because ``Aliases`` table has the following records:"
94
95 msgid "``_key``"
96 msgstr "``_key``"
97
98 msgid "``real_name``"
99 msgstr "``real_name``"
100
101 msgid "``Users.age``"
102 msgstr "``Users.age``"
103
104 msgid "``Users.years``"
105 msgstr "``Users.years``"
106
107 msgid "``Users.years_old``"
108 msgstr "``Users.years_old``"
109
110 msgid "Here is an example to ``Users.age`` is resolved recursively:"
111 msgstr "Here is an example to ``Users.age`` is resolved recursively:"
112
113 msgid "See also"
114 msgstr "See also"
115
116 msgid ":doc:`/reference/configuration`"
117 msgstr ":doc:`/reference/configuration`"
118
119 msgid ":doc:`/reference/commands/config_set`"
120 msgstr ":doc:`/reference/commands/config_set`"
121
122 msgid ":doc:`/reference/commands/table_create`"
123 msgstr ":doc:`/reference/commands/table_create`"
124
125 msgid ":doc:`/reference/commands/column_create`"
126 msgstr ":doc:`/reference/commands/column_create`"
127
128 msgid ":doc:`/reference/commands/select`"
129 msgstr ":doc:`/reference/commands/select`"