Я использую данные весны Cassandra
Мой этот код работает
@Query("SELECT count(*) as cnt FROM notifications where userid = ?0 and typeofnotification=?1 "
+ "and notificationId > minTimeuuid('2019-09-12') and category = ?3 allow filtering")
public Integer findCountForCategoryForDate(int userId, String typeOfNotification, String category);
Но когда я пытаюсь дать дату в качестве параметра, он выдает ошибку
@Query("SELECT count(*) as cnt FROM notifications where userid = ?0 and typeofnotification=?1 "
+ "and notificationId > minTimeuuid(?2) and category = ?3 allow filtering")
public Integer findCountForCategoryForDate(int userId, String typeOfNotification,String date, String category);
Чего мне не хватает?
В столбце messagesID указан timeuuid в БД