Example of how to connect with Cassandra DB using Thrift api.