Quantcast
Viewing latest article 4
Browse Latest Browse All 17

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

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 latest article 4
Browse Latest Browse All 17

Trending Articles