Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python cassandra

from cassandra.cluster import Cluster

cluster = Cluster() # To connect to localhost
cluster = Cluster(['192.168.0.1', '192.168.0.2']) # To connect to any one of these possible IPs.
 
PREVIOUS NEXT
Tagged: #python #cassandra
ADD COMMENT
Topic
Name
8+3 =