Class OSystemDatabase
java.lang.Object
com.orientechnologies.orient.core.db.OSystemDatabase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCluster(String className, String clusterName) Adds the specified cluster to the class, if it doesn't already exist.voidexecuteInDBScope(OCallable<Void, ODatabaseSession> callback) <T> TexecuteWithDB(OCallable<T, ODatabaseSession> callback) booleanexists()voidinit()Opens the System Database and returns an ODatabaseDocumentInternal object.
-
Field Details
-
SYSTEM_DB_NAME
- See Also:
-
SERVER_INFO_CLASS
- See Also:
-
SERVER_ID_PROPERTY
- See Also:
-
-
Constructor Details
-
OSystemDatabase
-
-
Method Details
-
getSystemDatabaseName
-
createCluster
Adds the specified cluster to the class, if it doesn't already exist. -
openSystemDatabase
Opens the System Database and returns an ODatabaseDocumentInternal object. The caller is responsible for retrieving any ThreadLocal-stored database before openSystemDatabase() is called and restoring it after the database is closed. -
execute
-
save
-
save
-
init
public void init() -
executeInDBScope
-
executeWithDB
-
exists
public boolean exists() -
getServerId
-