2
考慮以下表:卡桑德拉如何在blob字段過濾十六進制值
CREATE TABLE associations (
someHash blob,
someValue int,
someOtherField text
PRIMARY KEY (someHash, someValue)
) WITH CLUSTERING ORDER BY (someValue ASC);
將插入到該表中有作爲someHash十六進制值,如0xA0000000000000000000000000000001,0xA0000000000000000000000000000002等
如果查詢需要找到所有具有0xA0000000000的行,建議Cassandra的方式是什麼?
當你查詢時,你知道someValue的價值嗎? –