Class OrientFactory
java.lang.Object
org.apache.tinkerpop.gremlin.orientdb.OrientFactory
OrientFactory is used to open a new OrientStandardGraph
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OrientStandardGraphopen()Opens aOGraphin-memory databasestatic OrientStandardGraphOpens aOGraphstatic OrientStandardGraphOpens aOGraphstatic OrientStandardGraphopen(org.apache.commons.configuration2.Configuration config) Opens aOGraph
-
Constructor Details
-
OrientFactory
public OrientFactory()
-
-
Method Details
-
open
Opens aOGraphin-memory database- Returns:
- OGraph database
-
open
Opens aOGraph- Parameters:
url- URL for the specific database- Returns:
- OGraph database
-
open
Opens aOGraph- Parameters:
url- URL for the specific databaseuser- username of a database user or a server user allowed to open the databasepassword- related to the specified username- Returns:
- OGraph database
-
open
Opens aOGraph- Parameters:
config- URL Configuration for the graph database- Returns:
- OGraph database
-