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

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
主站蜘蛛池模板: 扎赉特旗| 新龙县| 溆浦县| 河北省| 阿合奇县| 信宜市| 东安县| 巨鹿县| 岫岩| 成都市| 安岳县| 巴林右旗| 盈江县| 静安区| 延川县| 六安市| 肥乡县| 隆昌县| 铜山县| 平凉市| 蓬莱市| 察隅县| 晋宁县| 舒兰市| 莱芜市| 安康市| 吴桥县| 调兵山市| 彭阳县| 伊金霍洛旗| 若尔盖县| 察隅县| 长寿区| 白朗县| 昂仁县| 南溪县| 营山县| 日喀则市| 红河县| 茂名市| 象山县|