create Composite-keyed Table with cassandra-cli


i want to use php for my project with phpcassa which doesn't support cql, so if I understood right I have to code cassandra commands like I would with cassandra-cli.


My question is how can I create a Composite-keyed Table or Dynamic Column Families like in this <a href="http://rollerweblogger.org/roller/entry/composite_keys_in_cassandra" rel="nofollow">website</a>, though not with cql but with cassandra-cli and where can I find more information about this language.



create column family myColumnFamily with key_validation_class = 'CompositeType(UUIDType,UTF8Type)' and comparator = 'CompositeType(LongType,UTF8Type)' and default_validation_class = UTF8Type

The above command creates

<ol><li>A column family named <em>myColumnFamily</em></li> <li>With composite row key of type <strong>UUID:String</strong></li> <li>With composite column name of type <strong>Long:String</strong></li> <li>With value of type <strong>String</strong></li> </ol>


  • Maximize Database View With Multiple Or Statement
  • Re-implementing lists with closures in scheme
  • apply fitted model to data and obtain loglikelihood
  • Filling a 3D array with 2D arrays in VBA
  • How to import fonts with pure JS? [duplicate]
  • How does adding a random number to the end of an AJAX server request prevent caching?
  • how to insert data into multiple tables through ItemWriter
  • unexpected result iterating over a boost::python vector_indexing_suite
  • f:param to composite components
  • Hector: how to query parts of a Composite Type
  • NUnit 3.0 TestCase const custom object arguments
  • What does 'Language neutral' mean with regard to MAKELANGID?
  • Groovy: Unexpected token “:”
  • Android activity accessing service's static reference before the service is ready
  • Replace value with Factor in r data.table
  • Switching to Release Build causes runtime error in Web Reference
  • Get data from AJAX - How to
  • How to access EntityManager inside Entity class in EJB3
  • Repeat a vertical line on every page in Report Builder / SSRS
  • Adding a button at the bottom of a table view
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • Adding custom controls to a full screen movie
  • Web-crawler for facebook in python
  • Delete MySQLi record without showing the id in the URL
  • Unanticipated behavior
  • Comma separated Values
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • Error creating VM instance in Google Compute Engine
  • Hits per day in Google Big Query
  • Trying to get generic when generic is not available
  • how does django model after text[] in postgresql [duplicate]
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?
  • Android Heatmap on canvas or ImageView
  • Conditional In-Line CSS for IE and Others?