You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by 魏金仙 <se...@126.com> on 2011/07/13 09:43:15 UTC
insert a super column
insert(key, column_path, column, consistency_level) can only insert a standard column.
Is batch_mutate the only API to insert a super column?
and also can someone tell why batch_insert,multi_get is removed in version 0.7.4?
Re: insert a super column
Posted by Konstantin Naryshkin <ko...@a-bb.net>.
A ColumnPath can contain a super column, so you should be fine inserting a super column family (in fact I do that). Quoting cassandra.thrift:
struct ColumnPath {
3: required string column_family,
4: optional binary super_column,
5: optional binary column,
}
----- Original Message -----
From: "魏金仙" <se...@126.com>
To: "user" <us...@cassandra.apache.org>
Sent: Wednesday, July 13, 2011 7:43:15 AM
Subject: insert a super column
insert(key, column_path, column, consistency_level) can only insert a standard column.
Is batch_mutate the only API to insert a super column?
and also can someone tell why batch_insert,multi_get is removed in version 0.7.4?
Re: insert a super column
Posted by yu...@gmail.com.
For batch_insert, I think you could use batch_mutate instead.
For multi_get, I think you could use multiget_slice instead.
Boris
在 ,魏金仙 <se...@126.com>寫道:
> insert(key, column_path, column, consistency_level) can only insert a
> standard column.Is batch_mutate the only API to insert a super column?
> and also can someone tell why batch_insert,multi_get is removed in
> version 0.7.4?