Topics Search

Getting Started With Cassandra: Using CQL API and CQLSH

Getting Started With Cassandra: Using CQL API and CQLSH
Views: 5
In this first part, I will cover how the Cassandra data model is laid out in brief and perform basic operations using CQLSH. For this tutorial series, I am assuming that readers would be able to install Cassandra by themselves on their respective machines depending on the operating system.
Sponsored Links:

Similar posts...

 

Set up a SpringData project using Apache Cassandra

Set up a SpringData project using Apache Cassandra Icon
On this post we will use Gradle and spring boot in order to create a project that integrates spring-mvc and the Apache Cassandra database. First we will begin with our Gradle configuration... Then we will create the keyspace and the table on our Cassandra database... We can run a file containing cql statements by using cqlsh...
 

Using the CassandraTemplate from Spring Data

Using the CassandraTemplate from Spring Data Icon
This is the second article of the Spring Data Cassandra article series. In this article we will mainly focus on CassandraTemplate and CQL queries in the data access layer. You can read more about Spring Data Cassandra in the first article in the series. Cassandra Query Language (CQL) is the query language for the Cassandra database and CqlTemplate is the low-level data access template in Spring Data Cassandra – it conveniently exposes data manipulation related operations to execute CQL statements.
 

Cassandra with Spark 2.0 : Building Rest API !

Cassandra with Spark 2.0 : Building Rest API ! Icon
In this tutorial , we will be demonstrating how to make a REST service in Spark using Akka-http as a side-kick ;) and Cassandra as the data store. We have seen the power of Spark earlier and when it is combined with Cassandra in a right way it becomes even more powerful.
 

First steps to Spring Boot Cassandra

First steps to Spring Boot Cassandra Icon
If you want to start using Cassandra NoSQL database with Spring Boot, the best resource is likely the Cassandra samples available here and the Spring data Cassandra documentation. Here I will take a little more roundabout way, by actually installing Cassandra locally and running a basic test against it and I aim to develop this sample into a more comprehensive example with the next blog post.
 

Sorted pagination in cassandra

Sorted pagination in cassandra Icon
Cassandra is a fantastic database for different use cases. There are different situations when you need to twist Cassandra a little and studying one of those could be a helpful exercise to better understand what is Cassandra about. Databases are complex beasts, approaching them with the right level of abstraction is vital. Their final goal is not storing data per se, but make that data accessible. Those read patterns will define which database is the best tool for the job.
 

Introduction to Spring Data Cassandra

Introduction to Spring Data Cassandra Icon
This article is a practical introduction to working with Cassandra with Spring Data. We’ll start the from the basics and go through the configurations and coding, finally building up a complete Spring Data Cassandra module.
 

Spring Cloud Sidecar

Spring Cloud Sidecar Icon
Essentially a service which persists information to a Cassandra cluster. All the applications are registered to Eureka - so in this instance the service as well as the Cassandra nodes are registered with Eureka, further the service connects to the Cassandra cluster by looking up the nodes via Eureka.
 

A Guide to Cassandra

A Guide to Cassandra Icon
This tutorial is an introductory guide to the Apache Cassandra database using Java. You will find key concepts explained, along with a working example that covers the basic steps to connect to and start working with this NoSQL database from Java.
 

iText PDF Java API Introduction

iText PDF Java API Introduction Icon
I am starting with a tutorial series for iText PDF API and how to use it with Java applications. iText PDF API is one of the popular most API for working with PDF documents in Java. In this article, I will help you to get started with iText with a simple Java program and in the coming tutorials you can learn about generating complex PDF documents.
 

Docker Java Application with Solr, Mongo and More

Docker Java Application with Solr, Mongo and More Icon
A Step by Step Guide for Dockerizing and Managing a Java application consisting of: Apache HTTP Server (httpd) and Nginx JBoss, Tomcat and Jetty Solr Mongo, Cassandra, MySQL, and Oracle... This is an extension of this project (https://github.com/dchqinc/dchq-docker-java-example). The application now supports Solr for full-text search and both Mongo & Cassandra as the supported databases.