Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bordereast/jaql
ArangoDB AQL Query Builder for Java 8+
https://github.com/bordereast/jaql
aql arangodb java java-8 query-builder
Last synced: 3 days ago
JSON representation
ArangoDB AQL Query Builder for Java 8+
- Host: GitHub
- URL: https://github.com/bordereast/jaql
- Owner: bordereast
- Created: 2017-08-26T19:50:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-26T19:55:42.000Z (over 7 years ago)
- Last Synced: 2024-11-08T11:50:35.741Z (about 2 months ago)
- Topics: aql, arangodb, java, java-8, query-builder
- Language: Java
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JAQL (Jackal)
ArangoDB AQL Query Builder for Java 8+```
JAQL query = new JAQL();
User user = new User();
String q = query
.forEntity(user)
.filter("firstName", Operator.equals, "@f1")
.logical(Logical.AND)
.logical(Logical.OPEN_BRACKET)
.filter("lastName", Operator.notEquals, "@f2")
.and("lastName", Operator.equals, query.addParam("f3", "Vader")) // can add param like this
.logical(Logical.CLOSE_BRACKET)
.returnEntity(user)
.withParam("f1", "Darth") // or add param like this
.withParam("f2", "Skylord")
.build();
```