public abstract class OViewImpl extends OClassImpl implements OView
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 |
OViewImpl(OSchemaShared iOwner,
ODocument iDocument,
String iName) |
protected |
OViewImpl(OSchemaShared iOwner,
String iName,
OViewConfig cfg,
int[] iClusterIds) |
Modifier and Type | Method and Description |
---|---|
void |
addActiveIndexes(List<String> names) |
long |
count(boolean isPolymorphic)
Returns the number of the records of this class and based on polymorphic parameter it consider
or not the subclasses.
|
void |
fromStream() |
Set<OIndex> |
getClassIndexes() |
void |
getClassIndexes(Collection<OIndex> indexes)
Internal.
|
List<String> |
getInactiveIndexes() |
List<String> |
getNodes() |
String |
getOriginRidField() |
String |
getQuery() |
List<OViewConfig.OViewIndexConfig> |
getRequiredIndexesInfo() |
int |
getUpdateIntervalSeconds() |
String |
getUpdateStrategy() |
List<String> |
getWatchClasses() |
void |
inactivateIndex(String name) |
void |
inactivateIndexes() |
boolean |
isUpdatable() |
ODocument |
toNetworkStream() |
ODocument |
toStream() |
acquireSchemaReadLock, acquireSchemaWriteLock, addBaseClass, addClusters, addPolymorphicClusterId, addPolymorphicClusterIds, addProperty, areIndexed, areIndexed, checkEmbedded, checkParametersConflict, checkParametersConflict, checkPersistentPropertyType, compareTo, count, createIndex, createIndex, createIndex, createIndex, createIndex, createProperty, createProperty, createProperty, createProperty, createProperty, createPropertyInstance, declaredProperties, decodeClassName, equals, existsProperty, extractFieldTypes, fireDatabaseMigration, firePropertyNameMigration, fromStream, get, getAllBaseClasses, 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, onPostIndexManagement, properties, propertiesMap, readableClusters, releaseSchemaReadLock, releaseSchemaWriteLock, releaseSchemaWriteLock, removeBaseClassInternal, removeCustom, removePolymorphicClusterId, removePolymorphicClusterIds, renameCluster, renameProperty, set, setClusterIds, setClusterSelection, setClusterSelectionInternal, setEncryption, setEncryptionInternal, setSuperClass, setSuperClassesByNames, setSuperClassesInternal, toString, truncate, truncateClusterInternal, validatePropertyName
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addCluster, addClusterId, addSuperClass, areIndexed, areIndexed, clearCustom, count, createIndex, createIndex, createIndex, createIndex, createIndex, createProperty, createProperty, createProperty, createProperty, createProperty, declaredProperties, dropProperty, existsProperty, get, getAllBaseClasses, 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
compareTo
protected OViewImpl(OSchemaShared iOwner, String iName, OViewConfig cfg, int[] iClusterIds)
protected OViewImpl(OSchemaShared iOwner, ODocument iDocument, String iName)
public void fromStream()
fromStream
in class OClassImpl
public ODocument toStream()
toStream
in class OClassImpl
public ODocument toNetworkStream()
toNetworkStream
in class OClassImpl
public long count(boolean isPolymorphic)
OClass
count
in interface OClass
count
in class OClassImpl
public int getUpdateIntervalSeconds()
getUpdateIntervalSeconds
in interface OView
public List<String> getWatchClasses()
getWatchClasses
in interface OView
public String getOriginRidField()
getOriginRidField
in interface OView
public boolean isUpdatable()
isUpdatable
in interface OView
public String getUpdateStrategy()
getUpdateStrategy
in interface OView
public List<OViewConfig.OViewIndexConfig> getRequiredIndexesInfo()
getRequiredIndexesInfo
in interface OView
public Set<OIndex> getClassIndexes()
getClassIndexes
in interface OClass
getClassIndexes
in class OClassImpl
public void getClassIndexes(Collection<OIndex> indexes)
OClass
getClassIndexes
in interface OClass
getClassIndexes
in class OClassImpl
public void inactivateIndexes()
public void inactivateIndex(String name)
Copyright © 2009–2020 OrientDB. All rights reserved.