Skip to main content

Posts

Showing posts from July, 2010

How to create table/Column

To create Column need to add some code in storage-conf.xml.The next thing we need to do is to locate and configure the database storage-conf.xml file.which is found in conf folder.Open the storage-conf.xml in your favorite text editor.now Add the following code under tag. <Keyspace Name="Blog">         <ColumnFamily Name="Post"                       ColumnType="Super"                       CompareWith="UTF8Type"                       CompareSubcolumnsWith="UTF8Type"                       Comment="A column family with supercolumns, whose column and subcolumn names are UTF8 strings"         ...