CQL

来源:互联网 发布:安卓版数据精灵授权码 编辑:程序博客网 时间:2024/06/06 07:14

       CQL是Cannandra查询语言,是Cassandra数据库管理系统默认和主要的接口。CQL的用法和SQL相同。CQL和SQL有着关于表相同的抽象概念,即表由列和行构成。CQL和SQL主要的差别在于:CQL不运行join操作或者子查询。作为替代,Cassandra强调反范式,这些牲通过CQL的collections 和 clustering来实现。

       CQL是一种推荐的与Cassandra的交换方式。这是一种优于传统基于Cassandra API对数据操作的方式。


Cassandra Query Language (CQL) is the default and primary interface into the Cassandra DBMS. Using CQL is similar to using SQL (Structured Query Language). CQL and SQL share the same abstract idea of a table constructed of columns and rows. The main difference from SQL is that Cassandra does not support joins or subqueries. Instead, Cassandra emphasizes denormalization through CQL features like collections and clustering specified at the schema level.

CQL is the recommended way to interact with Cassandra. Performance and the simplicity of reading and using CQL is an advantage of modern Cassandra over older Cassandra APIs.


原创粉丝点击