2017-04-24 44 views
0

我有訂單的表,一組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';

回答