Package | Description |
---|---|
com.orientechnologies.orient.core.db | |
com.orientechnologies.orient.core.db.document |
Modifier and Type | Field and Description |
---|---|
protected OrientDBConfig |
OrientDBEmbedded.configurations |
Modifier and Type | Method and Description |
---|---|
OrientDBConfig |
OrientDBConfigBuilder.build() |
static OrientDBConfig |
OrientDBConfig.defaultConfig() |
OrientDBConfig |
ODatabasePoolImpl.getConfig() |
OrientDBConfig |
ODatabasePoolInternal.getConfig() |
OrientDBConfig |
OrientDBEmbedded.getConfigurations() |
protected OrientDBConfig |
OrientDBEmbedded.solveConfig(OrientDBConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
OrientDB.create(String database,
ODatabaseType type,
OrientDBConfig config)
Create a new database
|
void |
OrientDBInternal.create(String name,
String user,
String password,
ODatabaseType type,
OrientDBConfig config)
Create a new database
|
void |
OrientDBEmbedded.create(String name,
String user,
String password,
ODatabaseType type,
OrientDBConfig config) |
boolean |
OrientDB.createIfNotExists(String database,
ODatabaseType type,
OrientDBConfig config)
Create a new database if not exists
|
static OrientDBInternal |
OrientDBInternal.distributed(String directoryPath,
OrientDBConfig configuration) |
static OrientDBInternal |
OrientDBInternal.embedded(String directoryPath,
OrientDBConfig config)
Create a new Embedded factory
|
static OrientDBInternal |
OrientDBInternal.fromUrl(String url,
OrientDBConfig configuration)
Create a new factory from a given url.
|
default OStorage |
OrientDBInternal.fullSync(String dbName,
InputStream backupStream,
OrientDBConfig config) |
protected ODatabaseDocumentEmbedded |
OrientDBEmbedded.internalCreate(OrientDBConfig config,
OAbstractPaginatedStorage storage) |
ODatabaseDocumentInternal |
OrientDBInternal.open(String name,
String user,
String password,
OrientDBConfig config)
Open a database specified by name using the username and password if needed, with specific configuration
|
ODatabaseDocumentInternal |
OrientDBEmbedded.open(String name,
String user,
String password,
OrientDBConfig config) |
ODatabaseSession |
OrientDB.open(String database,
String user,
String password,
OrientDBConfig config)
Open a database
|
ODatabasePoolInternal |
OrientDBInternal.openPool(String name,
String user,
String password,
OrientDBConfig config)
Open a pool of databases, similar to open but with multiple instances.
|
ODatabasePoolInternal |
OrientDBEmbedded.openPool(String name,
String user,
String password,
OrientDBConfig config) |
static OrientDBInternal |
OrientDBInternal.remote(String[] hosts,
OrientDBConfig configuration)
Create a new remote factory
|
void |
OrientDBInternal.restore(String name,
String user,
String password,
ODatabaseType type,
String path,
OrientDBConfig config) |
void |
OrientDBEmbedded.restore(String name,
String user,
String password,
ODatabaseType type,
String path,
OrientDBConfig config) |
protected void |
OrientDBConfig.setParent(OrientDBConfig parent) |
protected OrientDBConfig |
OrientDBEmbedded.solveConfig(OrientDBConfig config) |
Constructor and Description |
---|
ODatabasePool(OrientDB environment,
String database,
String user,
String password,
OrientDBConfig configuration)
Open a new database pool on a specific environment, with a specific configuration for this pool.
|
ODatabasePool(String url,
String user,
String password,
OrientDBConfig configuration)
Open a new database pool from a url and additional configuration, useful in case the application access to only a database or
do not manipulate databases.
|
ODatabasePool(String environment,
String database,
String user,
String password,
OrientDBConfig configuration)
Open a new database pool from a environment and a database name with a custom configuration, useful in case the application
access to only a database or do not manipulate databases.
|
ODatabasePoolImpl(OrientDBInternal factory,
String database,
String user,
String password,
OrientDBConfig config) |
OrientDB(String url,
OrientDBConfig configuration)
Create a new OrientDb instance for a specific environment
possible kind of urls 'embedded','remote', for the case of remote and distributed can be specified multiple nodes
using comma.
|
OrientDB(String url,
String serverUser,
String serverPassword,
OrientDBConfig configuration)
Create a new OrientDb instance for a specific environment
possible kind of urls 'embedded','remote', for the case of remote and distributed can be specified multiple nodes
using comma.
|
OrientDBEmbedded(String directoryPath,
OrientDBConfig configurations,
Orient orient) |
Modifier and Type | Method and Description |
---|---|
OrientDBConfig |
ODatabaseDocumentEmbedded.getConfig() |
Modifier and Type | Method and Description |
---|---|
protected static OrientDBInternal |
ODatabaseDocumentTx.getOrCreateEmbeddedFactory(String baseUrl,
OrientDBConfig config)
Deprecated.
|
static OrientDBInternal |
ODatabaseDocumentTxInternal.getOrCreateEmbeddedFactory(String databaseDirectory,
OrientDBConfig config) |
void |
ODatabaseDocumentEmbedded.init(OrientDBConfig config) |
void |
ODatabaseDocumentEmbedded.internalCreate(OrientDBConfig config) |
Copyright © 2009–2020 OrientDB. All rights reserved.