php-cassandra-binary
php-cassandra-binary copied to clipboard
PHP library for Cassandra database via a binary protocol.
Created a column family in cassandra cqlsh: ``` create table test(id uuid primary key, data map ); ``` Insert works fine from php as an array bind parameter Trying to...
Hi Guys, Using Cassandra 2.1.2 and trying to get UDTs to work in the library, and since everyone is busy figured I would give it a shot. However, having trouble....
The following query: ``` $cassandraDatabase->query('UPDATE users SET field_to_delete = :empty_value;', array('empty_value' => NULL)); ``` causes the following error: ``` BigInt value 0 not an int in /home/pako_www/live/vendor/evseevnn/php-cassandra-binary/src/Protocol/BinaryData.php on line 145...
PHP Fatal error: Uncaught exception 'Exception' with message 'Reading while at end of stream' in my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response/DataStream.php:40 Stack trace: #0 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response/DataStream.php(154): evseevnn\Cassandra\Protocol\Response\DataStream->read(29801) #1 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response.php(131): evseevnn\Cassandra\Protocol\Response\DataStream->readString() #2 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response.php(164): evseevnn\Cassandra\Protocol\Response->evseevnn\Cassandra\Protocol{closure}(Object(evseevnn\Cassandra\Protocol\Response\DataStream)) #3 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response.php(50): evseevnn\Cassandra\Protocol\Response->getErrorData()...
Hi, I've just created an UDT to use into my application but it seems there is something wrong when retrieving the data. The UDT has a very simple structure: CREATE...
Hi, If I've a collection value how can I insert the data? Do I need to convert to json or just pass an array? Nothing works.. CREATE TABLE test( sample...
hi, I'm trying this lib with cassandra 2.1.1 Maybe there is a cql protocol change, because I can't get a simple query that returns multiple rows to return the correct...
Is there a way to insert new record in the prepared statment with now() function? Thanks!
Hi, What is the equivalent of Java multi-threading or executeAsync() when using php-cassandra-binary or developing for Cassandra in PHP in general? How do I achieve non-blocking, concurrent read/writes to boost...