Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "ThriftExamples" page has been changed by JonathanEllis.
http://wiki.apache.org/cassandra/ThriftExamples?action=diff&rev1=75&rev2=76

--------------------------------------------------

  ## page was copied from ClientExamples
  <<TableOfContents()>>
  
+ This page shows examples of using the low-level
- = High level clients =
- These are often more convenient than raw Thrift, which has a certain 
lowest-common-denominator flavor to it, because that's what it does.  But, it's 
good to understand the Thrift [[API]] to have an idea of what's going on under 
the hood.  See the individual clients for their respective documentation.
  
+ [[http://incubator.apache.org/thrift/|Thrift]]interface. For other ways to 
talk to Cassandra, see
-  * Ruby:
-   * http://github.com/fauna/cassandra/tree/master
-   * http://github.com/NZKoz/cassandra_object/tree/master (for Rails)
-  * Perl:
-   * http://search.cpan.org/dist/Net-Cassandra/lib/Net/Cassandra.pm
-   * http://search.cpan.org/dist/Net-Cassandra-Easy/ (A simpler, much less 
Thrift-oriented interface than Net::Cassandra; includes a CLI called cassidy.pl 
with tab-completion)
-  * Python:
-   * http://github.com/digg/lazyboy/tree/master
-   * http://github.com/driftx/Telephus/tree/master (Twisted)
-   * http://github.com/vomjom/pycassa
-  * Scala:
-   * http://github.com/cliffmoon/scromium
-   * http://akkasource.org/ (Akka includes a Cassandra client but is more than 
that)
-  * Java :
-   * http://github.com/rantav/hector
-   * http://github.com/charliem/OCM (higher level client built on Hector)
-  * PHP :
-   * http://github.com/mjpearson/Pandra/tree/master
-   * http://github.com/hoan/phpcassa [port of pycassa to PHP]
-   * http://code.google.com/p/simpletools-php/wiki/SimpleCassie (ORM like 
wrapper)
-  * Clojure :
-   * http://github.com/robertluo/clj-cassandra
-  * Grails :
-   * http://github.com/wolpert/grails-cassandra
-  * C++ :
-   * http://github.com/posulliv/libcassandra
-  * C# / .NET
-   * http://github.com/mattvv/hectorsharp
  
+ ClientExamples.
- === Older clients ===
- These are not up to date with the latest Cassandra features.
- 
-  * Scala:
-   * http://github.com/viktorklang/Cassidy/tree/master
-   * http://github.com/nodeta/scalandra/tree/master
-  * Java:
-   * http://code.google.com/p/cassandra-java-client
- 
- == Internal API ==
- 
- The StorageProxy API is available to JVM-based clients, but you should use 
Thrift unless you have a very good reason not to.  (The most common reason is 
wanting to use the BinaryMemtable bulk-load interface.)
- 
- = Thrift examples =
- The rest of this page shows examples of using the low-level 
[[http://incubator.apache.org/thrift/|Thrift]] interface.
  
  To generate the bindings for a particular language, first find out if Thrift 
supports that language.  If it does, you can run "thrift --gen XYZ 
interface/cassandra.thrift" for whatever XYZ you fancy.
  
- These examples are for Cassandra trunk, which will become 0.4. See 
ClientExamples03 for examples fitting the 03 API.
+ These examples are for Cassandra 0.5 and 0.6.
  
  == PHP ==
  Before working with Cassandra and PHP make sure that your 
[[http://us.php.net/manual/en/function.phpinfo.php|PHP installation]] has 
[[http://us.php.net/apc/|APC]] enabled. If it does not please re-compile 
[[http://us.php.net/manual/en/install.php|PHP]] and then recompile 
[[http://incubator.apache.org/thrift/|Thrift]]. [[http://us.php.net/apc/|APC]] 
drastically increases the performance of 
[[http://incubator.apache.org/thrift/|Thrift Interface]].
@@ -385, +343 @@

  == Perl ==
  This is almost a direct port from the PHP version above at 
[[http://wiki.apache.org/cassandra/ClientExamples#PHP|PHP Example]]
  
- {{{
- 
- #!/usr/bin/perl -w
+ {{{#!/usr/bin/perl -w
  
  use strict;
  use warnings;
@@ -498, +454 @@

  }
  
  1;
- 
  }}}
- 
  == C# ==
  {{{
  namespace CassandraDemo

Reply via email to