7.6. Column — Groonga v16.0.8 documentation

Skip to main content
`Ctrl`+`K`

# 7.6. Column

## 7.6.1. Summary

Column is a data store object or an index object for fast search.

A column belongs to a table. Table has zero or more columns.

Both data store column and index column have type. Type of data store column specifies data range. In other words, it is “value type”. Type of index column specifies set of documents to be indexed. A set of documents is a table in Groonga. In other words, type of index column must be a table.

## 7.6.2. Data store columns

- 7.6.2.1. Scalar column
- 7.6.2.2. Vector column
- 7.6.2.3. Pseudo column

## 7.6.3. Index column

- 7.6.3.1. Index column

## 7.6.4. Generated column

You can generate contents of a data store column from other column’s value automatically. It’s called as a generated column.

Vector column and Scalar column can be a generated column. You can use generator to create a generated column. See Create a generated column for details.