Skip to content

Commit

Permalink
feat: abstract graph template
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Mar 9, 2024
1 parent 06ed27d commit 7c369c4
Showing 1 changed file with 17 additions and 0 deletions.
Expand Up @@ -31,8 +31,25 @@

abstract class AbstractGraphTemplate extends AbstractSemistructuredTemplate implements GraphTemplate {

/**
* Retrieves the {@link GraphDatabaseManager} associated with this graph template.
*
* @return the {@link GraphDatabaseManager} associated with this graph template
*/
protected abstract GraphDatabaseManager manager();

/**
* Retrieves the {@link GraphTraversalSource} associated with this graph template.
*
* @return the {@link GraphTraversalSource} associated with this graph template
*/
protected abstract GraphTraversalSource traversal();

/**
* Retrieves the {@link Graph} associated with this graph template.
*
* @return the {@link Graph} associated with this graph template
*/
protected abstract Graph graph();


Expand Down

0 comments on commit 7c369c4

Please sign in to comment.