Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "ThriftInterface" page has been changed by PeterSchuller. http://wiki.apache.org/cassandra/ThriftInterface?action=diff&rev1=16&rev2=17 -------------------------------------------------- - The most common way to access Cassandra is via the [[http://incubator.apache.org/thrift/|Thrift]] interface. + The lowest-level official API for accessing Cassandra is that of the [[http://incubator.apache.org/thrift/|Thrift]] interface. This is primarily intended for client library developers; application developers are strongly advised to use a higher-level client as described in ClientOptions. - In short Thrift allows you easily setup service clients and servers in various programming languages. It generates code from a Thrift file describing the service. See Cassandra's Thrift file [[https://svn.apache.org/repos/asf/cassandra/trunk/interface/cassandra.thrift|here]]. + Should you wish to use the Thrift API, see [[API]] for what data structures and method calls are available. + + The purpose of using Thrift in Cassandra is allow portable (across programming languages) access to the database. Thrift accomplishes this by generated source code for the programming language in question based on a Thrift IDL file describing the service (see [[https://svn.apache.org/repos/asf/cassandra/trunk/interface/cassandra.thrift|here]]). Let's see how we can use a generated python client to access Cassandra. @@ -26, +28 @@ ColumnOrSuperColumn(column=Column(timestamp=1, name='fruit', value='apple'), super_column=None) }}} - See [[API]] for details on using the interface. -
