
public class ODatabaseDocumentRemote extends ODatabaseDocumentAbstract
ODatabase.ATTRIBUTES, ODatabase.OPERATION_MODE, ODatabase.STATUS| Modifier and Type | Field and Description |
|---|---|
protected OStorageRemoteSession |
sessionMetadata |
activeQueries, componentsFactory, currentIntent, currentTx, databaseOwner, hooks, hooksByScope, inHook, initialized, loadedRecordsCount, localCache, maxRecordLoadMs, maxRidbagPrefetchMs, metadata, microTransaction, minRecordLoadMs, minRidbagPrefetchMs, properties, recordType, retainRecords, ridbagPrefetchCount, serializer, sharedContext, status, totalRecordLoadMs, totalRidbagPrefetchMs, unmodifiableHooks, url, userTYPE| Constructor and Description |
|---|
ODatabaseDocumentRemote(OStorageRemote storage) |
activateOnCurrentThread, addCluster, addCluster, addRidbagPrefetchStats, afterCommitOperations, afterRollbackOperations, assignAndCheckCluster, backup, beforeCommitOperations, beforeRollbackOperations, begin, begin, browseClass, browseClass, browseCluster, browseCluster, browseCluster, browseCluster, browseCluster, callbackHookFailure, callbackHookFinalize, callbackHooks, callbackHookSuccess, callOnCloseListeners, callOnDropListeners, callOnOpenListeners, checkForClusterPermissions, checkIfActive, checkOpenness, checkRecordClass, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, cleanOutRecord, clearDocumentTracking, close, closeActiveQueries, command, commit, commit, countClass, countClass, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countClusterElements, declareIntent, delete, delete, delete, delete, dropCluster, dropCluster, executeHideRecord, executeReadRecord, executeSaveEmptyRecord, executeWithRetries, executeWithRetries, executeWithRetries, existsCluster, freeze, freeze, get, getActiveIntent, getActiveQueries, getActiveQuery, getBlobClusterIds, getClusterIdByName, getClusterNameById, getClusterNames, getClusterRecordSizeById, getClusterRecordSizeByName, getClusters, getCollectionsChanges, getConfiguration, getConflictStrategy, getDatabaseOwner, getDefaultClusterId, getDefaultSerializer, getDictionary, getHooks, getListeners, getLocalCache, getMetadata, getMicroOrRegularTransaction, getName, getProperties, getProperty, getRecord, getRecordMetadata, getRecordType, getSbTreeCollectionManager, getSerializer, getSerializerFactory, getSharedContext, getSize, getStats, getStatus, getStorageVersions, getTransaction, getType, getUnderlying, getURL, getUser, hide, incrementalBackup, init, internalClose, internalCommit, isActiveOnCurrentThread, isClosed, isClusterEdge, isClusterVertex, isMVCC, isPooled, isPrefetchRecords, isRetainRecords, isUseLightweightEdges, isValidationEnabled, load, load, load, load, load, load, load, load, load, load, loadIfVersionIsNotLatest, newBlob, newBlob, newEdge, newEdge, newElement, newElement, newElement, newInstance, newInstance, newLightweightEdge, newRegularEdge, newVertex, newVertex, query, queryClosed, queryStarted, rawBegin, registerHook, registerHook, release, reload, reload, reload, reload, reload, reloadUser, resetInitialization, resetRecordLoadStats, restore, rollback, rollback, save, save, save, save, setConflictStrategy, setConflictStrategy, setCurrentDatabaseInThreadLocal, setDatabaseOwner, setDefaultClusterIdInternal, setDefaultSerializer, setDefaultTransactionMode, setInternal, setMVCC, setPrefetchRecords, setProperty, setRetainRecords, setSerializer, setStatus, setStatusInternal, setUseLightweightEdges, setUser, setValidationEnabled, swapTx, truncateCluster, unregisterHookbrowseListeners, getListenersCopy, resetListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommandInterruptionDepth, getHaStatus, isCommandInterrupted, isStorageCommitHappening, queryOnNode, realClose, removeHaServer, reuse, setCommandInterrupted, setCommandInterruptionDepth, setStorageCommitHappeningcreateClassIfNotExist, createEdgeClass, createVertexClass, newEdge, newVertexcreateClass, executeWithRetry, getClasscreateInterruptTimerTask, getActiveClusterMap, getActiveDataCenterMap, getEnterpriseEndpoint, getLocalNodeName, interruptExecution, isShardedprotected OStorageRemoteSession sessionMetadata
public ODatabaseDocumentRemote(OStorageRemote storage)
@Deprecated public <DB extends ODatabase> DB open(OToken iToken)
public <DB extends ODatabase> DB create()
public <DB extends ODatabase> DB create(Map<OGlobalConfiguration,Object> iInitialSettings)
public void drop()
public <DB extends ODatabase> DB set(ODatabase.ATTRIBUTES iAttribute, Object iValue)
public ODatabaseDocumentInternal copy()
public boolean exists()
public void internalOpen(String user, String password, OrientDBConfig config)
protected void loadMetadata()
loadMetadata in class ODatabaseDocumentAbstractpublic ODatabaseDocumentAbstract begin(OTransaction.TXTYPE iType)
begin in interface ODatabase<ORecord>begin in class ODatabaseDocumentAbstractpublic OStorageRemoteSession getSessionMetadata()
public void setSessionMetadata(OStorageRemoteSession sessionMetadata)
public OStorageRemote getStorage()
public void replaceStorage(OStorage iNewStorage)
public OResultSet query(String query, Object[] args)
public OResultSet query(String query, Map args)
public OResultSet indexQuery(String indexName, String query, Object... args)
public OResultSet command(String query, Object... args)
public OResultSet command(String query, Map args)
public OResultSet execute(String language, String script, Object... args) throws OCommandExecutionException, OCommandScriptException
public OResultSet execute(String language, String script, Map<String,?> args) throws OCommandExecutionException, OCommandScriptException
public void closeQuery(String queryId)
public void fetchNextPage(ORemoteResultSet rs)
public OLiveQueryMonitor live(String query, OLiveQueryResultListener listener, Object... args)
public OLiveQueryMonitor live(String query, OLiveQueryResultListener listener, Map<String,?> args)
public void recycle(ORecord record)
protected OMicroTransaction beginMicroTransaction()
public static void deInit(OStorageRemote storage)
public static void updateSchema(OStorageRemote storage, ODocument schema)
public static void updateIndexManager(OStorageRemote storage, ODocument indexManager)
public static void updateFunction(OStorageRemote storage)
public static void updateSequences(OStorageRemote storage)
public <RET extends ORecord> RET executeSaveRecord(ORecord record, String clusterName, int ver, ODatabase.OPERATION_MODE mode, boolean forceCreate, ORecordCallback<? extends Number> recordCreatedCallback, ORecordCallback<Integer> recordUpdatedCallback)
executeSaveRecord in interface ODatabaseDocumentInternalexecuteSaveRecord in class ODatabaseDocumentAbstractpublic void executeDeleteRecord(OIdentifiable record, int iVersion, boolean iRequired, ODatabase.OPERATION_MODE iMode, boolean prohibitTombstones)
executeDeleteRecord in interface ODatabaseDocumentInternalexecuteDeleteRecord in class ODatabaseDocumentAbstractprotected byte[] updateStream(ORecord record)
public OIdentifiable beforeCreateOperations(OIdentifiable id, String iClusterName)
public OIdentifiable beforeUpdateOperations(OIdentifiable id, String iClusterName)
public void beforeDeleteOperations(OIdentifiable id, String iClusterName)
public void afterUpdateOperations(OIdentifiable id)
public void afterCreateOperations(OIdentifiable id)
public void afterDeleteOperations(OIdentifiable id)
public boolean beforeReadOperations(OIdentifiable identifiable)
public void afterReadOperations(OIdentifiable identifiable)
public ODatabaseDocumentAbstract delete(ORecord record)
Copyright © 2009–2022 OrientDB. All rights reserved.