Quantcast
Channel: BigData Planet
Viewing all articles
Browse latest Browse all 17

Inserting and querying a single row with single column in Cassandra using Hector API

$
0
0
The Below example inserts a Column with the column name "Name" and the column value of "Deepak" under the key "RK1". The retrieving and instance of the Mutator class from HFactory makes this action straight-forward . Retrieving a column from Cassandra is also straight forward operation. Using the ColumnQuery object to retrieve the information we inserted in the example. querying  1 2

Viewing all articles
Browse latest Browse all 17

Trending Articles