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

Chapter 2. 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 and created a keyspace, so we're prepared to hit the ground running. This chapter will provide a whirlwind tour of many core Cassandra concepts such as:

  • 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
主站蜘蛛池模板: 什邡市| 定边县| 杭锦旗| 安塞县| 交城县| 富锦市| 利川市| 宣化县| 安丘市| 丰城市| 东阿县| 仙居县| 壶关县| 沙湾县| 衡阳市| 铜梁县| 大田县| 泰来县| 阿瓦提县| 白朗县| 安仁县| 那曲县| 夏邑县| 乌兰察布市| 稷山县| 淮南市| 天水市| 尼木县| 富裕县| 乳山市| 白水县| 林甸县| 饶平县| 保亭| 辉县市| 牟定县| 朔州市| 进贤县| 革吉县| 海原县| 临汾市|