Source code for Cassandra: The Definitive Guide, 2nd Ed
This repository provides source code samples and notes for the O'Reilly book Cassandra: The Definitive Guide, 2nd Edition.
Examples are available for the following chapters:
Schema (CQL), cassandra-stress, and a sample .csv file for bulk import are available under resources.
These examples are not intended to represent a complete application, but are more of the bare minimum code required to access various Cassandra features . As such, the examples are useful for cut and paste into your applications according to the Apache license below. See the Reservation Service repository for a more well rounded example.
Comments, improvements and feedback are welcome.
Copyright 2016 Jeff Carpenter
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.