官术网_书友最值得收藏!

The First Table

For the next few chapters, we'll be building the persistence layer for an application called MyStatus, which allows its users to post status updates for their friends to see. In this chapter, we'll make the first table of that persistence layer, which will store user profiles.

In Chapter 1, Getting Up and Running with Cassandra, you set up a local Cassandra installation, started the cqlsh, and ran some CQL commands. Now we're prepared to hit the ground running. This chapter will provide a whirlwind tour of many core Cassandra concepts such as the following:

  • How to configure keyspaces
  • How Cassandra tables are structured
  • Cassandra's type system
  • How to create a table
  • How to insert rows into a table
  • How to retrieve rows by primary key
  • How to query for all rows in a table
  • How to page through large result sets
主站蜘蛛池模板: 蓝山县| 平南县| 平塘县| 新绛县| 旬阳县| 稷山县| 临沂市| 辰溪县| 隆昌县| 石首市| 台山市| 钦州市| 芒康县| 荃湾区| 宣城市| 金寨县| 赣州市| 巢湖市| 怀宁县| 石城县| 鄄城县| 辽阳市| 哈尔滨市| 额尔古纳市| 五大连池市| 普兰店市| 泰来县| 中牟县| 团风县| 获嘉县| 原平市| 柳州市| 兰溪市| 石阡县| 镇原县| 富裕县| 安新县| 老河口市| 武强县| 晋中市| 灌南县|