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

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
主站蜘蛛池模板: 全州县| 洱源县| 噶尔县| 拜城县| 长阳| 泰来县| 两当县| 平远县| 睢宁县| 乌恰县| 高唐县| 吉隆县| 三门县| 安塞县| 宁波市| 碌曲县| 太仓市| 浦北县| 宁武县| 荆州市| 大荔县| 佛教| 田阳县| 额济纳旗| 阿克苏市| 扬州市| 方城县| 镇宁| 辽阳县| 涿鹿县| 保德县| 昔阳县| 家居| 武定县| 松潘县| 郧西县| 黄山市| 汽车| 柞水县| 东兴市| 宁晋县|