a example for thrift in cassandra