public class ODatabaseHelper extends Object
| Constructor and Description |
|---|
ODatabaseHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createDatabase(com.orientechnologies.orient.core.db.ODatabase database,
String iURL) |
static void |
createDatabase(com.orientechnologies.orient.core.db.ODatabase database,
String iURL,
String iDirectory) |
static void |
deleteDatabase(com.orientechnologies.orient.core.db.ODatabase database) |
static void |
deleteDatabase(com.orientechnologies.orient.core.db.ODatabase database,
String iDirectory)
Deprecated.
|
static void |
dropDatabase(com.orientechnologies.orient.core.db.ODatabase database) |
static void |
dropDatabase(com.orientechnologies.orient.core.db.ODatabase database,
String iDirectory) |
static boolean |
existsDatabase(com.orientechnologies.orient.core.db.ODatabase database) |
protected static String |
getServerRootPassword() |
protected static String |
getServerRootPassword(String iDirectory) |
public static void createDatabase(com.orientechnologies.orient.core.db.ODatabase database,
String iURL)
throws IOException
IOExceptionpublic static void createDatabase(com.orientechnologies.orient.core.db.ODatabase database,
String iURL,
String iDirectory)
throws IOException
IOExceptionpublic static void deleteDatabase(com.orientechnologies.orient.core.db.ODatabase database)
throws IOException
IOException@Deprecated public static void deleteDatabase(com.orientechnologies.orient.core.db.ODatabase database, String iDirectory) throws IOException
IOExceptionpublic static void dropDatabase(com.orientechnologies.orient.core.db.ODatabase database)
throws IOException
IOExceptionpublic static void dropDatabase(com.orientechnologies.orient.core.db.ODatabase database,
String iDirectory)
throws IOException
IOExceptionpublic static boolean existsDatabase(com.orientechnologies.orient.core.db.ODatabase database)
throws IOException
IOExceptionprotected static String getServerRootPassword() throws IOException
IOExceptionprotected static String getServerRootPassword(String iDirectory) throws IOException
IOExceptionCopyright © 2009-2012 Orient Technologies. All Rights Reserved.