No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
README.md
package.json

README.md

cql-protocol

Build Status

cql-protocol is a library which implements Apache Cassandra's native CQL protocol spec v1 and v2 (almost) completely in pure javascript.

Building block for Apache Cassandra drivers

This library is intended to be used by driver authors (including myself), not by users. You can use this library to build your own Apache Cassandra client or even pseudo-server for testing.

Getting started

Native protocol is implemented as duplex stream using node.js's new Stream API. You just attach your connection to an instance of NativeProtocol class to send and receive messages.

Built with

these awesome libraries:

  • node-uuid
  • ipaddr.js
  • jsbn

and

  • node-tap (for testing)

What's not included (yet)

  • Message compression
  • Serializing RESULT message

Lisence

MIT