Select in Cassandra with Java (datastax driver) by timestamp
问题 I am trying to do a SELECT in java into my Cassandra database. I am trying it with: Statement statement = QueryBuilder.select() .all() .from(keySpaceName, tableName) .where((QueryBuilder.eq("asset", categoryPos))) .and(QueryBuilder.gte("date", "2006-06-08 00:00:00")) .limit(10) .allowFiltering() .enableTracing(); The CQL query (already working) is SELECT * FROM pair_tick.price WHERE asset = 1 and date>='2006-06-08 15:30:00' LIMIT 10; When I am trying to execute this query, I get this error: