| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
Column |
| 4 |
====== |
| 5 |
|
| 6 |
Summary |
| 7 |
------- |
| 8 |
|
| 9 |
Column is a data store object or an index object for fast search. |
| 10 |
|
| 11 |
A column belongs to a table. Table has zero or more columns. |
| 12 |
|
| 13 |
Both data store column and index column have type. Type of data store |
| 14 |
column specifies data range. In other words, it is "value type". Type |
| 15 |
of index column specifies set of documents to be indexed. A set of |
| 16 |
documents is a table in Groonga. In other words, type of index column |
| 17 |
must be a table. |
| 18 |
|
| 19 |
Data store columns |
| 20 |
------------------ |
| 21 |
|
| 22 |
.. toctree:: |
| 23 |
:maxdepth: 1 |
| 24 |
:glob: |
| 25 |
|
| 26 |
columns/scalar |
| 27 |
columns/vector |
| 28 |
columns/pseudo |
| 29 |
|
| 30 |
Index column |
| 31 |
------------ |
| 32 |
|
| 33 |
.. toctree:: |
| 34 |
:maxdepth: 1 |
| 35 |
:glob: |
| 36 |
|
| 37 |
columns/index |
| 38 |
|
| 39 |
.. _generated-column: |
| 40 |
|
| 41 |
Generated column |
| 42 |
---------------- |
| 43 |
|
| 44 |
You can generate contents of a data store column from other column's |
| 45 |
value automatically. It's called as a generated column. |
| 46 |
|
| 47 |
:doc:`columns/vector` and :doc:`columns/scalar` can be a generated |
| 48 |
column. You can use :ref:`column-create-generator` to create a |
| 49 |
generated column. See :ref:`column-create-generated-column` for |
| 50 |
details. |