public class OClassEmbedded extends OClassImpl
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 |
---|---|
protected |
OClassEmbedded(OSchemaShared iOwner,
ODocument iDocument,
String iName) |
protected |
OClassEmbedded(OSchemaShared iOwner,
String iName) |
protected |
OClassEmbedded(OSchemaShared iOwner,
String iName,
int[] iClusterIds) |
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, getClusterForNewInstance, 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 OClassEmbedded(OSchemaShared iOwner, String iName)
protected OClassEmbedded(OSchemaShared iOwner, String iName, int[] iClusterIds)
protected OClassEmbedded(OSchemaShared iOwner, ODocument iDocument, String iName)
public OProperty addProperty(String propertyName, OType type, OType linkedType, OClass linkedClass, boolean unsafe)
addProperty
in class OClassImpl
public OClassImpl setEncryption(String iValue)
setEncryption
in class OClassImpl
public void setClusterSelectionInternal(String clusterSelection)
public OClassImpl setCustom(String name, String value)
public void clearCustom()
protected void clearCustomInternal()
protected OClass removeBaseClassInternal(OClass baseClass)
removeBaseClassInternal
in class OClassImpl
protected void addSuperClassInternal(ODatabaseDocumentInternal database, OClass superClass)
protected void removeSuperClassInternal(OClass superClass)
protected void setSuperClassesInternal(List<? extends OClass> classes)
setSuperClassesInternal
in class OClassImpl
protected void setNameInternal(ODatabaseDocumentInternal database, String name)
public void setDefaultClusterId(int defaultClusterId)
protected OClass addClusterIdInternal(ODatabaseDocumentInternal database, int clusterId)
protected void setShortNameInternal(ODatabaseDocumentInternal database, String iShortName)
protected OPropertyImpl createPropertyInstance(ODocument p)
createPropertyInstance
in class OClassImpl
public OPropertyImpl addPropertyInternal(String name, OType type, OType linkedType, OClass linkedClass, boolean unsafe)
protected OPropertyEmbedded createPropertyInstance(OGlobalProperty global)
public OClass truncateCluster(String clusterName)
clusterName
- Name of cluster to be truncated.public OClass setStrictMode(boolean isStrict)
protected void setStrictModeInternal(boolean iStrict)
protected void setDescriptionInternal(String iDescription)
public OClass addClusterId(int clusterId)
public OClass removeClusterId(int clusterId)
public OClass removeClusterId(int clusterId, boolean force)
protected OClass removeClusterIdInternal(ODatabaseDocumentInternal database, int clusterToRemove)
public void dropProperty(String propertyName)
protected void dropPropertyInternal(ODatabaseDocumentInternal database, String iPropertyName)
public OClass setOverSize(float overSize)
OClass
OClass.getOverSize()
protected void setOverSizeInternal(ODatabaseDocumentInternal database, float overSize)
public OClass setAbstract(boolean isAbstract)
protected void setAbstractInternal(ODatabaseDocumentInternal database, boolean isAbstract)
Copyright © 2009–2020 OrientDB. All rights reserved.