Class OViewImpl
java.lang.Object
com.orientechnologies.orient.core.metadata.schema.OClassImpl
com.orientechnologies.orient.core.metadata.schema.OViewImpl
- All Implemented Interfaces:
OClass,OView,Comparable<OClass>
- Direct Known Subclasses:
OViewEmbedded,OViewRemote
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.metadata.schema.OClass
OClass.ATTRIBUTES, OClass.INDEX_TYPE -
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotectedOViewImpl(OSchemaShared iOwner, String iName) protectedOViewImpl(OSchemaShared iOwner, String iName, OViewConfig cfg, int[] iClusterIds) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActiveIndexes(List<String> names) longcount(boolean isPolymorphic) Returns the number of the records of this class and based on polymorphic parameter it consider or not the subclasses.voidfromStream(ODocument document) voidgetClassIndexes(Collection<OIndex> indexes) Internal.longgetNodes()getQuery()intbooleanabstract OViewRemovedMetadatareplaceViewClusterAndIndex(int cluster, List<OIndex> indexes, long lastRefreshTime) toStream()Methods inherited from class com.orientechnologies.orient.core.metadata.schema.OClassImpl
acquireSchemaReadLock, acquireSchemaWriteLock, acquireSchemaWriteLock, addBaseClass, addClusterIdToIndexes, addClusters, addPolymorphicClusterIds, addProperty, areIndexed, areIndexed, checkAllLikedObjects, checkEmbedded, checkParametersConflict, checkParametersConflict, checkPersistentPropertyType, compareTo, count, createIndex, createIndex, createIndex, createIndex, createIndex, createProperty, createProperty, createProperty, createProperty, createProperty, createPropertyInstance, 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, removeBaseClassInternal, removeCustom, removePolymorphicClusterId, removePolymorphicClusterIds, renameCluster, renameProperty, set, setClusterIds, setClusterSelection, setClusterSelectionInternal, setEncryption, setSuperClass, setSuperClassesByNames, setSuperClassesInternal, 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
addCluster, addClusterId, addSuperClass, areIndexed, areIndexed, clearCustom, count, createIndex, createIndex, createIndex, createIndex, createIndex, createProperty, createProperty, createProperty, createProperty, createProperty, declaredProperties, dropProperty, 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, removeClusterId, removeCustom, removeSuperClass, set, setAbstract, setClusterSelection, setClusterSelection, setCustom, setDefaultClusterId, setDescription, setName, setOverSize, setShortName, setStrictMode, setSuperClass, setSuperClasses, truncate, truncateCluster
-
Field Details
-
lastRefreshTime
protected long lastRefreshTime
-
-
Constructor Details
-
Method Details
-
fromStream
- Overrides:
fromStreamin classOClassImpl
-
toStream
- Overrides:
toStreamin classOClassImpl
-
toNetworkStream
- Overrides:
toNetworkStreamin classOClassImpl
-
getQuery
-
count
public long count(boolean isPolymorphic) Description copied from interface:OClassReturns the number of the records of this class and based on polymorphic parameter it consider or not the subclasses.- Specified by:
countin interfaceOClass- Overrides:
countin classOClassImpl
-
getUpdateIntervalSeconds
public int getUpdateIntervalSeconds()- Specified by:
getUpdateIntervalSecondsin interfaceOView
-
getWatchClasses
- Specified by:
getWatchClassesin interfaceOView
-
getOriginRidField
- Specified by:
getOriginRidFieldin interfaceOView
-
isUpdatable
public boolean isUpdatable()- Specified by:
isUpdatablein interfaceOView
-
getUpdateStrategy
- Specified by:
getUpdateStrategyin interfaceOView
-
getNodes
-
getRequiredIndexesInfo
- Specified by:
getRequiredIndexesInfoin interfaceOView
-
getClassIndexes
- Specified by:
getClassIndexesin interfaceOClass- Overrides:
getClassIndexesin classOClassImpl- Returns:
- All indexes for given class, not the inherited ones.
-
getClassIndexes
Description copied from interface:OClassInternal. Copy all the indexes for given class, not the inherited ones, in the collection received as argument.- Specified by:
getClassIndexesin interfaceOClass- Overrides:
getClassIndexesin classOClassImpl
-
inactivateIndexes
-
addActiveIndexes
-
replaceViewClusterAndIndex
public abstract OViewRemovedMetadata replaceViewClusterAndIndex(int cluster, List<OIndex> indexes, long lastRefreshTime) -
getActiveIndexNames
- Specified by:
getActiveIndexNamesin interfaceOView
-
getLastRefreshTime
public long getLastRefreshTime()- Specified by:
getLastRefreshTimein interfaceOView
-