Class OrientFactory

java.lang.Object
org.apache.tinkerpop.gremlin.orientdb.OrientFactory

public class OrientFactory extends Object
OrientFactory is used to open a new OrientStandardGraph
  • Constructor Details

    • OrientFactory

      public OrientFactory()
  • Method Details

    • open

      public static OrientStandardGraph open()
      Opens a OGraph in-memory database
      Returns:
      OGraph database
    • open

      public static OrientStandardGraph open(String url)
      Opens a OGraph
      Parameters:
      url - URL for the specific database
      Returns:
      OGraph database
    • open

      public static OrientStandardGraph open(String url, String user, String password)
      Opens a OGraph
      Parameters:
      url - URL for the specific database
      user - username of a database user or a server user allowed to open the database
      password - related to the specified username
      Returns:
      OGraph database
    • open

      public static OrientStandardGraph open(org.apache.commons.configuration2.Configuration config)
      Opens a OGraph
      Parameters:
      config - URL Configuration for the graph database
      Returns:
      OGraph database