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

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
主站蜘蛛池模板: 上饶市| 鹰潭市| 德阳市| 开封市| 永福县| 蒙阴县| 汨罗市| 大余县| 辽宁省| 克拉玛依市| 高邑县| 元谋县| 平邑县| 云林县| 会理县| 同江市| 夏河县| 萨迦县| 威海市| 文水县| 伊宁市| 金门县| 丹寨县| 新民市| 澎湖县| 清原| 敖汉旗| 江源县| 马尔康县| 五寨县| 舒城县| 紫金县| 察雅县| 明星| 昌乐县| 怀集县| 大渡口区| 盈江县| 梓潼县| 北票市| 芜湖县|