javascript - Thrift JS 与 Cassandra 的兼容性(JSON 协议(protocol))

标签 javascript cassandra thrift thrift-protocol

我已经从 SVN 中最新的 Thrift 构建生成了针对 JavaScript 的 Cassandra Thrift 库。

但是,我注意到在提供的 js thrift 客户端库中有以下语句:

This client can only speak the JSON Protocol and the only supported transport is AJAX.

有谁知道 JSON 协议(protocol)是否与 Cassandra 兼容?

传输不是问题,因为我计划将其移植到使用 node.js 套接字,但我需要知道 JSON 协议(protocol)是否允许我连接到 Cassandra。

Thrift 和 Cassandra 文档在这方面都非常轻松。

最佳答案

CassandraDaemon 采用 BinaryProtocol。

关于javascript - Thrift JS 与 Cassandra 的兼容性(JSON 协议(protocol)),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2955651/

相关文章:

erlang - 从 erlang 插入 cassandra

javascript - 正则表达式 负向前瞻 javascript

c# - 如何将 C# 变量的值传递给 javascript?

javascript - 返回使用 .apply() 调用的函数时从回调中更新 'this'

java - Cassandra 中的特殊字符搜索

java - 使用 thrift 在 Cassandra 中插入 SuperColumn

javascript - 仅在 blogger/blogspot 的标签搜索页面上显示小部件

Cassandra 数据 stax 查询生成器更新

java - Cassandra 对具有不同分区键的表的批量查询性能

java - 在 play 框架中生成的源代码(尤其是 thrift)