
public class OSystemDatabase extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVER_ID_PROPERTY |
static String |
SERVER_INFO_CLASS |
static String |
SYSTEM_DB_NAME |
| Constructor and Description |
|---|
OSystemDatabase(OServer server) |
| Modifier and Type | Method and Description |
|---|---|
void |
createCluster(String className,
String clusterName)
Adds the specified cluster to the class, if it doesn't already exist.
|
Object |
execute(OCallable<Object,OResultSet> callback,
String sql,
Object... args) |
void |
executeInDBScope(OCallable<Void,ODatabase> callback) |
<T> T |
executeWithDB(OCallable<T,ODatabase> callback) |
boolean |
exists() |
String |
getServerId() |
String |
getSystemDatabaseName() |
String |
getSystemDatabasePath() |
ODatabaseDocumentInternal |
openSystemDatabase()
Opens the System Database and returns an ODatabaseDocumentInternal object.
|
ODocument |
save(ODocument document) |
ODocument |
save(ODocument document,
String clusterName) |
public static final String SYSTEM_DB_NAME
public static final String SERVER_INFO_CLASS
public static final String SERVER_ID_PROPERTY
public OSystemDatabase(OServer server)
public String getSystemDatabaseName()
public String getSystemDatabasePath()
public void createCluster(String className, String clusterName)
public ODatabaseDocumentInternal openSystemDatabase()
public boolean exists()
public String getServerId()
Copyright © 2009–2025 OrientDB. All rights reserved.