The Below Example Show how to Creates a Keyspace, a Column Family, Columns and Super Columns using Hector Api. Lets say we have:
Keyspace Name: TestKeyspace
Column Family Name: TestColumnFamily
Column Name: TestColumn
SuperColumn: TestSuperColumn
The Code also demonstrates, creating an index named TestColumn_idx on TestColumn.
↧