Filter by

  • Products
  • Language
Clear All

Java Driver Code Samples

StandAlone classes illustrating portion of DataStax Java Driver in version 3.x then 4.x

By: Cédrick Lunven, Eric Ramirez

Last updated: May 1, 2020

Data Center Latency Checker

This a simple program that can be run to check the difference in latencies between 2 data centers and calculates an ongoing average.

By: Patrick Callaghan

Last updated: Apr 27, 2020

Geospatial Demo

This is short demo which shows how to find all the UK postcode within a certain area. This area can be a postcode or a longitude/latitude combination.

By: Patrick Callaghan

Last updated: Apr 26, 2020

Banking-IoT Demo

Banking IoT example of processing millions of transactions.

By: Patrick Callaghan

Last updated: Apr 24, 2020

Vehicle Tracking Application

This demo traces moving vehicles as they pass through geohash tiles. It also keeps track of a vehicle movements on a day to day basis. 

By: Patrick Callaghan

Last updated: Apr 24, 2020

IoT Cassandra Demo Application

A small demo to show how to insert meter readings for a smart reader, using Cassandra and the DataStax Java Driver.

By: Patrick Callaghan

Last updated: Apr 21, 2020

DataStax C/C++ Driver for Apache Cassandra® Quickstart

A basic demo CRUD application using the DataStax C/C++ driver 

By: Rebecca Mills

Last updated: Nov 20, 2019

Switch connection between on-prem and cloud in Java

Configure application at runtime to connect to an on-prem or cloud database using the Java DataStax Driver

By: Dave Bechberger

Last updated: Nov 14, 2019

Object Mapper in C#

Basic example of the C# DataStax Driver Object Mapper with Cassandra

By: Dave Bechberger

Last updated: Nov 13, 2019

LINQ with Cassandra

Basic example of using LINQ with Cassandra and the C# DataStax Driver

By: Dave Bechberger

Last updated: Nov 13, 2019

Loading Data into Astra

Load data from CSV or Cassandra into Apollo with the DataStax Bulk Loader

By: Brian Hess, Dave Bechberger

Last updated: Nov 8, 2019

Prepared Statements in Node.js

Query Cassandra using prepared statements and the Node.js DataStax Driver

By: Dave Bechberger

Last updated: Nov 8, 2019

All software, code, applications, libraries, documentation, files, and intellectual property provided by DataStax and its licensors on this page (the “Software”) are provided on an "as-is" basis without any warranties. DataStax does not provide support or services of any kind for the Software.  For the avoidance of doubt such Software is not subject to any DataStax Support Terms or any other support and maintenance obligation.  TO THE FULLEST EXTENT PERMITTED BY LAW DATASTAX, INC. DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, QUALITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT, AND ANY WARRANTIES ARISING OUT OF COURSE OF DEALING OR USAGE OF TRADE. NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED FROM DATASTAX, INC. OR ELSEWHERE WILL CREATE ANY WARRANTY, TERM OR CONDITION UNLESS EXPRESSLY STATED IN THE APPLICABLE DATASTAX LICENSE AGREEMENT.