
public class ODatabaseHelper extends Object
| Constructor and Description |
|---|
ODatabaseHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createDatabase(ODatabase database,
String url) |
static void |
createDatabase(ODatabase database,
String url,
String type) |
static void |
createDatabase(ODatabase database,
String url,
String directory,
String type) |
static void |
deleteDatabase(ODatabase database,
String storageType) |
static void |
deleteDatabase(ODatabase database,
String directory,
String storageType)
Deprecated.
|
static void |
dropDatabase(ODatabase database,
String storageType) |
static void |
dropDatabase(ODatabase database,
String directory,
String storageType) |
static boolean |
existsDatabase(ODatabase database,
String storageType) |
static boolean |
existsDatabase(String url) |
static void |
freezeDatabase(ODatabase database) |
static File |
getConfigurationFile() |
protected static File |
getConfigurationFile(String iDirectory) |
static String |
getServerRootPassword() |
protected static String |
getServerRootPassword(String iDirectory) |
static void |
openDatabase(ODatabase database) |
static void |
releaseDatabase(ODatabase database) |
public static void createDatabase(ODatabase database, String url) throws IOException
IOExceptionpublic static void createDatabase(ODatabase database, String url, String type) throws IOException
IOExceptionpublic static void openDatabase(ODatabase database)
public static void createDatabase(ODatabase database, String url, String directory, String type) throws IOException
IOExceptionpublic static void deleteDatabase(ODatabase database, String storageType) throws IOException
IOException@Deprecated public static void deleteDatabase(ODatabase database, String directory, String storageType) throws IOException
IOExceptionpublic static void dropDatabase(ODatabase database, String storageType) throws IOException
IOExceptionpublic static void dropDatabase(ODatabase database, String directory, String storageType) throws IOException
IOExceptionpublic static boolean existsDatabase(ODatabase database, String storageType) throws IOException
IOExceptionpublic static boolean existsDatabase(String url) throws IOException
IOExceptionpublic static void freezeDatabase(ODatabase database) throws IOException
IOExceptionpublic static void releaseDatabase(ODatabase database) throws IOException
IOExceptionpublic static File getConfigurationFile()
public static String getServerRootPassword() throws IOException
IOExceptionprotected static String getServerRootPassword(String iDirectory) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.