cassandra api wrapper for thrift protocol