Skip to end of metadata
Go to start of metadata

Philosophy

The Ariane Mapping DSL is developed to provide a fast and simple Map query language based on the Ariane: you just need to define the starting point(s), the target point(s) and the path (optional).

The Mapping DSL grammar is very simple : this is a mix of JSON, SQL and a little of Neo4J cypher to define the path. Basically it looks like that :

 

Points are defined through SQL like syntax and with the mapping object models : you can play with container, node, endpoints ... repository to define the points you need for your map.

Path definition is not mandatory but recommended on some complex graph path traversal path as by default Ariane will check all potentials path between / through the points you defined and it could take lot of computing time ... 

Currently the Ariane Mapping DSL is converted into Neo4J Cypher query and then executed against the Neo4j GraphDB. 

Some examples

From a specific source container to a specific target container

Ariane Mapping DSL
Neo4j cypher DSL 
 Expand source

 

From a specific source node to a specific target node

Ariane Mapping DSL
Neo4J Cypher DSL
 Expand source
From a specific source endpoint to a specific target endpoint
Ariane Mapping DSL
Neo4J Cypher DSL
 Expand source

Mix source / destination types

Ariane Mapping DSL
Neo4J Cypher DSL
 Expand source

 

Multi sources to one target 1

Ariane Mapping DSL
Neo4j Cypher DSL
 Expand source

 

Multi sources to one target 2

Ariane Mapping DSL
Neo4j Cypher DSL
 Expand source

One source to multi targets

Ariane Mapping DSL
Neo4j Cypher DSL
 Expand source

From a specific source container to a specific target container through a specific point

Ariane Mapping DSL
Neo4j Cypher DSL
 Expand source

From a specific source container to a specific target container through specific points 

Ariane Mapping DSL
Neo4J Cypher DSL
 Expand source

Full path tuning

Depending on the graph you're requesting you will need to define a precise path from your source to your target and you can do that by specifying the path value in the path block with Neo4J Cypher path description.

Ariane Mapping DSL

 

Neo4J Cypher DSL
 Expand source

 

 

  • No labels