Column family

Column family

A column family is a NoSQL object that contains columns of related data. It is a tuple (pair) that consists of a key-value pair, where the key is mapped to a value that is a set of columns. In analogy with relational databases, a column family is as a "table", each key-value pair being a "row".[1] Each column is a tuple (triplet) consisting of a column name, a value, and a timestamp.[2] In a relational database table, this data would be grouped together within a table with other non-related data.[3]

Two types of column families exist:[4]

See also

  • Keyspace (NoSQL)

References

  1. ^ "Column Families 101". Max's Output. http://wiki.toadforcloud.com/index.php/Column_Families_101. Retrieved 2011-03-18. 
  2. ^ Max's Output. "A Quick Introduction to the Cassandra Data Model: 1) Cassandra is based on a key-value model". Max Grinev. http://maxgrinev.com/2010/07/09/a-quick-introduction-to-the-cassandra-data-model/. Retrieved 2011-03-18. "A column family is a set of key-value pairs. I know the terminology is confusing but so far it is just basic key-value model. Drawing an analogy with relational databases, you can think about column family as table and a key-value pair as a record in a table." 
  3. ^ "Column Families 101". Toad for Cloud. http://wiki.toadforcloud.com/index.php/Column_Families_101. Retrieved 2011-03-18. 
  4. ^ "A ColumnFamily Can Be Super Too". Arin Sarkissian. http://arin.me/blog/wtf-is-a-supercolumn-cassandra-data-model. Retrieved 2011-03-18. "Now, a ColumnFamily can be of type Standard or Super. What we just went over was an example of the Standard type. What makes it Standard is the fact that all the Rows contains a map of normal (aka not-Super) Columns… there’s no SuperColumns scattered about. When a ColumnFamily is of type Super we have the opposite: each Row contains a map of SuperColumns. The map is keyed with the name of each SuperColumn and the value is the SuperColumn itself. And, just to be clear, since this ColumnFamily is of type Super, there are no Standard ColumnFamily‘s in there." 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Standard column family — A standard column family consists of a (unique) row key and a number of columns. The standard column family is a NoSQL object that contains columns of related data. It is a tuple (pair) that consists of a key value pair, where the key is mapped… …   Wikipedia

  • Column — Col umn, n. [L. columna, fr. columen, culmen, fr. cellere (used only in comp.), akin to E. excel, and prob. to holm. See {Holm}, and cf. {Colonel}.] 1. (Arch.) A kind of pillar; a cylindrical or polygonal support for a roof, ceiling, statue, etc …   The Collaborative International Dictionary of English

  • Column rule — Column Col umn, n. [L. columna, fr. columen, culmen, fr. cellere (used only in comp.), akin to E. excel, and prob. to holm. See {Holm}, and cf. {Colonel}.] 1. (Arch.) A kind of pillar; a cylindrical or polygonal support for a roof, ceiling,… …   The Collaborative International Dictionary of English

  • Family of d'Ailleboust —     Family of d Ailleboust     † Catholic Encyclopedia ► Family of d Ailleboust     (1) Louis d Ailleboust     Sieur de Coulanges, third Governor of Canada, date of birth unknown; died in Montreal 31 May, 1660. He came to Canada in 1643. He was… …   Catholic encyclopedia

  • FAMILY, AMERICAN JEWISH — Introduction Any discussion of American Jewish family life as an institution must view it within the context of contemporary American social, economic, and political life. All contemporary American Jews are Jews by choice in that their… …   Encyclopedia of Judaism

  • Column — For other uses, see Column (disambiguation). National Capitol Columns at the United States National Arboretum in Washington, D.C …   Wikipedia

  • Column (botany) — Flower of Stylidium turbinatum, showing the column. The column, or technically the gynostemium, is a reproductive structure that can be found in several plant families: Aristolochiaceae, Orchidaceae, and Stylidiaceae. It is derived from the… …   Wikipedia

  • Family Education Freedom Act — The Family Education Freedom Act is a bill initially introduced in the United States House of Representatives by Representative Ron Paul (R TX) in 1998. It would allow tax credits for education expenses.On February 15, 2007, Rep. Paul introduced… …   Wikipedia

  • Attached column — Column Col umn, n. [L. columna, fr. columen, culmen, fr. cellere (used only in comp.), akin to E. excel, and prob. to holm. See {Holm}, and cf. {Colonel}.] 1. (Arch.) A kind of pillar; a cylindrical or polygonal support for a roof, ceiling,… …   The Collaborative International Dictionary of English

  • Clustered column — Column Col umn, n. [L. columna, fr. columen, culmen, fr. cellere (used only in comp.), akin to E. excel, and prob. to holm. See {Holm}, and cf. {Colonel}.] 1. (Arch.) A kind of pillar; a cylindrical or polygonal support for a roof, ceiling,… …   The Collaborative International Dictionary of English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”