uwenku
標簽列表
cequel
0
熱度
1
回答
使用地圖或列表類型
我想在Cassandra和Cequel的Rails 5中定義一個Box類。 有沒有辦法用地圖類型來定義一個列。 像這樣 create table Box (id int PRIMARY KEY, coordinates Map<text, int>) ,有沒有辦法在軌與Cequel做到這一點? 非常類似 class Box include Cequel::Record co
ruby-on-rails
cassandra
cequel
2016-11-08
1
熱度
1
回答
如何用cequel創建Cassandra表(不使用導軌)
我使用Cequel作爲沒有導軌的Cassandra的ORM。 我嘗試創建一個簡單的項目列表時遇到問題。 首先我定義了三個應該屬於複合鍵的列。 class Project include Cequel::Record key :client, :text, { partition: true } key :type, :text, { partition: true
ruby
cassandra
cequel
2015-05-20
1
熱度
1
回答
Ruby - 與Cequel的櫃檯表
我已經開始在項目中使用Cequel,我無法弄清楚如何使用Counters表。我有以下定義: class Counter include Cequel::Record key :user_id, :text column :text, :counter column :int, :counter column :boolean, :counter
ruby-on-rails
cequel
2017-07-31
2
熱度
1
回答
定義表複合主鍵卡桑德拉
考慮以下僞CQL表結構: CREATE TABLE searches ( category text, timestamp timestamp, no_of_searches int, avg_searches double, PRIMARY KEY((category, timestamp), no_of_searches) ); 及以下的R
ruby-on-rails
cassandra
cequel
2014-09-22
最新問題
1.
FIFO與/ dev/urandom
2.
將劇情保存爲EMF文件
3.
如何從SNMP MIB獲取ifOperStatus?
4.
在同一個表列中選擇重複的記錄並將它們列出
5.
如何傳遞一個變量在web API
6.
LendingClub.com API內部服務器在二級市場上購買票據的錯誤
7.
TCP/IP數據包中的端口號
8.
模擬Angular 2中的長響應
9.
如何在QSplitter中設置QTreeView的初始大小?
10.
打印響應部分完成Python的異步事件循環,同時還完成任務的響應