devel now has such feature for the POST /_api/cursor REST API, if you set the options.fullCount
attribute in the request:
{
"query":"FOR i IN 1..1000 FILTER i > 500 FILTER i < 993 LIMIT 10 RETURN i",
"options":{
"fullCount": true
}
}
this request will return:
{ "result":[501,502,503,504,505,506,507,508,509,510], "hasMore":false, "extra":{ "fullCount":492 }, ... }
Repository: arangodb-java-driver
I don't see how to do that in the Java driver. I'm using the following Java driver.
Author: ArangoDB GmbH