public class OClassDistributed extends OClassEmbedded
OClass.ATTRIBUTES, OClass.INDEX_TYPE
abstractClass, clusterIds, clusterSelection, customFields, defaultClusterId, description, document, hashCode, name, NOT_EXISTENT_CLUSTER_ID, overSize, owner, polymorphicClusterIds, properties, shortName, strictMode, subclasses, superClasses
EDGE_CLASS_NAME, VERTEX_CLASS_NAME
Modifier | Constructor and Description |
---|---|
|
OClassDistributed(OSchemaShared iOwner,
ODocument iDocument,
String iName) |
protected |
OClassDistributed(OSchemaShared iOwner,
String iName) |
|
OClassDistributed(OSchemaShared iOwner,
String iName,
int[] iClusterIds) |
addClusterIdInternal, addPropertyInternal, addSuperClassInternal, clearCustomInternal, dropPropertyInternal, removeBaseClassInternal, removeClusterId, removeClusterIdInternal, removeSuperClassInternal, setAbstractInternal, setClusterSelectionInternal, setCustomInternal, setDefaultClusterId, setDescriptionInternal, setNameInternal, setOverSizeInternal, setShortNameInternal, setStrictModeInternal, setSuperClassesInternal
acquireSchemaReadLock, acquireSchemaWriteLock, addBaseClass, addClusters, addPolymorphicClusterId, addPolymorphicClusterIds, areIndexed, areIndexed, checkEmbedded, checkParametersConflict, checkParametersConflict, checkPersistentPropertyType, compareTo, count, count, createIndex, createIndex, createIndex, createIndex, createIndex, createProperty, createProperty, createProperty, createProperty, createProperty, declaredProperties, decodeClassName, equals, existsProperty, extractFieldTypes, fireDatabaseMigration, firePropertyNameMigration, fromStream, fromStream, get, getAllBaseClasses, getAllSubclasses, getAllSuperClasses, getAutoShardingIndex, getBaseClasses, getClassIndex, getClassIndexes, getClassIndexes, getClassInvolvedIndexes, getClassInvolvedIndexes, getClassOverSize, getClusterIds, getClusterSelection, getCustom, getCustomInternal, getCustomKeys, getDatabase, getDefaultClusterId, getDescription, getEscapedName, getIndexedProperties, getIndexedProperties, getIndexes, getIndexes, getInvolvedIndexes, getInvolvedIndexes, getName, getOverSize, getOwner, getPolymorphicClusterIds, getProperty, getShortName, getSize, getStreamableName, getSubclasses, getSuperClass, getSuperClasses, getSuperClassesNames, hasClusterId, hashCode, hasPolymorphicClusterId, hasSuperClasses, isAbstract, isEdgeType, isStrictMode, isSubClassOf, isSubClassOf, isSuperClassOf, isVertexType, onPostIndexManagement, properties, propertiesMap, readableClusters, releaseSchemaReadLock, releaseSchemaWriteLock, releaseSchemaWriteLock, removeCustom, removePolymorphicClusterId, removePolymorphicClusterIds, renameCluster, renameProperty, set, setClusterIds, setClusterSelection, setClusterSelectionInternal, setEncryptionInternal, setSuperClass, setSuperClassesByNames, toNetworkStream, toStream, toString, truncate, truncateClusterInternal, validatePropertyName
protected OClassDistributed(OSchemaShared iOwner, String iName)
public OClassDistributed(OSchemaShared iOwner, String iName, int[] iClusterIds)
public OClassDistributed(OSchemaShared iOwner, ODocument iDocument, String iName)
protected OPropertyImpl createPropertyInstance(ODocument p)
createPropertyInstance
in class OClassEmbedded
protected OPropertyEmbedded createPropertyInstance(OGlobalProperty global)
createPropertyInstance
in class OClassEmbedded
public OProperty addProperty(String propertyName, OType type, OType linkedType, OClass linkedClass, boolean unsafe)
addProperty
in class OClassEmbedded
public OClassImpl setEncryption(String iValue)
setEncryption
in class OClassEmbedded
public OClass setClusterSelection(String value)
setClusterSelection
in interface OClass
setClusterSelection
in class OClassEmbedded
public OClassImpl setCustom(String name, String value)
setCustom
in interface OClass
setCustom
in class OClassEmbedded
public void clearCustom()
clearCustom
in interface OClass
clearCustom
in class OClassEmbedded
public OClass setSuperClasses(List<? extends OClass> classes)
setSuperClasses
in interface OClass
setSuperClasses
in class OClassEmbedded
public OClass addSuperClass(OClass superClass)
addSuperClass
in interface OClass
addSuperClass
in class OClassEmbedded
public OClass removeSuperClass(OClass superClass)
removeSuperClass
in interface OClass
removeSuperClass
in class OClassEmbedded
public OClass setName(String name)
setName
in interface OClass
setName
in class OClassEmbedded
public OClass setShortName(String shortName)
setShortName
in interface OClass
setShortName
in class OClassEmbedded
public OClass truncateCluster(String clusterName)
OClassEmbedded
truncateCluster
in interface OClass
truncateCluster
in class OClassEmbedded
clusterName
- Name of cluster to be truncated.public OClass setStrictMode(boolean isStrict)
setStrictMode
in interface OClass
setStrictMode
in class OClassEmbedded
public OClass setDescription(String iDescription)
setDescription
in interface OClass
setDescription
in class OClassEmbedded
public OClass addClusterId(int clusterId)
addClusterId
in interface OClass
addClusterId
in class OClassEmbedded
public OClass removeClusterId(int clusterId)
removeClusterId
in interface OClass
removeClusterId
in class OClassEmbedded
public void dropProperty(String propertyName)
dropProperty
in interface OClass
dropProperty
in class OClassEmbedded
public OClass addCluster(String clusterNameOrId)
addCluster
in interface OClass
addCluster
in class OClassEmbedded
public OClass setOverSize(float overSize)
OClass
setOverSize
in interface OClass
setOverSize
in class OClassEmbedded
OClass.getOverSize()
public OClass setAbstract(boolean isAbstract)
setAbstract
in interface OClass
setAbstract
in class OClassEmbedded
public int getClusterForNewInstance(ODocument doc)
getClusterForNewInstance
in interface OClass
getClusterForNewInstance
in class OClassImpl
public int getClusterForNewInstance(ODatabaseDocumentDistributed db, ODocument doc)
public ODistributedConfiguration readConfiguration(ODatabaseDocumentDistributed db, ODistributedServerManager manager)
protected boolean isDistributedCommand(ODatabaseDocumentInternal database)
Copyright © 2009–2020 OrientDB. All rights reserved.