Hi Nithya, I have moved your post to the Nabble mailing list.

Nithya wrote:
> 
> Sir,
> 
>   I follow the web link http://miguel.leugim.com.mx/index.php/tag/pharo/.
>   I installed the Pharo smalltalk for Accessing Cassandra Database.
> 
>   PharoCore images and thrift0.4.0,cassandra0.6.6 are downloaded.
>   And load the cassandra.st,thrift.st in the Pharo image cassandraclient.
> 
> 
>   I added the following coding in the Pharo workspace to access
> Cassandra Database.
> 
>     "Insert 10000 values"
>   [| cp result client |
>   client := CassandraClient binaryOnHost: 'localhost' port: 9160.
> 
>   cp := ColumnPath new
>   columnFamily: 'Standard1';
>   column: 'col1'.
>   1 to: 10000 do: [ :i |
>   result := client insertKeyspace: 'Keyspace1'
>   key: 'row', i asString
>   columnPath: cp
> 
>   value: 'v', i asString
>   timestamp: 1
>   consistencyLevel: ((Cassandra enums at: 'ConsistencyLevel') at:
> 'QUORUM').]] timeToRun
> 
> 
>     When executing this program it showing  "client := CassandraClient
> binaryOnHost: 'localhost' port: 9160." is undefined.
> 
> 
> 
> Regards,
> 
> Nithya.S
> 
> 

-- 
View this message in context: 
http://forum.world.st/Help-me-tp3068677p3068687.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to