In Cassandra BATCH is used to execute multiple modification statements (insert, update, delete) simultaneously. It is very useful when you have to update some column as well as delete some of the existing.
Let's take an example to demonstrate BATCH command. Here, we have a table named "student" with columns (student_id, student_fees student_name,), having the following data.
In this example, we will perform the BATCH (Insert, Update and Delete) operations:
Now the BATCH is applied. You can verify it by using SELECT command.
Here, you can see that the table is completely modified by the above commands.