public class OSchemaDistributed extends OSchemaEmbedded
OSchemaShared.ClusterIdsAreEmptyException
classes, clustersToClasses, clustersToViews, CURRENT_VERSION_NUMBER, document, internalClasses, snapshot, VERSION_NUMBER_V4, VERSION_NUMBER_V5, views
Constructor and Description |
---|
OSchemaDistributed(OSharedContext sharedContext) |
Modifier and Type | Method and Description |
---|---|
void |
acquireSchemaWriteLock(ODatabaseDocumentInternal database) |
protected OClassImpl |
createClassInstance(ODocument c) |
protected OClassImpl |
createClassInstance(String className,
int[] clusterIds) |
protected void |
doDropClass(ODatabaseDocumentInternal database,
String className) |
protected void |
doDropView(ODatabaseDocumentInternal database,
String name) |
protected void |
doRealCreateClass(ODatabaseDocumentInternal database,
String className,
List<OClass> superClassesList,
int[] clusterIds) |
protected void |
doRealCreateView(ODatabaseDocumentInternal database,
OViewConfig config,
int[] clusterIds) |
protected boolean |
isRunLocal(ODatabaseDocumentInternal database) |
void |
releaseSchemaWriteLock(ODatabaseDocumentInternal database,
boolean iSave) |
void |
sendCommand(ODatabaseDocumentInternal database,
String command) |
checkClustersAreAbsent, checkEmbedded, createClass, createClass, createClassInternal, createClusters, createView, createView, createView, createViewInstance, createViewInstance, createViewInternal, doCreateClass, dropClass, dropClassInternal, dropView, dropViewInternal, getOrCreateClass
acquireSchemaReadLock, addBlobCluster, addClusterClassMap, addClusterViewMap, checkClassNameIfValid, checkFieldNameIfValid, close, countClasses, countViews, create, createAbstractClass, createAbstractClass, createAbstractClass, createClass, createClass, createClass, createClass, createClusterIfNeeded, createGlobalProperty, executeThroughDistributedStorage, existsClass, existsView, findOrCreateGlobalProperty, forceSnapshot, fromStream, getBlobClusters, getClass, getClass, getClassByClusterId, getClasses, getClassesRelyOnCluster, getClusterId, getClusterSelectionFactory, getDocument, getGlobalProperties, getGlobalPropertyById, getIdentity, getOrCreateClass, getOrCreateClass, getVersion, getView, getViewByClusterId, getViews, getViewsRelyOnCluster, load, makeSnapshot, onPostIndexManagement, releaseSchemaReadLock, releaseSchemaWriteLock, reload, removeBlobCluster, setDirty, toNetworkStream, toStream
public OSchemaDistributed(OSharedContext sharedContext)
protected OClassImpl createClassInstance(String className, int[] clusterIds)
createClassInstance
in class OSchemaEmbedded
protected OClassImpl createClassInstance(ODocument c)
createClassInstance
in class OSchemaEmbedded
public void acquireSchemaWriteLock(ODatabaseDocumentInternal database)
acquireSchemaWriteLock
in class OSchemaShared
public void releaseSchemaWriteLock(ODatabaseDocumentInternal database, boolean iSave)
releaseSchemaWriteLock
in class OSchemaShared
protected void doDropClass(ODatabaseDocumentInternal database, String className)
doDropClass
in class OSchemaEmbedded
protected void doDropView(ODatabaseDocumentInternal database, String name)
doDropView
in class OSchemaEmbedded
protected void doRealCreateView(ODatabaseDocumentInternal database, OViewConfig config, int[] clusterIds) throws OSchemaShared.ClusterIdsAreEmptyException
doRealCreateView
in class OSchemaEmbedded
OSchemaShared.ClusterIdsAreEmptyException
protected void doRealCreateClass(ODatabaseDocumentInternal database, String className, List<OClass> superClassesList, int[] clusterIds) throws OSchemaShared.ClusterIdsAreEmptyException
doRealCreateClass
in class OSchemaEmbedded
OSchemaShared.ClusterIdsAreEmptyException
protected boolean isRunLocal(ODatabaseDocumentInternal database)
isRunLocal
in class OSchemaEmbedded
public void sendCommand(ODatabaseDocumentInternal database, String command)
sendCommand
in class OSchemaShared
Copyright © 2009–2020 OrientDB. All rights reserved.