Skip to content

Simplify the query execution API #58

@antonsarov

Description

@antonsarov

Just by looking at the query execution API provided by the java driver, there is no easy way to tell which method is to be used to execute a standard AQL query:

arangoexecutequeryapi

Even if I do not consider the deprecated methods (not on the picture) and the methods for Edge query and Vertext Query, there is still a bit of confusion there.

This helps a little bit but still does not cover all the available options. Stuff like executeAqlQueryJSON returning String and executeAqlQueryRaw returning a CursorRawResult which includes JSON strings make the whole thing even worse.

So, my question are:

  1. Are there any plans to simplify the API?
  2. Can somebody point to an example showing the usage of the different methods?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions