截至目前,使用Java 8流来过滤来自Cassandra冻结类型的数据,并想知道我们是否可以使用spring数据Cassandra查询从teststype获取inventorynumber字段。
CREATE TABLE sample.testing (id bigint PRIMARY KEY,items list lessthan frozen lessthantestingtype greatherthan greatherthan)
CREATE TYPE sample.testingtype (itemid int,inventorynumber text);
数据:
Select * from testing
id | items
1 | [{itemid: 10, inventorynumber: '123456'}, {itemid: 20, inventorynumber: '1234567'}