Debian Codegraph @

doc/locale/en/LC_MESSAGES/tutorial/data.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 "Various data types"
21 msgstr "Various data types"
22
23 msgid "Groonga is a full text search engine but also serves as a column-oriented data store. Groonga supports various data types, such as numeric types, string types, date and time type, longitude and latitude types, etc. This tutorial shows a list of data types and explains how to use them."
24 msgstr "Groonga is a full text search engine but also serves as a column-oriented data store. Groonga supports various data types, such as numeric types, string types, date and time type, longitude and latitude types, etc. This tutorial shows a list of data types and explains how to use them."
25
26 msgid "Overview"
27 msgstr "Overview"
28
29 msgid "The basic data types of Groonga are roughly divided into 5 groups --- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`."
30 msgstr "The basic data types of Groonga are roughly divided into 5 groups --- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`."
31
32 msgid "In addition, Groonga supports reference types and vector types. Reference types are designed for accessing other tables. Vector types are designed for storing a variable number of values in one element."
33 msgstr "In addition, Groonga supports reference types and vector types. Reference types are designed for accessing other tables. Vector types are designed for storing a variable number of values in one element."
34
35 msgid "First, let's create a table for this tutorial."
36 msgstr "First, let's create a table for this tutorial."
37
38 msgid "Execution example::"
39 msgstr "Execution example::"
40
41 msgid "Boolean type"
42 msgstr "Boolean type"
43
44 msgid "The boolean type is used to store true or false. To create a boolean type column, specify Bool to the `type` parameter of :doc:`/reference/commands/column_create` command. The default value of the boolean type is false."
45 msgstr "The boolean type is used to store true or false. To create a boolean type column, specify Bool to the `type` parameter of :doc:`/reference/commands/column_create` command. The default value of the boolean type is false."
46
47 msgid "The following example creates a boolean type column and adds three records. Note that the third record has the default value because no value is specified."
48 msgstr "The following example creates a boolean type column and adds three records. Note that the third record has the default value because no value is specified."
49
50 msgid "Numeric types"
51 msgstr "Numeric types"
52
53 msgid "The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see :doc:`/reference/types`. The default value of the numeric types is 0."
54 msgstr "The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see :doc:`/reference/types`. The default value of the numeric types is 0."
55
56 msgid "The following example creates an Int8 column and a Float column, and then updates existing records. The :doc:`/reference/commands/load` command updates the weight column as expected. On the other hand, the price column values are different from the specified values because 15.9 is not an integer and 200 is too large. 15.9 is converted to 15 by removing the fractional part. 200 causes an overflow and the result becomes -56. Note that the result of an overflow/underflow is undefined."
57 msgstr "The following example creates an Int8 column and a Float column, and then updates existing records. The :doc:`/reference/commands/load` command updates the weight column as expected. On the other hand, the price column values are different from the specified values because 15.9 is not an integer and 200 is too large. 15.9 is converted to 15 by removing the fractional part. 200 causes an overflow and the result becomes -56. Note that the result of an overflow/underflow is undefined."
58
59 msgid "String types"
60 msgstr "String types"
61
62 msgid "The string types are divided according to the maximum length. For more details, see :doc:`/reference/types`. The default value is the zero-length string."
63 msgstr "The string types are divided according to the maximum length. For more details, see :doc:`/reference/types`. The default value is the zero-length string."
64
65 msgid "The following example creates a ``ShortText`` column and updates existing records. The third record (``\"Block\"`` key record) has the default value (zero-length string) because it's not updated."
66 msgstr "The following example creates a ``ShortText`` column and updates existing records. The third record (``\"Block\"`` key record) has the default value (zero-length string) because it's not updated."
67
68 msgid "Date and time type"
69 msgstr "Date and time type"
70
71 msgid "The date and time type of Groonga is Time. Actually, a Time column stores a date and time as the number of microseconds since the Epoch, 1970-01-01 00:00:00. A Time value can represent a date and time before the Epoch because the actual data type is a signed integer. Note that :doc:`/reference/commands/load` and :doc:`/reference/commands/select` commands use a decimal number to represent a data and time in seconds. The default value is 0.0, which means the Epoch."
72 msgstr "The date and time type of Groonga is Time. Actually, a Time column stores a date and time as the number of microseconds since the Epoch, 1970-01-01 00:00:00. A Time value can represent a date and time before the Epoch because the actual data type is a signed integer. Note that :doc:`/reference/commands/load` and :doc:`/reference/commands/select` commands use a decimal number to represent a data and time in seconds. The default value is 0.0, which means the Epoch."
73
74 msgid "Groonga internally holds the value of Epoch as pair of integer. The first integer represents the value of seconds, on the other hand, the second integer represents the value of micro seconds. So, Groonga shows the value of Epoch as floating point. Integral part means the value of seconds, fraction part means the value of micro seconds."
75 msgstr "Groonga internally holds the value of Epoch as pair of integer. The first integer represents the value of seconds, on the other hand, the second integer represents the value of micro seconds. So, Groonga shows the value of Epoch as floating point. Integral part means the value of seconds, fraction part means the value of micro seconds."
76
77 msgid "The following example creates a ``Time`` column and updates existing records. The first record (``\"Monkey\"`` key record) has the default value (``0.0``) because it's not updated."
78 msgstr "The following example creates a ``Time`` column and updates existing records. The first record (``\"Monkey\"`` key record) has the default value (``0.0``) because it's not updated."
79
80 msgid "Longitude and latitude types"
81 msgstr "Longitude and latitude types"
82
83 msgid "The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`. To represent a longitude and latitude, Groonga uses a string formatted as follows:"
84 msgstr "The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`. To represent a longitude and latitude, Groonga uses a string formatted as follows:"
85
86 msgid "\"longitude x latitude\" in milliseconds (e.g.: \"128452975x503157902\")"
87 msgstr "\"longitude x latitude\" in milliseconds (e.g.: \"128452975x503157902\")"
88
89 msgid "\"longitude x latitude\" in degrees (e.g.: \"35.6813819x139.7660839\")"
90 msgstr "\"longitude x latitude\" in degrees (e.g.: \"35.6813819x139.7660839\")"
91
92 msgid "A number with/without a decimal point represents a longitude or latitude in milliseconds/degrees respectively. Note that a combination of a number with a decimal point and a number without a decimal point (e.g. 35.1x139) must not be used. A comma (',') is also available as a delimiter. The default value is \"0x0\"."
93 msgstr "A number with/without a decimal point represents a longitude or latitude in milliseconds/degrees respectively. Note that a combination of a number with a decimal point and a number without a decimal point (e.g. 35.1x139) must not be used. A comma (',') is also available as a delimiter. The default value is \"0x0\"."
94
95 msgid "The following example creates a ``WGS84GeoPoint`` column and updates existing records. The second record (``\"Flower\"`` key record) has the default value (``\"0x0\"``) because it's not updated."
96 msgstr "The following example creates a ``WGS84GeoPoint`` column and updates existing records. The second record (``\"Flower\"`` key record) has the default value (``\"0x0\"``) because it's not updated."
97
98 msgid "Reference types"
99 msgstr "Reference types"
100
101 msgid "Groonga supports a reference column, which stores references to records in its associated table. In practice, a reference column stores the IDs of the referred records in the associated table and enables access to those records."
102 msgstr "Groonga supports a reference column, which stores references to records in its associated table. In practice, a reference column stores the IDs of the referred records in the associated table and enables access to those records."
103
104 msgid "You can specify a column in the associated table to the ``output_columns`` parameter of a :doc:`/reference/commands/select` command. The format is ``Src.Dest`` where Src is the name of the reference column and Dest is the name of the target column. If only the reference column is specified, it is handled as ``Src._key``. Note that if a reference does not point to a valid record, a :doc:`/reference/commands/select` command outputs the default value of the target column."
105 msgstr "You can specify a column in the associated table to the ``output_columns`` parameter of a :doc:`/reference/commands/select` command. The format is ``Src.Dest`` where Src is the name of the reference column and Dest is the name of the target column. If only the reference column is specified, it is handled as ``Src._key``. Note that if a reference does not point to a valid record, a :doc:`/reference/commands/select` command outputs the default value of the target column."
106
107 msgid "The following example adds a reference column to the ``Site`` table that was created in :ref:`tutorial-introduction-create-table`. The new column, named ``link``, is designed for storing links among records in the ``Site`` table."
108 msgstr "The following example adds a reference column to the ``Site`` table that was created in :ref:`tutorial-introduction-create-table`. The new column, named ``link``, is designed for storing links among records in the ``Site`` table."
109
110 msgid "The `type` parameter of the :doc:`/reference/commands/column_create` command specifies the table to be associated with the reference column. In this example, the reference column is associated with the own table. Then, the :doc:`/reference/commands/load` command registers a link from \"http://example.org\" to \"http://example.net\". Note that a reference column requires the primary key, not the ID, of the record to be referred to. After that, the link is confirmed by the :doc:`/reference/commands/select` command. In this case, the primary key and the title of the referred record are output because link._key and link.title are specified to the `output_columns` parameter."
111 msgstr "The `type` parameter of the :doc:`/reference/commands/column_create` command specifies the table to be associated with the reference column. In this example, the reference column is associated with the own table. Then, the :doc:`/reference/commands/load` command registers a link from \"http://example.org\" to \"http://example.net\". Note that a reference column requires the primary key, not the ID, of the record to be referred to. After that, the link is confirmed by the :doc:`/reference/commands/select` command. In this case, the primary key and the title of the referred record are output because link._key and link.title are specified to the `output_columns` parameter."
112
113 msgid "Vector types"
114 msgstr "Vector types"
115
116 msgid "Groonga supports a vector column, in which each element can store a variable number of values. To create a vector column, specify the COLUMN_VECTOR flag to the `flags` parameter of a :doc:`/reference/commands/column_create` command. A vector column is useful to represent a many-to-many relationship."
117 msgstr "Groonga supports a vector column, in which each element can store a variable number of values. To create a vector column, specify the COLUMN_VECTOR flag to the `flags` parameter of a :doc:`/reference/commands/column_create` command. A vector column is useful to represent a many-to-many relationship."
118
119 msgid "The previous example used a regular column, so each record could have at most one link. Obviously, the specification is insufficient because a site usually has more than one links. To solve this problem, the following example uses a vector column."
120 msgstr "The previous example used a regular column, so each record could have at most one link. Obviously, the specification is insufficient because a site usually has more than one links. To solve this problem, the following example uses a vector column."
121
122 msgid "The only difference at the first step is the `flags` parameter that specifies to create a vector column. The `type` parameter of the :doc:`/reference/commands/column_create` command is the same as in the previous example. Then, the :doc:`/reference/commands/load` command registers three links from \"http://example.org/\" to \"http://example.net/\", \"http://example.org/\" and \"http://example.com/\". After that, the links are confirmed by the :doc:`/reference/commands/select` command. In this case, the primary keys and the titles are output as arrays because links._key and links.title are specified to the `output_columns` parameter."
123 msgstr "The only difference at the first step is the `flags` parameter that specifies to create a vector column. The `type` parameter of the :doc:`/reference/commands/column_create` command is the same as in the previous example. Then, the :doc:`/reference/commands/load` command registers three links from \"http://example.org/\" to \"http://example.net/\", \"http://example.org/\" and \"http://example.com/\". After that, the links are confirmed by the :doc:`/reference/commands/select` command. In this case, the primary keys and the titles are output as arrays because links._key and links.title are specified to the `output_columns` parameter."