撷取UDT值
问题描述:
我有订单的表,一组UDT类型的值的:撷取UDT值
create table keyspace.ORDERS (
email text,
order_id int,
order_total float,
shipments set<frozen<keyspace.shipping>>,
so on
);
这里的运输是一个UDT创建如下seperately:
create type shipping(
name text,
quantity_shipped int,
tax float,
and so on
);
如何在取消订单详细信息和我的java代码中的UDT值后删除此查询: select * from orders where email ='some email id';
答
检查这些链接,乙醚将有助于u开始用java - 卡桑德拉实现和基本做法:
http://docs.spring.io/spring-data/cassandra/docs/1.0.5.RELEASE/reference/html/cassandra.core.html