public <T> CompletableFuture<ArangoCursor<T>> queryAsync(
final String query,
final Map<String, Object> bindVars,
final AqlQueryOptions options,
final Class<T> type) throws ArangoDBException {
<BUG>final Request request = new Request(name, RequestType.POST, ArangoDBConstants.PATH_API_CURSOR);

request.setBody(</BUG>
serialize(OptionsBuilder.build(options != null ? options : new AqlQueryOptions(), query, bindVars)));
final CompletableFuture<CursorEntity> execution = executeAsync(request, CursorEntity.class);

public <T> CompletableFuture<ArangoCursor<T>> queryAsync(
final String query,
final Map<String, Object> bindVars,
final AqlQueryOptions options,
final Class<T> type) throws ArangoDBException {
final Request request = new Request(name, RequestType.POST, ArangoDBConstants.PATH_API_CURSOR).setBody(
serialize(OptionsBuilder.build(options != null ? options : new AqlQueryOptions(), query, bindVars)));
final CompletableFuture<CursorEntity> execution = executeAsync(request, CursorEntity.class);
