@@ -296,6 +296,38 @@ public interface ArangoDatabase {
296
296
<T > ArangoCursor <T > query (String query , Map <String , Object > bindVars , AqlQueryOptions options , Class <T > type )
297
297
throws ArangoDBException ;
298
298
299
+ /**
300
+ * Performs a database query using the given {@code query} and {@code bindVars}, then returns a new
301
+ * {@code ArangoCursor} instance for the result list.
302
+ *
303
+ * @see <a href="https://docs.arangodb.com/current/HTTP/AqlQueryCursor/AccessingCursors.html#create-cursor">API
304
+ * Documentation</a>
305
+ * @param query
306
+ * An AQL query string
307
+ * @param bindVars
308
+ * key/value pairs defining the variables to bind the query to
309
+ * @param type
310
+ * The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)
311
+ * @return cursor of the results
312
+ * @throws ArangoDBException
313
+ */
314
+ <T > ArangoCursor <T > query (String query , Map <String , Object > bindVars , Class <T > type ) throws ArangoDBException ;
315
+
316
+ /**
317
+ * Performs a database query using the given {@code query}, then returns a new {@code ArangoCursor} instance for the
318
+ * result list.
319
+ *
320
+ * @see <a href="https://docs.arangodb.com/current/HTTP/AqlQueryCursor/AccessingCursors.html#create-cursor">API
321
+ * Documentation</a>
322
+ * @param query
323
+ * An AQL query string
324
+ * @param type
325
+ * The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)
326
+ * @return cursor of the results
327
+ * @throws ArangoDBException
328
+ */
329
+ <T > ArangoCursor <T > query (String query , Class <T > type ) throws ArangoDBException ;
330
+
299
331
/**
300
332
* Return an cursor from the given cursor-ID if still existing
301
333
*
0 commit comments