arangodb / arangodb/arangodb-java-driver
[question] Option to run asynchronous queries with the java API
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 210
- Forks
- 96
- Avg merge
- 6h 32m
- Merged PRs (30d)
- 5
Description
In the HTTP API, there is the option to add "x-arango-async: store" to the headers so that a query can be run asynchronously, in the sense that a job id is returned and results can be fetched later. Is this option also possible through the Java API? I understand that the API already has Java futures, but I would not like my app to have many background threads waiting for results on queries. Would it be possible to have the API return just a future of a job id, which the client can reference at a later time to fetch the results?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the HTTP API's x-arango-async: store behavior and the Java API's existing futures, both named in the issue. Determine whether the driver exposes a job-id-based path for later result retrieval; done would be a documented, supported Java API approach or a clearly scoped implementation plan.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100