| Modifier and Type | Method and Description |
|---|---|
Collection<OIdentifiable> |
OLuceneTextOperator.filterRecords(ODatabase<?> iRecord,
List<String> iTargetClasses,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ODatabaseHelper.createDatabase(ODatabase database,
String url) |
static void |
ODatabaseHelper.createDatabase(ODatabase database,
String url,
String type) |
static void |
ODatabaseHelper.createDatabase(ODatabase database,
String url,
String directory,
String type) |
static void |
ODatabaseHelper.deleteDatabase(ODatabase database,
String storageType) |
static void |
ODatabaseHelper.deleteDatabase(ODatabase database,
String directory,
String storageType)
Deprecated.
|
static void |
ODatabaseHelper.dropDatabase(ODatabase database,
String storageType) |
static void |
ODatabaseHelper.dropDatabase(ODatabase database,
String directory,
String storageType) |
static boolean |
ODatabaseHelper.existsDatabase(ODatabase database,
String storageType) |
static void |
ODatabaseHelper.freezeDatabase(ODatabase database) |
static void |
ODatabaseHelper.openDatabase(ODatabase database) |
static void |
ODatabaseHelper.releaseDatabase(ODatabase database) |
| Modifier and Type | Method and Description |
|---|---|
void |
OConsoleDatabaseListener.onAfterTxCommit(ODatabase iDatabase) |
void |
OConsoleDatabaseListener.onAfterTxRollback(ODatabase iDatabase) |
void |
OConsoleDatabaseListener.onBeforeTxBegin(ODatabase iDatabase) |
void |
OConsoleDatabaseListener.onBeforeTxCommit(ODatabase iDatabase) |
void |
OConsoleDatabaseListener.onBeforeTxRollback(ODatabase iDatabase) |
void |
OConsoleDatabaseListener.onClose(ODatabase iDatabase) |
boolean |
OConsoleDatabaseListener.onCorruptionRepairDatabase(ODatabase iDatabase,
String iProblem,
String iWhatWillbeFixed) |
void |
OConsoleDatabaseListener.onCreate(ODatabase iDatabase) |
void |
OConsoleDatabaseListener.onDelete(ODatabase iDatabase) |
void |
OConsoleDatabaseListener.onOpen(ODatabase iDatabase) |
| Modifier and Type | Field and Description |
|---|---|
protected ODatabase |
OScriptOrientWrapper.db |
| Modifier and Type | Method and Description |
|---|---|
<THISDB extends ODatabase> |
OScriptDocumentDatabaseWrapper.create() |
<THISDB extends ODatabase> |
OScriptDocumentDatabaseWrapper.open(String iUserName,
String iUserPassword) |
<THISDB extends ODatabase> |
OScriptDocumentDatabaseWrapper.set(ODatabase.ATTRIBUTES attribute,
Object iValue) |
<RET extends ODatabase<?>> |
OScriptDocumentDatabaseWrapper.setMVCC(boolean iValue) |
<THISDB extends ODatabase> |
OScriptDocumentDatabaseWrapper.setStatus(ODatabase.STATUS iStatus) |
| Modifier and Type | Method and Description |
|---|---|
ODatabase<ORecord> |
OScriptDocumentDatabaseWrapper.begin() |
ODatabase<ORecord> |
OScriptDocumentDatabaseWrapper.commit() |
ODatabase<ORecord> |
OScriptDocumentDatabaseWrapper.delete(ORID iRid) |
ODatabase<ORecord> |
OScriptDocumentDatabaseWrapper.rollback() |
ODatabase<?> |
OScriptDocumentDatabaseWrapper.setDatabaseOwner(ODatabaseInternal<?> iOwner) |
| Modifier and Type | Method and Description |
|---|---|
String |
OScriptManager.getLibrary(ODatabase<?> db,
String iLanguage)
Formats the library of functions for a language.
|
| Constructor and Description |
|---|
OScriptOrientWrapper(ODatabase db) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ODatabaseDocumentInternal |
interface |
ODatabaseInternal<T> |
interface |
ODatabaseSchemaAware<T>
Generic interface for record based Database implementations with schema concept.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ODatabaseWrapperAbstract<DB extends ODatabaseInternal,T> |
| Modifier and Type | Method and Description |
|---|---|
<DB extends ODatabase> |
ODatabase.create()
Creates a new database.
|
<THISDB extends ODatabase> |
ODatabaseWrapperAbstract.create() |
<DB extends ODatabase> |
ODatabase.create(Map<OGlobalConfiguration,Object> iInitialSettings)
Creates a new database passing initial settings.
|
<THISDB extends ODatabase> |
ODatabaseWrapperAbstract.create(Map<OGlobalConfiguration,Object> iInitialSettings) |
<DB extends ODatabase> |
ODatabase.create(String incrementalBackupPath)
Creates new database from database backup.
|
<THISDB extends ODatabase> |
ODatabaseWrapperAbstract.create(String incrementalBackupPath) |
<DB extends ODatabase> |
ODatabaseInternal.getUnderlying()
Return the underlying database.
|
<DBTYPE extends ODatabase> |
ODatabaseWrapperAbstract.getUnderlying() |
<DB extends ODatabase> |
ODatabaseInternal.open(OToken iToken)
Opens a database using an authentication token received as an argument.
|
<THISDB extends ODatabase> |
ODatabaseWrapperAbstract.open(OToken iToken) |
<DB extends ODatabase> |
ODatabase.open(String iUserName,
String iUserPassword)
Opens a database using the user and password received as arguments.
|
<THISDB extends ODatabase> |
ODatabaseWrapperAbstract.open(String iUserName,
String iUserPassword) |
<DB extends ODatabase<?>> |
ODatabase.registerHook(ORecordHook iHookImpl)
Registers a hook to listen all events for Records.
|
<DB extends ODatabase<?>> |
ODatabase.registerHook(ORecordHook iHookImpl,
ORecordHook.HOOK_POSITION iPosition) |
<DB extends ODatabase> |
ODatabase.set(ODatabase.ATTRIBUTES iAttribute,
Object iValue)
Sets a database attribute value
|
<THISDB extends ODatabase> |
ODatabaseWrapperAbstract.set(ODatabase.ATTRIBUTES attribute,
Object iValue) |
<DB extends ODatabase<?>> |
ODatabase.setConflictStrategy(ORecordConflictStrategy iResolver)
Overrides record conflict strategy.
|
<DB extends ODatabase<?>> |
ODatabase.setConflictStrategy(String iStrategyName)
Overrides record conflict strategy selecting the strategy by name.
|
<DB extends ODatabase<?>> |
ODatabase.setMVCC(boolean iValue)
Deprecated.
|
<DB extends ODatabase> |
ODatabase.setStatus(ODatabase.STATUS iStatus)
Deprecated.
|
<THISDB extends ODatabase> |
ODatabaseWrapperAbstract.setStatus(ODatabase.STATUS iStatus) |
<DB extends ODatabase<?>> |
ODatabase.unregisterHook(ORecordHook iHookImpl)
Unregisters a previously registered hook.
|
| Modifier and Type | Method and Description |
|---|---|
ODatabase |
ODatabaseWrapperAbstract.activateOnCurrentThread() |
ODatabase |
ODatabase.activateOnCurrentThread()
Activate current database instance on current thread.
|
ODatabase<T> |
ODatabase.begin()
Begins a new transaction.
|
ODatabase<T> |
ODatabase.begin(OTransaction.TXTYPE iStatus)
Begins a new transaction specifying the transaction type.
|
ODatabase<T> |
ODatabase.begin(OTransaction iTx)
Deprecated.
|
ODatabase<T> |
ODatabase.cleanOutRecord(ORID rid,
int version) |
ODatabase<T> |
ODatabase.commit()
Commits the current transaction.
|
ODatabase<T> |
ODatabase.commit(boolean force) |
ODatabase<T> |
ODatabase.delete(ORID iRID)
Deletes the entity with the received RID from the database.
|
ODatabase<T> |
ODatabase.delete(ORID iRID,
int iVersion)
Deletes the entity with the received RID from the database.
|
ODatabase<T> |
ODatabase.delete(T iObject)
Deletes an entity from the database in synchronous mode.
|
ODatabase<T> |
ODatabase.rollback()
Aborts the current running transaction.
|
ODatabase<T> |
ODatabase.rollback(boolean force) |
| Modifier and Type | Method and Description |
|---|---|
void |
ODatabaseListener.onAfterTxCommit(ODatabase iDatabase) |
void |
ODatabaseListener.onAfterTxRollback(ODatabase iDatabase) |
void |
ODatabaseListener.onBeforeTxBegin(ODatabase iDatabase) |
void |
ODatabaseListener.onBeforeTxCommit(ODatabase iDatabase) |
void |
ODatabaseListener.onBeforeTxRollback(ODatabase iDatabase) |
void |
ODatabaseListener.onClose(ODatabase iDatabase) |
boolean |
ODatabaseListener.onCorruptionRepairDatabase(ODatabase iDatabase,
String iReason,
String iWhatWillbeFixed)
Callback to decide if repair the database upon corruption.
|
void |
ODatabaseListener.onCreate(ODatabase iDatabase) |
void |
ODatabaseListener.onDelete(ODatabase iDatabase) |
void |
ODatabaseListener.onOpen(ODatabase iDatabase) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ODatabaseDocument
Generic interface for document based Database implementations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ODatabaseDocumentTx
Document API entrypoint.
|
class |
ODatabaseDocumentTxPooled
Pooled wrapper to the ODatabaseDocumentTx class.
|
| Modifier and Type | Method and Description |
|---|---|
<DB extends ODatabase> |
ODatabaseDocumentTx.create()
Creates a new database.
|
<DB extends ODatabase> |
ODatabaseDocumentTx.create(Map<OGlobalConfiguration,Object> iInitialSettings) |
<DB extends ODatabase> |
ODatabaseDocumentTx.create(String incrementalBackupPath)
Creates new database from database backup.
|
<DB extends ODatabase> |
ODatabaseDocumentTxPooled.create(String incrementalBackupPath) |
<DB extends ODatabase> |
ODatabaseDocumentTx.getUnderlying()
This method is internal, it can be subject to signature change or be removed, do not use.
|
<DB extends ODatabase> |
ODatabaseDocumentTx.open(OToken iToken)
Opens a database using an authentication token received as an argument.
|
<DB extends ODatabase> |
ODatabaseDocumentTx.open(String iUserName,
String iUserPassword)
Opens connection to the storage with given user and password.
|
<DB extends ODatabase<?>> |
ODatabaseDocumentTx.registerHook(ORecordHook iHookImpl)
Registers a hook to listen all events for Records.
|
<DB extends ODatabase<?>> |
ODatabaseDocumentTx.registerHook(ORecordHook iHookImpl,
ORecordHook.HOOK_POSITION iPosition) |
<DB extends ODatabase> |
ODatabaseDocumentTx.set(ODatabase.ATTRIBUTES iAttribute,
Object iValue) |
<DB extends ODatabase<?>> |
ODatabaseDocumentTx.setMVCC(boolean mvcc)
Enables or disables the Multi-Version Concurrency Control.
|
<DB extends ODatabase> |
ODatabaseDocumentTx.setStatus(ODatabase.STATUS status)
Returns the current status of database.
|
<DB extends ODatabase<?>> |
ODatabaseDocumentTx.unregisterHook(ORecordHook iHookImpl)
Unregisters a previously registered hook.
|
| Modifier and Type | Method and Description |
|---|---|
ODatabase<ORecord> |
ODatabaseDocumentTx.cleanOutRecord(ORID iRecord,
int iVersion) |
ODatabase<ORecord> |
ODatabaseDocumentTx.commit()
Commits the current transaction.
|
ODatabase<ORecord> |
ODatabaseDocumentTx.delete(ORID iRecord,
int iVersion)
Deletes the record checking the version.
|
ODatabase<ORecord> |
ODatabaseDocumentTx.rollback()
Aborts the current running transaction.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ODatabaseObject
Generic interface for object based Database implementations.
|
| Modifier and Type | Method and Description |
|---|---|
ODatabase |
ODatabaseObject.setRetainObjects(boolean iRetainObjects) |
| Modifier and Type | Method and Description |
|---|---|
void |
OSequence.save(ODatabase db) |
| Modifier and Type | Method and Description |
|---|---|
void |
OLiveQueryHook.onAfterTxCommit(ODatabase iDatabase) |
void |
OLiveQueryHook.onAfterTxRollback(ODatabase iDatabase) |
void |
OLiveQueryHook.onBeforeTxBegin(ODatabase iDatabase) |
void |
OLiveQueryHook.onBeforeTxCommit(ODatabase iDatabase) |
void |
OLiveQueryHook.onBeforeTxRollback(ODatabase iDatabase) |
void |
OLiveQueryHook.onClose(ODatabase iDatabase) |
boolean |
OLiveQueryHook.onCorruptionRepairDatabase(ODatabase iDatabase,
String iReason,
String iWhatWillbeFixed) |
void |
OLiveQueryHook.onCreate(ODatabase iDatabase) |
void |
OLiveQueryHook.onDelete(ODatabase iDatabase) |
void |
OLiveQueryHook.onOpen(ODatabase iDatabase) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
ORecordSerializerCSVAbstract.embeddedCollectionToStream(ODatabase<?> iDatabase,
OUserObject2RecordHandler iObjHandler,
StringBuilder iOutput,
OClass iLinkedClass,
OType iLinkedType,
Object iValue,
boolean iSaveOnlyDirty,
boolean iSet) |
void |
ORecordSerializerCSVAbstract.embeddedMapToStream(ODatabase<?> iDatabase,
OUserObject2RecordHandler iObjHandler,
StringBuilder iOutput,
OClass iLinkedClass,
OType iLinkedType,
Object iValue,
boolean iSaveOnlyDirty) |
| Modifier and Type | Method and Description |
|---|---|
Collection<OIdentifiable> |
OQueryOperatorContainsText.filterRecords(ODatabase<?> iDatabase,
List<String> iTargetClasses,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight) |
abstract Collection<OIdentifiable> |
OQueryTargetOperator.filterRecords(ODatabase<?> iRecord,
List<String> iTargetClasses,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight) |
| Modifier and Type | Class and Description |
|---|---|
class |
ODatabasePojoAbstract<T> |
class |
OObjectDatabaseTx
Object Database instance.
|
class |
OObjectDatabaseTxPooled
Pooled wrapper to the OObjectDatabaseTx class.
|
| Modifier and Type | Method and Description |
|---|---|
<DBTYPE extends ODatabase> |
OObjectDatabaseTx.checkSecurity(ORule.ResourceGeneric iResource,
int iOperation,
Object... iResourcesSpecific) |
<DBTYPE extends ODatabase> |
OObjectDatabaseTx.checkSecurity(ORule.ResourceGeneric iResource,
int iOperation,
Object iResourceSpecific) |
<DBTYPE extends ODatabase> |
OObjectDatabaseTx.checkSecurity(ORule.ResourceGeneric resourceGeneric,
String resourceSpecific,
byte iOperation) |
<THISDB extends ODatabase> |
OObjectDatabaseTxPooled.create(String incrementalBackupPath) |
<THISDB extends ODatabase> |
OObjectDatabaseTx.open(OToken iToken) |
<THISDB extends ODatabase> |
OObjectDatabaseTx.open(String iUserName,
String iUserPassword) |
<DBTYPE extends ODatabase<?>> |
ODatabasePojoAbstract.registerHook(ORecordHook iHookImpl) |
<DBTYPE extends ODatabase<?>> |
ODatabasePojoAbstract.registerHook(ORecordHook iHookImpl,
ORecordHook.HOOK_POSITION iPosition) |
<DBTYPE extends ODatabase<?>> |
ODatabasePojoAbstract.setMVCC(boolean iMvcc) |
<DBTYPE extends ODatabase<?>> |
ODatabasePojoAbstract.unregisterHook(ORecordHook iHookImpl) |
| Modifier and Type | Method and Description |
|---|---|
ODatabase<T> |
ODatabasePojoAbstract.begin() |
ODatabase<T> |
ODatabasePojoAbstract.begin(OTransaction.TXTYPE iType) |
ODatabase<T> |
ODatabasePojoAbstract.begin(OTransaction iTx) |
ODatabase<Object> |
OObjectDatabaseTx.cleanOutRecord(ORID iRID,
int iVersion) |
ODatabase<T> |
ODatabasePojoAbstract.cleanOutRecord(ORID iRID,
int iVersion) |
ODatabase<T> |
ODatabasePojoAbstract.commit() |
ODatabase<T> |
ODatabasePojoAbstract.commit(boolean force) |
ODatabase<T> |
ODatabasePojoAbstract.delete(ORecord iRecord) |
ODatabase<T> |
ODatabasePojoAbstract.delete(ORID iRID) |
ODatabase<T> |
ODatabasePojoAbstract.delete(ORID iRID,
int iVersion) |
ODatabase<T> |
ODatabasePojoAbstract.rollback() |
ODatabase<T> |
ODatabasePojoAbstract.rollback(boolean force) |
| Modifier and Type | Method and Description |
|---|---|
void |
OObjectSerializerContext.bind(OObjectSerializer serializer,
ODatabase database) |
| Modifier and Type | Method and Description |
|---|---|
ODatabase<?> |
OServer.openDatabase(String iDbUrl,
OToken iToken) |
ODatabase<?> |
OServer.openDatabase(String iDbUrl,
String user,
String password) |
ODatabase<?> |
OServer.openDatabase(String iDbUrl,
String user,
String password,
ONetworkProtocolData data) |
| Modifier and Type | Method and Description |
|---|---|
void |
OSystemDatabase.executeInDBScope(OCallable<Void,ODatabase> callback) |
| Modifier and Type | Method and Description |
|---|---|
ODatabase<?> |
OServerSecurity.openDatabase(String dbName) |
ODatabase<?> |
ODefaultServerSecurity.openDatabase(String dbName) |
| Modifier and Type | Method and Description |
|---|---|
static ODatabase |
ODatabaseUtils.openDatabase(ODatabaseIdentifier databaseIdentifier,
OStorageRemote.CONNECTION_STRATEGY connectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
ODatabase |
OBaseDocumentWorkload.OWorkLoadContext.getDb() |
protected ODatabase |
OBaseDocumentWorkload.getDocumentDatabase(ODatabaseIdentifier databaseIdentifier,
OStorageRemote.CONNECTION_STRATEGY connectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
OCRUDWorkload.deleteOperation(ODatabase database,
OIdentifiable rec) |
void |
OCRUDWorkload.readOperation(ODatabase database,
long n) |
void |
OCRUDWorkload.scanOperation(ODatabase database) |
void |
OCRUDWorkload.updateOperation(ODatabase database,
OIdentifiable rec) |
Copyright © 2009–2025 OrientDB. All rights reserved.