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

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
主站蜘蛛池模板: 古交市| 绥宁县| 宣武区| 永康市| 黄龙县| 大埔县| 威海市| 高阳县| 大兴区| 衡阳县| 宁城县| 浏阳市| 磐安县| 崇州市| 彩票| 肥城市| 自治县| 会同县| 琼结县| 恭城| 化德县| 六盘水市| 梨树县| 昭平县| 盈江县| 共和县| 渝北区| 汝阳县| 茶陵县| 宁远县| 开封市| 平舆县| 霞浦县| 文水县| 门源| 碌曲县| 莱西市| 河间市| 射洪县| 绥化市| 布拖县|