欢迎投稿

今日深度:

cassandra关于集合类型的操作,cassandra集合类型

cassandra关于集合类型的操作,cassandra集合类型


举例:

create table test(
	a int, 
	b list<text>, 
	c set<text>, 
	d map<text,text>, 
	primary key(a)
);

插入使用下面的形式
insert into test(a,b,c,d) values(1,['listtext1','listtext2'],{‘settext1′,’settext2′},{‘mapkey1′:’mapvale2′,’mapkey2′:’mapvalue2′});


阅读全文:

http://zhaoyanblog.com/archives/177.html



www.htsjk.Com true http://www.htsjk.com/cassandra/30202.html NewsArticle cassandra关于集合类型的操作,cassandra集合类型 举例: create table test(a int, b listtext, c settext, d maptext,text, primary key(a)); 插入使用下面的形式 insert into test(a,b,c,d) values(1,['listtext1','listtext2']...
相关文章
    暂无相关文章
评论暂时关闭