Skip to content

datastax-training/java-driver-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some Cassandra Java Examples

All of this were originally written by @beccam and merely remixed by me for a live-coding exercise at UberConf 2015.

To make these work, you'll have to have an instance of DataStax Enterprise running somewhere, and edit the clusterAddress at the top of the Cassandra class to point to a node in that cluster. The instance will need this table in the killr_video keyspace:

CREATE TABLE users (
    user_id uuid,
    first_name text,
    last_name text,
    email text,
    created_date timestamp,
    PRIMARY KEY (user_id)
);

Run gradlew dataStax to execute the main() method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages