I'm making a query where I want to set the consistency of it in this way:
ParametrizedQuery query = Query.parametrized(queryString, JsonArray.empty(), QueryParams.build().consistency(ScanConsistency.REQUEST_PLUS));
Note how that I want to set Scanconsistency.REQUEST_PLUS
, but when I make:
int count = bucket.query(query).allRows().size();
the execution never ends.
Any idea...? Thanks in advance
PS: The query i'm using is: "select * from default where id >=4"