Skip to content
/ rust-cql Public
forked from yjh0502/rust-cql

Cassandra Query Language binary protocol implementation with rust

License

Notifications You must be signed in to change notification settings

neich/rust-cql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-cql

This project is based on yjh0502/rust-cql

Cassandra Query Language version 3 (cql3) binary protocol implementation with rust-lang. It should work for versions v1, v2 and v3 of the protocol. It compiles with rustc 1.5.

It uses Cargo as the build system and it includes a VERY simple integration test.

This is a low level driver that does not implement fancy features like node auto discovery or load balancing.

Please, take into account that the (very small) example included has only been tested on Cassandra 2.1 running on Ubuntu 14.04 x64. It has not been tested on Windows or OS/X, or other versions or Cassandra.

Native protocol is disabled in some versions of Cassandra 1.2. Please enable the native protocol before start.

What works:

  • Execute queries
  • Create prepared queries
  • Execute prepared queries
  • Execute batch queries

What doesn't work:

  • Decimal and Varint types
  • Authentication
  • SSL
  • Pagination
  • ...

Disclaimer: this software is in alpha state, so expect bugs and rust anti-patterns (this is my first code in rust).

About

Cassandra Query Language binary protocol implementation with rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.4%
  • Makefile 0.6%