Interface TinkerpopGraphDatabaseManager

All Superinterfaces:
AutoCloseable, org.eclipse.jnosql.communication.semistructured.DatabaseManager, org.eclipse.jnosql.communication.graph.GraphDatabaseManager, Supplier<org.apache.tinkerpop.gremlin.structure.Graph>
All Known Implementing Classes:
DefaultTinkerpopGraphDatabaseManager

public interface TinkerpopGraphDatabaseManager extends org.eclipse.jnosql.communication.graph.GraphDatabaseManager, Supplier<org.apache.tinkerpop.gremlin.structure.Graph>
A specialized extension of DatabaseManager that provides access to a graph database represented by the Graph interface from Apache TinkerPop.

Implementations of this interface are expected to provide methods for interacting with the underlying graph database, such as retrieving vertices, edges, and properties, executing graph traversals, and performing other graph-related operations.

In addition to the functionality inherited from DatabaseManager, implementations of this interface also act as suppliers of the underlying Graph instance.

  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    of(org.apache.tinkerpop.gremlin.structure.Graph graph)
    Creates a new instance of DefaultGraphDatabaseManager with the specified TinkerPop Graph.

    Methods inherited from interface org.eclipse.jnosql.communication.semistructured.DatabaseManager

    close, count, count, delete, deleteAndCount, exists, insert, insert, insert, insert, name, prepare, prepare, query, query, select, selectCursor, singleResult, update, update, update

    Methods inherited from interface org.eclipse.jnosql.communication.graph.GraphDatabaseManager

    deleteEdge, edge, findEdgeById, remove

    Methods inherited from interface java.util.function.Supplier

    get
  • Method Details

    • of

      static TinkerpopGraphDatabaseManager of(org.apache.tinkerpop.gremlin.structure.Graph graph)
      Creates a new instance of DefaultGraphDatabaseManager with the specified TinkerPop Graph.
      Parameters:
      graph - the TinkerPop Graph instance to be managed
      Returns:
      a new DefaultGraphDatabaseManager instance
      Throws:
      NullPointerException - if the graph parameter is null