h**j 发帖数: 2033 | 1 cqlsh:testks> show version
[cqlsh 4.1.1 | Cassandra 2.0.6 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
用了helenus和astyanax都一样,row key都是null,都指定了target version 1.2 和
CQL3.
[ ,
]
key作为一个column返回,by design? |
|
h**j 发帖数: 2033 | 2 OperationResult> result = keyspace
.prepareQuery(cf).withCql(String.format("SELECT * FROM users
"))
.execute();
cqlsh:testks> DESCRIBE COLUMNFAMILY users;
CREATE TABLE users (
user_id int,
fname text,
lname text,
PRIMARY KEY (user_id)
) WITH
bloom_filter_fp_chance=0.010000 AND
caching='KEYS_ONLY' AND
comment='' AND
dclocal_read_repair_chance=0.000000 AND
gc_grace_seconds=864000 AND
index_interval=128 AND
read_repair... 阅读全帖 |
|
D**C 发帖数: 6754 | 3 这就是我不知道的,我公司比较麻烦 等我看看怎么能figure out,我现在连运行cqlsh
都有问题。。。 |
|
D**C 发帖数: 6754 | 4 暂时没法cqlsh。。。
我得看看memoryonly compact |
|