
public interface ODatabaseDocumentInternal extends ODatabaseSession, ODatabaseInternal<ORecord>
ODatabase.ATTRIBUTES, ODatabase.OPERATION_MODE, ODatabase.STATUSTYPEaddBlobCluster, browseClass, browseClass, browseCluster, browseCluster, browseCluster, browseCluster, browseCluster, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, countClass, countClass, countView, createClassIfNotExist, createEdgeClass, createVertexClass, freeze, freeze, getRecord, getRecordType, isPooled, isRetainRecords, isValidationEnabled, newBlob, newBlob, newEdge, newEdge, newEdge, newElement, newElement, newEmbeddedElement, newEmbeddedElement, newInstance, newVertex, newVertex, newVertex, release, setRetainRecords, setValidationEnabledactivateOnCurrentThread, addCluster, addCluster, begin, begin, begin, close, command, command, command, commit, commit, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countClusterElements, create, create, create, createClass, declareIntent, delete, delete, delete, drop, dropCluster, dropCluster, execute, execute, executeWithRetry, exists, existsCluster, get, getActiveIntent, getBlobClusterIds, getClass, getClusterIdByName, getClusterNameById, getClusterNames, getClusterRecordSizeById, getClusterRecordSizeByName, getClusters, getConfiguration, getConflictStrategy, getDefaultClusterId, getDictionary, getHooks, getListeners, getLocalCache, getName, getProperties, getProperty, getRecordMetadata, getSize, getStatus, getTransaction, getType, getURL, getUser, incrementalBackup, isActiveOnCurrentThread, isClosed, isMVCC, live, live, load, load, load, load, load, load, lock, lock, newInstance, open, query, query, query, registerHook, registerHook, registerListener, reload, reload, reload, rollback, rollback, save, save, save, save, set, setConflictStrategy, setConflictStrategy, setMVCC, setProperty, setStatus, truncateCluster, unlock, unregisterHook, unregisterListenerbackup, restoreaddRidbagPrefetchStats, createInterruptTimerTask, getActiveClusterMap, getActiveDataCenterMap, getDatabaseOwner, getEnterpriseEndpoint, getLocalNodeName, getMicroOrRegularTransaction, getSharedContext, getStats, getStorage, getStorageInfo, getUnderlying, isSharded, open, replaceStorage, resetInitialization, resetRecordLoadStats, setDatabaseOwner, setInternal, setUserOCurrentStorageComponentsFactory getStorageVersions()
OSBTreeCollectionManager getSbTreeCollectionManager()
OBinarySerializerFactory getSerializerFactory()
ORecordSerializer getSerializer()
void setSerializer(ORecordSerializer serializer)
<RET extends ORecord> RET loadIfVersionIsNotLatest(ORID rid, int recordVersion, String fetchPlan, boolean ignoreCache) throws ORecordNotFoundException
ORecordNotFoundExceptionvoid reloadUser()
void afterReadOperations(OIdentifiable identifiable)
boolean beforeReadOperations(OIdentifiable identifiable)
identifiable - OIdentifiable beforeCreateOperations(OIdentifiable id, String iClusterName)
id - iClusterName - OIdentifiable beforeUpdateOperations(OIdentifiable id, String iClusterName)
id - iClusterName - void beforeDeleteOperations(OIdentifiable id, String iClusterName)
void afterUpdateOperations(OIdentifiable id)
void afterCreateOperations(OIdentifiable id)
void afterDeleteOperations(OIdentifiable id)
ORecordHook.RESULT callbackHooks(ORecordHook.TYPE type, OIdentifiable id)
<RET extends ORecord> RET executeReadRecord(ORecordId rid, ORecord iRecord, int recordVersion, String fetchPlan, boolean ignoreCache, boolean iUpdateCache, boolean loadTombstones, OStorage.LOCKING_STRATEGY lockingStrategy, RecordReader recordReader)
void executeDeleteRecord(OIdentifiable record, int iVersion, boolean iRequired, ODatabase.OPERATION_MODE iMode, boolean prohibitTombstones)
void setDefaultTransactionMode(Map<ORID,OTransactionAbstract.LockedRecordMetadata> noTxLocks)
OMetadataInternal getMetadata()
ODatabasegetMetadata in interface ODatabase<ORecord>ODatabaseDocumentInternal copy()
void recycle(ORecord record)
void checkIfActive()
void callOnOpenListeners()
void callOnCloseListeners()
void callOnDropListeners()
void setPrefetchRecords(boolean prefetchRecords)
boolean isPrefetchRecords()
void checkForClusterPermissions(String name)
void rawBegin(OTransaction transaction)
default OResultSet getActiveQuery(String id)
default Map<String,OResultSet> getActiveQueries()
boolean isUseLightweightEdges()
void setUseLightweightEdges(boolean b)
ODatabaseDocumentInternal cleanOutRecord(ORID rid, int version)
default void realClose()
default void reuse()
default boolean sync(boolean forceDeployment,
boolean tryWithDelta)
default Map<String,Object> getHaStatus(boolean servers, boolean db, boolean latency, boolean messages)
default boolean removeHaServer(String serverName)
default OResultSet queryOnNode(String nodeName, OExecutionPlan executionPlan, Map<Object,Object> inputParameters)
nodeName - the node nameexecutionPlan - the execution planinputParameters - the input parameters for executionvoid internalCommit(OTransactionInternal transaction)
transaction - boolean isClusterVertex(int cluster)
boolean isClusterEdge(int cluster)
boolean isClusterView(int cluster)
default OTransaction swapTx(OTransaction newTx)
void internalClose(boolean recycle)
ORecord saveAll(ORecord iRecord, String iClusterName, ODatabase.OPERATION_MODE iMode, boolean iForceCreate, ORecordCallback<? extends Number> iRecordCreatedCallback, ORecordCallback<Integer> iRecordUpdatedCallback)
default OResultSet indexQuery(String indexName, String query, Object... args)
OView getViewFromCluster(int cluster)
void internalLockRecord(OIdentifiable iRecord, OStorage.LOCKING_STRATEGY lockingStrategy)
void internalUnlockRecord(OIdentifiable iRecord)
<T> T sendSequenceAction(OSequenceAction action) throws ExecutionException, InterruptedException
default boolean isDistributed()
default boolean isRemote()
Map<UUID,OBonsaiCollectionPointer> getCollectionsChanges()
default void syncCommit(OTransactionData data)
default boolean isCommandInterrupted()
default void setCommandInterrupted(boolean commandInterrupted)
default int getCommandInterruptionDepth()
default void setCommandInterruptionDepth(int commandInterruptionDepth)
Copyright © 2009–2025 OrientDB. All rights reserved.