RJ / erlang-cassandra-cql

cassandra driver in erlang that speaks native cassandra protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cassandra CQL Client

  • Woefully incomplete and untested
  • Speaks the Cassandra native binary protocol for CQL queries
  • Does not use Thrift
  • You'll need to set start_native_transport: true in cassandra.yaml

Quickstart

rebar compile
erl -pa ebin -boot start_sasl

{ok, Pid} = ecql_connection:start_link().
ecql_connection:q(Pid, <<"USE my_keyspace">>).
ecql_connection:q(Pid, <<"SELECT * from my_table LIMIT 3">>, one).

About

cassandra driver in erlang that speaks native cassandra protocol

License:BSD 2-Clause "Simplified" License


Languages

Language:Erlang 100.0%