Class OrientElementType
java.lang.Object
com.orientechnologies.orient.core.metadata.schema.OClassAbstractDelegate
com.tinkerpop.blueprints.impls.orient.OrientElementType
- All Implemented Interfaces:
OClass,Comparable<OClass>
- Direct Known Subclasses:
OrientEdgeType,OrientVertexType
Represents a generic element class
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com) (http://orientdb.com)
-
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.OClassAbstractDelegate
delegateFields inherited from interface com.orientechnologies.orient.core.metadata.schema.OClass
EDGE_CLASS_NAME, VERTEX_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndex(String iName, OClass.INDEX_TYPE iType, OProgressListener iProgressListener, String... fields) Creates database index that is based on passed in field names.createIndex(String iName, OClass.INDEX_TYPE iType, String... fields) Creates database index that is based on passed in field names.createIndex(String iName, String iType, OProgressListener iProgressListener, ODocument metadata, String... fields) Creates database index that is based on passed in field names.createIndex(String iName, String iType, OProgressListener iProgressListener, ODocument metadata, String algorithm, String... fields) Creates database index that is based on passed in field names.createIndex(String iName, String iType, String... fields) Creates database index that is based on passed in field names.createProperty(String iPropertyName, OType iType) createProperty(String iPropertyName, OType iType, OClass iLinkedClass) createProperty(String iPropertyName, OType iType, OType iLinkedType) protected abstract StringMethods inherited from class com.orientechnologies.orient.core.metadata.schema.OClassAbstractDelegate
addCluster, addClusterId, addSuperClass, areIndexed, areIndexed, clearCustom, compareTo, count, count, createProperty, createProperty, declaredProperties, dropProperty, equals, existsProperty, get, getAllBaseClasses, getAllSubclasses, getAllSuperClasses, getAutoShardingIndex, getBaseClasses, getClassIndex, getClassIndexes, getClassIndexes, getClassInvolvedIndexes, getClassInvolvedIndexes, getClassOverSize, getClusterForNewInstance, getClusterIds, getClusterSelection, getCustom, getCustomKeys, getDefaultClusterId, getDelegate, getDescription, getIndexedProperties, getIndexes, getIndexes, getInvolvedIndexes, getInvolvedIndexes, getName, getOverSize, getPolymorphicClusterIds, getProperty, getShortName, getSize, getStreamableName, getSubclasses, getSuperClass, getSuperClasses, getSuperClassesNames, hasClusterId, hashCode, hasPolymorphicClusterId, hasSuperClasses, isAbstract, isStrictMode, isSubClassOf, isSubClassOf, isSuperClassOf, properties, propertiesMap, removeClusterId, removeCustom, removeSuperClass, set, setAbstract, setClusterSelection, setClusterSelection, setCustom, setDefaultClusterId, setDescription, setName, setOverSize, setShortName, setStrictMode, setSuperClass, setSuperClasses, toString, truncate, truncateClusterMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.metadata.schema.OClass
isEdgeType, isVertexType
-
Field Details
-
graph
-
-
Constructor Details
-
OrientElementType
-
-
Method Details
-
createProperty
- Specified by:
createPropertyin interfaceOClass- Overrides:
createPropertyin classOClassAbstractDelegate
-
createProperty
- Specified by:
createPropertyin interfaceOClass- Overrides:
createPropertyin classOClassAbstractDelegate
-
createProperty
- Specified by:
createPropertyin interfaceOClass- Overrides:
createPropertyin classOClassAbstractDelegate
-
createIndex
Description copied from interface:OClassCreates database index that is based on passed in field names. Given index will be added into class instance and associated with database index.- Specified by:
createIndexin interfaceOClass- Overrides:
createIndexin classOClassAbstractDelegate- Parameters:
iName- Database index nameiType- Index type.fields- Field names from which index will be created.- Returns:
- Class index registered inside of given class ans associated with database index.
-
createIndex
Description copied from interface:OClassCreates database index that is based on passed in field names. Given index will be added into class instance and associated with database index.- Specified by:
createIndexin interfaceOClass- Overrides:
createIndexin classOClassAbstractDelegate- Parameters:
iName- Database index nameiType- Index type.fields- Field names from which index will be created.- Returns:
- Class index registered inside of given class ans associated with database index.
-
createIndex
public OIndex createIndex(String iName, OClass.INDEX_TYPE iType, OProgressListener iProgressListener, String... fields) Description copied from interface:OClassCreates database index that is based on passed in field names. Given index will be added into class instance.- Specified by:
createIndexin interfaceOClass- Overrides:
createIndexin classOClassAbstractDelegate- Parameters:
iName- Database index name.iType- Index type.iProgressListener- Progress listener.fields- Field names from which index will be created.- Returns:
- Class index registered inside of given class ans associated with database index.
-
createIndex
public OIndex createIndex(String iName, String iType, OProgressListener iProgressListener, ODocument metadata, String algorithm, String... fields) Description copied from interface:OClassCreates database index that is based on passed in field names. Given index will be added into class instance.- Specified by:
createIndexin interfaceOClass- Overrides:
createIndexin classOClassAbstractDelegate- Parameters:
iName- Database index name.iType- Index type.iProgressListener- Progress listener.metadata- Additional parameters which will be added in index configuration document as "metadata" field.algorithm- Algorithm to use for indexing.fields- Field names from which index will be created. @return Class index registered inside of given class ans associated with database index.
-
createIndex
public OIndex createIndex(String iName, String iType, OProgressListener iProgressListener, ODocument metadata, String... fields) Description copied from interface:OClassCreates database index that is based on passed in field names. Given index will be added into class instance.- Specified by:
createIndexin interfaceOClass- Overrides:
createIndexin classOClassAbstractDelegate- Parameters:
iName- Database index name.iType- Index type.iProgressListener- Progress listener.metadata- Additional parameters which will be added in index configuration document as "metadata" field.fields- Field names from which index will be created. @return Class index registered inside of given class ans associated with database index.
-
getTypeName
-