I am writing a map app. Once I got the bounds of map I have to query the DB for points. The structure:
CREATE TABLE map.items ( id timeuuid, type int, lat double, lng double, rank int )
and I would like to query like this:
select * from map.items where type=1 and (lat > 30 and lat < 35) and (lng > 100 and lng < 110) order by rank desc limit 10;
Newbie to cassandra, please help or provide references. Thank you!