Super column

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

A super column is a tuple (a pair) with a binary super column name and a value that maps it to many columns. They consist of a key–value pairs, where the values are columns. Theoretically speaking, super columns are (sorted) associative array of columns. Similar to a regular column family where a row is a sorted map of column names and column values, a row in a super column family is a sorted map of super column names that maps to column names and column values. A super column is part of a keyspace together with other super columns and column families, and columns.

A super column is a tuple (a pair) with a binary super column name and a value that maps it to many columns. They consist of a key–value pairs, where the values are columns. Theoretically speaking, super columns are (sorted) associative array of columns. Similar to a regular column family where a row is a sorted map of column names and column values, a row in a super column family is a sorted map of super column names that maps to column names and column values. A super column is part of a keyspace together with other super columns and column families, and columns. ==Code example== Written in the JSON-like syntax, a super column definition can be like this: { "databases": { "Cassandra": { "age": 20, "name": { "firstName": "Cassandra", "lastName": "apache" } }, "HBase": { "age": 20, "address": { "city": "Seoul", "postcode": "1234" } } } } Where: "databases" are keyspace; "Cassandra" and "HBase" are rowKeys; "name" and "address" are super column names; "firstName", "city", "age", etc. are column names. ==See also== Column (data store) Keyspace (distributed data store) Super column family ==References== ==External links== The Apache Cassandra data model

Text derived from https://en.wikipedia.org/w/index.php?oldid=1111173215 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001111173215 · captured 1663601905.0 · version history

Cite this page as: encyclopegia.org, “Super column”, snapshot enwiki-001111173215. https://encyclopegia.org/a/super-column