Skip to content

Java driver direct cql3

opuneet edited this page Jan 9, 2014 · 4 revisions

Astyanax allows users to use CQL3 directly. Here's an example. Consider the following simple schema.

Basic Setup

ColumnFamily<Integer, String> CF_EMPLOYEES = 
	new ColumnFamily<Integer, String>("EmployeeInfo", 
 			                  IntegerSerializer.get(), 
					  StringSerializer.get());
Clone this wiki locally