An open API service indexing awesome lists of open source software.

https://github.com/bearddan2000/java-cli-maven-orientdb-client-graph-edge-query

A java maven build, that connects to orientdb database.
https://github.com/bearddan2000/java-cli-maven-orientdb-client-graph-edge-query

cli client edge graph java maven orientdb query

Last synced: 4 months ago
JSON representation

A java maven build, that connects to orientdb database.

Awesome Lists containing this project

README

          

# java-cli-maven-orientdb-client-graph-edge-query

## Description
A java maven build, that connects to orientdb database.

Creates a new database `Health` and adds document `Doctor`.

Creates self joins with `edges`. Uses sql to query incoming
and outgoing edges.

## Tech stack
- maven

## Docker stack
- orientdb:latest
- maven:3-openjdk-17

## To run
`sudo ./install.sh -u`
- [OrientDB studio](http://localhost:2480/studio/index.html)
- user: admin
- password: admin

## To stop (optional)
`sudo ./install.sh -d`

## For help
`sudo ./install.sh -h`

## Credit
- [Edge querries](https://stackoverflow.com/questions/49798428/orientdb-query-for-getting-all-vertices-connected-by-edge-of-specyfic-type)
- [Source based on](https://gist.github.com/Jaquitori/b9158b0979a8f815c5270cff0e785b00)
- [Create init database](https://orientdb.com/docs/last/java/Document-API-Database.html)
- [Default logins](https://orientdb.com/docs/last/java/Document-API-Database.html)