Questions tagged [phpcassa]

phpcassa is a PHP client library (port of pycassa) for Apache Cassandra

phpcassa is a PHP client library for Apache Cassandra.

  • Compatible with Cassandra 0.7, 0.8, 1.0, and 1.1
  • Optional C extension for improved performance

phpcassa is compatible with PHP 5.3+

phpcassa is open source under the MIT license.

95 questions
0
votes
1 answer

multiget in sorted order using phpcassa

I have a keyspace in cassandra with columnfamily(let A) which is having composite key another column family(let B) i am storing an exact number of rows which exist in the A column family. when i am fetching the data using multiget it's not giving…
Priya
  • 1,522
  • 1
  • 14
  • 31
0
votes
1 answer

How can i make queries for this Cassandra data model design

I got a doubt while designing data model in cassandra. i.e. I have created this CF Page-Followers{ "page-id" : { "user-id" : "time" } } I want to make 2 queries on the above CF. 1) To get all user-ids (as an array using multiget function of…
j.r.teja
  • 1
  • 1
0
votes
1 answer

Get value from Cassandra with PHPCASSA

I recently switched to PHPCassa to manage db connection in my PHP platform. This is the code i'm using: $indexExpression = new IndexExpression("Username", $username); $indexClause = new IndexClause(array($indexExpression)); $cf = new…
siannone
  • 6,617
  • 15
  • 59
  • 89
0
votes
2 answers

How to arrange data in Cassandra to get data in last in first out format

As we cannot sort data in Cassandra, I wanted to store data in such format that when I retrieve the data, I need to get data in ' last in first out format ' i.e if user enter comments when I retrieve data, I should first get very latest comment…
sohaan
  • 637
  • 1
  • 10
  • 18
-1
votes
3 answers

Problem in bulk load from a file into Cassandra using phpcassa

I am trying to load 1000000 records from a text file into Cassandra using phpcassa. But halfway through the loading process I got the following error. PHP Fatal error: Maximum execution time of 30 seconds exceeded in…
Amrita
  • 21
  • 1
  • 1
  • 4
1 2 3 4 5 6
7