Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "ClientExamples" page has been changed by KeithThornhill. The comment on this change is: weird linebreaks breaking python syntax. http://wiki.apache.org/cassandra/ClientExamples?action=diff&rev1=51&rev2=52 -------------------------------------------------- Created by Chris Goffinet on 2009-08-26. """ from thrift import Thrift + from thrift.transport import TTransport + from thrift.transport import TSocket + from thrift.protocol.TBinaryProtocol import TBinaryProtocolAccelerated + from cassandra import Cassandra + from cassandra.ttypes import * - from thrift.transport - import TTransport - from thrift.transport - import TSocket from thrift.protocol.TBinaryProtocol - import TBinaryProtocolAccelerated from cassandra - import Cassandra from cassandra.ttypes - import * import time, pprint + import time, pprint def main(): socket = TSocket.TSocket("localhost", 9160)
