You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2009/08/24 21:46:33 UTC

[Cassandra Wiki] Update of "CaseStudy1" by CurtMicol

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The following page has been changed by CurtMicol:
http://wiki.apache.org/cassandra/CaseStudy1

The comment on the change is:
Initial page creation

New page:
= Case Study 1: Delicious clone =

Our first case study is an example of how one would structure the schema for a Delicious clone.  We'll also provide some examples of 'insert'ing and 'get'ing data.

Here's our schema:
<Keyspace Name="DeliciousClone">
  <KeysCachedFraction>0.01</KeysCachedFraction>
  <ColumnFamily CompareWith="UTF8Type" Name="Users"/>
  <ColumnFamily CompareWith="UTF8Type" Name="Bookmarks"/>
  <ColumnFamily CompareWith="UTF8Type" Name="Tags"/>
  <ColumnFamily CompareWith="UTF8Type" Name="UserTags"/>
  <ColumnFamily CompareWith="UTF8Type" CompareSubcolumnsWith="TimeUUIDType" ColumnType="Super" Name="UserBookmarks"/>
</Keyspace>

== More to come ==