Class OViewEmbedded
java.lang.Object
com.orientechnologies.orient.core.metadata.schema.OClassImpl
com.orientechnologies.orient.core.metadata.schema.OViewImpl
com.orientechnologies.orient.core.metadata.schema.OViewEmbedded
- All Implemented Interfaces:
OClass,OView,Comparable<OClass>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.metadata.schema.OClass
OClass.ATTRIBUTES, OClass.INDEX_TYPE -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.metadata.schema.OViewImpl
lastRefreshTimeFields inherited from class com.orientechnologies.orient.core.metadata.schema.OClassImpl
abstractClass, allocation, clusterIds, clusterSelection, customFields, defaultClusterId, description, hashCode, name, NOT_EXISTENT_CLUSTER_ID, overSize, owner, polymorphicClusterIds, properties, shortName, strictMode, subclasses, superClassesFields inherited from interface com.orientechnologies.orient.core.metadata.schema.OClass
EDGE_CLASS_NAME, VERTEX_CLASS_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOViewEmbedded(OSchemaShared iOwner, String iName) protectedOViewEmbedded(OSchemaShared iOwner, String iName, OViewConfig cfg, int[] iClusterIds) -
Method Summary
Modifier and TypeMethodDescriptionaddCluster(String clusterNameOrId) addClusterId(int clusterId) protected OClassaddClusterIdInternal(ODatabaseDocumentInternal database, int clusterId) protected voidaddClusterIdToIndexes(int iId) addProperty(String propertyName, OType type, OType linkedType, OClass linkedClass, boolean unsafe) addSuperClass(OClass superClass) voidprotected OPropertyImplvoiddropProperty(String propertyName) removeBaseClassInternal(OClass baseClass) removeClusterId(int clusterId) removeSuperClass(OClass superClass) replaceViewClusterAndIndex(int cluster, List<OIndex> indexes, long lastRefreshTime) setAbstract(boolean isAbstract) setClusterSelection(String value) voidsetDefaultClusterId(int defaultClusterId) setDescription(String iDescription) setEncryption(String iValue) setOverSize(float overSize) Sets the oversize factor.setShortName(String shortName) setStrictMode(boolean isStrict) setSuperClasses(List<? extends OClass> classes) protected voidsetSuperClassesInternal(List<? extends OClass> classes) truncateCluster(String clusterName) Removes all data in the cluster with given name.Methods inherited from class com.orientechnologies.orient.core.metadata.schema.OViewImpl
addActiveIndexes, count, fromStream, getActiveIndexNames, getClassIndexes, getClassIndexes, getLastRefreshTime, getNodes, getOriginRidField, getQuery, getRequiredIndexesInfo, getUpdateIntervalSeconds, getUpdateStrategy, getWatchClasses, inactivateIndexes, isUpdatable, toNetworkStream, toStreamMethods inherited from class com.orientechnologies.orient.core.metadata.schema.OClassImpl
acquireSchemaReadLock, acquireSchemaWriteLock, acquireSchemaWriteLock, addBaseClass, addClusters, addPolymorphicClusterIds, areIndexed, areIndexed, checkAllLikedObjects, checkEmbedded, checkParametersConflict, checkParametersConflict, checkPersistentPropertyType, compareTo, count, createIndex, createIndex, createIndex, createIndex, createIndex, createProperty, createProperty, createProperty, createProperty, createProperty, declaredProperties, decodeClassName, equals, existsProperty, extractFieldTypes, fireDatabaseMigration, firePropertyNameMigration, get, getAllBaseClasses, getAllocation, getAllSubclasses, getAllSuperClasses, getAutoShardingIndex, getBaseClasses, getClassIndex, 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, matchesType, onlyAddPolymorphicClusterId, onlyRemovePolymorphicClusterId, onPostIndexManagement, properties, propertiesMap, readableClusters, releaseSchemaReadLock, releaseSchemaWriteLock, releaseSchemaWriteLock, releaseSchemaWriteLock, removeCustom, removePolymorphicClusterId, removePolymorphicClusterIds, renameCluster, renameProperty, set, setClusterIds, setClusterSelection, setClusterSelectionInternal, setSuperClass, setSuperClassesByNames, toString, truncate, truncateClusterInternal, validatePropertyNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.orientechnologies.orient.core.metadata.schema.OClass
areIndexed, areIndexed, count, createIndex, createIndex, createIndex, createIndex, createIndex, createProperty, createProperty, createProperty, createProperty, createProperty, declaredProperties, existsProperty, get, getAllBaseClasses, getAllocation, getAllSubclasses, getAllSuperClasses, getAutoShardingIndex, getBaseClasses, getClassIndex, getClassInvolvedIndexes, getClassInvolvedIndexes, getClassOverSize, getClusterForNewInstance, getClusterIds, getClusterSelection, getCustom, getCustomKeys, getDefaultClusterId, getDescription, getIndexedProperties, getIndexes, getIndexes, getInvolvedIndexes, getInvolvedIndexes, getName, getOverSize, getPolymorphicClusterIds, getProperty, getShortName, getSize, getStreamableName, getSubclasses, getSuperClass, getSuperClasses, getSuperClassesNames, hasClusterId, hasPolymorphicClusterId, hasSuperClasses, isAbstract, isEdgeType, isStrictMode, isSubClassOf, isSubClassOf, isSuperClassOf, isVertexType, properties, propertiesMap, removeCustom, set, setClusterSelection, setSuperClass, truncate
-
Constructor Details
-
Method Details
-
addProperty
public OProperty addProperty(String propertyName, OType type, OType linkedType, OClass linkedClass, boolean unsafe) - Specified by:
addPropertyin classOClassImpl
-
setEncryption
- Specified by:
setEncryptionin classOClassImpl
-
setClusterSelection
-
setCustom
-
clearCustom
public void clearCustom() -
setSuperClasses
-
removeBaseClassInternal
- Specified by:
removeBaseClassInternalin classOClassImpl
-
addSuperClass
-
removeSuperClass
-
setSuperClassesInternal
- Specified by:
setSuperClassesInternalin classOClassImpl
-
setName
-
setDefaultClusterId
public void setDefaultClusterId(int defaultClusterId) -
addClusterIdInternal
-
setShortName
-
createPropertyInstance
- Specified by:
createPropertyInstancein classOClassImpl
-
truncateCluster
Removes all data in the cluster with given name. As result indexes for this class will be rebuilt.- Parameters:
clusterName- Name of cluster to be truncated.- Returns:
- Instance of current object.
-
setStrictMode
-
setDescription
-
addClusterId
-
removeClusterId
-
dropProperty
-
addCluster
-
setOverSize
Description copied from interface:OClassSets the oversize factor. Oversize is used to extend the record size by a factor to avoid defragmentation upon updates. 0 or 1.0 means no oversize. Default is 0.- Returns:
- Oversize factor
- See Also:
-
setAbstract
-
replaceViewClusterAndIndex
public OViewRemovedMetadata replaceViewClusterAndIndex(int cluster, List<OIndex> indexes, long lastRefreshTime) - Specified by:
replaceViewClusterAndIndexin classOViewImpl
-
addClusterIdToIndexes
protected void addClusterIdToIndexes(int iId) - Specified by:
addClusterIdToIndexesin classOClassImpl
-