public class OSchemaRemote extends OSchemaShared
OSchemaShared.ClusterIdsAreEmptyException
classes, clustersToClasses, clustersToViews, CURRENT_VERSION_NUMBER, document, internalClasses, snapshot, VERSION_NUMBER_V4, VERSION_NUMBER_V5, views
Constructor and Description |
---|
OSchemaRemote() |
acquireSchemaReadLock, 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, sendCommand, setDirty, toNetworkStream, toStream
public OClass getOrCreateClass(ODatabaseDocumentInternal database, String iClassName, OClass... superClasses)
getOrCreateClass
in class OSchemaShared
protected OClassImpl createClassInstance(ODocument c)
createClassInstance
in class OSchemaShared
protected OViewImpl createViewInstance(ODocument c)
createViewInstance
in class OSchemaShared
public OClass createClass(ODatabaseDocumentInternal database, String className, int[] clusterIds, OClass... superClasses)
createClass
in class OSchemaShared
public OClass createClass(ODatabaseDocumentInternal database, String className, int clusters, OClass... superClasses)
createClass
in class OSchemaShared
public OView createView(ODatabaseDocumentInternal database, OViewConfig cfg, ViewCreationListener listener) throws UnsupportedOperationException
createView
in class OSchemaShared
UnsupportedOperationException
public OView createView(ODatabaseDocumentInternal database, OViewConfig cfg)
createView
in class OSchemaShared
public OView createView(ODatabaseDocumentInternal database, String name, String statement, Map<String,Object> metadata)
createView
in class OSchemaShared
public void dropClass(ODatabaseDocumentInternal database, String className)
dropClass
in class OSchemaShared
public void dropView(ODatabaseDocumentInternal database, String name)
dropView
in class OSchemaShared
public void acquireSchemaWriteLock(ODatabaseDocumentInternal database)
acquireSchemaWriteLock
in class OSchemaShared
public void releaseSchemaWriteLock(ODatabaseDocumentInternal database, boolean iSave)
releaseSchemaWriteLock
in class OSchemaShared
public void checkEmbedded()
checkEmbedded
in class OSchemaShared
public void update(ODocument schema)
public int addBlobCluster(ODatabaseDocumentInternal database, int clusterId)
addBlobCluster
in class OSchemaShared
public void removeBlobCluster(ODatabaseDocumentInternal database, String clusterName)
removeBlobCluster
in class OSchemaShared
Copyright © 2009–2020 OrientDB. All rights reserved.