Cassandra Database – Inserting and updating data into a List and Map

 

369e049327e94185bd113457cb474a77

Using Cassandra Database, if a table specifies a list to hold data, then either INSERT or UPDATE is used to enter data.

Here is how to modify data into value type list .

Working with Cassandra List

In the other hand, if the table specifies a map to hold data, this link could help .

Working with Cassandra Maps

Thanks!

Advertisements

Spark Introduction

Interesting introduction of Spark  (http://spark.apache.org/)

Apache Spark provides programmers with an application programming interface centered on a data structure called the resilient distributed dataset (RDD), a read-only multiset of data items distributed over a cluster of machines, that is maintained in a fault-tolerant way. It was developed in response to limitations in the MapReduce cluster computing paradigm, which forces a particular linear dataflow structure on distributed programs: MapReduce programs read input data from disk, map a function across the data, reduce the results of the map, and store reduction results on disk. Spark’s RDDs function as a working set for distributed programs that offers a (deliberately) restricted form of distributed shared memory.