File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- cassandra-buildsample
1+ Cassandra-Buildsample
22=====================
33
44Build sample written in ruby that uses ` cassandra ` database service
Original file line number Diff line number Diff line change 1-
21require 'cassandra'
32
43puts "creating new keyspace.."
1817puts "output data from the program.."
1918client . each_key ( "users" ) do |user |
2019 puts "key : " + user
21- end
22-
23-
24-
20+ end
Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ services:
55
66install :
77 - gem install cassandra
8-
9- before_script :
10- - cassandra-cli -host localhost -port 9160 -f removeKeyspace.txt
118
129script :
1310 - cassandra-cli -host localhost -port 9160 -f schema.txt
1411 - ruby sample.rb
12+ - cassandra-cli -host localhost -port 9160 -f removeKeyspace.txt
13+
You can’t perform that action at this time.
0 commit comments