
public class OVertexDocument extends ODocument implements OVertex
ORecordElement.STATUS_allowChainedAccess, _fields, _fieldSize, _lazyLoad, _ordered, _owners, _schema, _trackingChanges, EMPTY_STRINGS, RECORD_TYPE_contentChanged, _dirty, _dirtyManager, _listeners, _recordFormat, _recordId, _recordVersion, _size, _source, _status| Constructor and Description |
|---|
OVertexDocument() |
OVertexDocument(OClass cl) |
OVertexDocument(String klass) |
| Modifier and Type | Method and Description |
|---|---|
OEdge |
addEdge(OVertex to) |
OEdge |
addEdge(OVertex to,
OClass type) |
OEdge |
addEdge(OVertex to,
String type) |
protected boolean |
checkDeletedInTx() |
OVertexDocument |
copy()
Copies the current instance to a new one.
|
OVertexDocument |
delete()
Deletes the record from the database.
|
static void |
deleteLinks(OVertex delegate) |
protected OPair<ODirection,String> |
getConnection(ODirection iDirection,
String iFieldName,
String... iClassNames) |
static String |
getConnectionFieldName(ODirection iDirection,
String iClassName,
boolean useVertexFieldsForEdgeLabels) |
protected Set<String> |
getEdgeFieldNames(ODirection iDirection,
String... iClassNames) |
Iterable<OEdge> |
getEdges(ODirection direction) |
Iterable<OEdge> |
getEdges(ODirection direction,
OClass... type) |
Iterable<OEdge> |
getEdges(ODirection direction,
String... labels) |
Iterable<OVertex> |
getVertices(ODirection direction) |
Iterable<OVertex> |
getVertices(ODirection direction,
OClass... type) |
Iterable<OVertex> |
getVertices(ODirection direction,
String... type) |
ORID |
moveTo(String iClassName,
String iClusterName) |
static void |
replaceLinks(ODocument iVertex,
String iFieldName,
OIdentifiable iVertexToRemove,
OIdentifiable iNewVertex) |
addOwner, asEdge, asVertex, autoConvertFieldsToClass, autoConvertValues, checkClass, checkFieldName, checkForFields, clear, clearSource, clearTrackData, containsField, convertAllMultiValuesToTrackedVersions, copyTo, deserializeFields, detach, equals, eval, eval, field, field, field, field, field, fieldNames, fields, fields, fields, fieldType, fieldValues, fill, fill, fillClassIfNeed, fromJSON, fromJSON, fromJSON, fromJSON, fromMap, fromStream, fromString, getClassName, getCollectionTimeLine, getDirtyFields, getGlobalPropertyById, getImmutableSchemaClass, getImmutableSchemaClass, getOrCreate, getOriginalValue, getOwner, getOwners, getProperty, getPropertyNames, getRawEntries, getRawProperty, getRecordType, getSchemaClass, getSchemaType, hashCode, hasOwners, hasSameContentOf, internalReset, isAllowChainedAccess, isEdge, isEmbedded, isEmpty, isLazyLoad, isOrdered, isTrackingChanges, isVertex, iterator, load, load, load, merge, merge, mergeMap, placeholder, rawContainsField, rawField, rawField, readExternal, reload, removeField, removeOwner, removeProperty, reset, save, save, save, setAllowChainedAccess, setClass, setClassName, setClassNameIfExists, setDirty, setDirtyNoChanged, setFieldType, setLazyLoad, setOrdered, setProperty, setProperty, setTrackingChanges, setup, toMap, toStream, toStream, toString, toString, track, undo, undo, unload, unTrack, validate, validateEmbedded, validateField, validateLink, validateLinkCollection, validateType, writeExternaladdIdentityChangeListener, addListener, checkForLoading, compare, compareTo, flatCopy, getDatabase, getDatabaseIfDefined, getDatabaseIfDefinedInternal, getDatabaseInternal, getDirtyManager, getIdentity, getInternalStatus, getRecord, getSize, getVersion, invokeListenerEvent, isContentChanged, isDirty, isLocked, load, lock, lockingStrategy, onAfterIdentityChanged, onBeforeIdentityChanged, reload, reload, reload, removeIdentityChangeListener, removeListener, save, setContentChanged, setDirtyManager, setIdentity, setIdentity, setInternalStatus, setVersion, toJSON, toJSON, toJSON, toJSON, unlock, unsetDirtyclone, finalize, getClass, notify, notifyAll, wait, wait, waitasEdge, asVertex, getProperty, getPropertyNames, getSchemaType, isEdge, isVertex, removeProperty, setProperty, setPropertyclear, detach, fromJSON, getDatabase, getIdentity, getSize, getVersion, isDirty, load, reload, reload, reset, save, save, save, save, toJSON, toJSON, unloadgetInternalStatus, getOwner, setDirty, setDirtyNoChanged, setInternalStatusgetRecord, isLocked, lock, lockingStrategy, unlockcompareTocompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongfromStream, toStreamforEach, spliteratorpublic OVertexDocument(OClass cl)
public OVertexDocument()
public OVertexDocument(String klass)
public Iterable<OEdge> getEdges(ODirection direction)
public Iterable<OEdge> getEdges(ODirection direction, String... labels)
public Iterable<OEdge> getEdges(ODirection direction, OClass... type)
public Iterable<OVertex> getVertices(ODirection direction)
getVertices in interface OVertexpublic Iterable<OVertex> getVertices(ODirection direction, String... type)
getVertices in interface OVertexpublic Iterable<OVertex> getVertices(ODirection direction, OClass... type)
getVertices in interface OVertexpublic OVertexDocument delete()
ORecorddelete in interface ORecorddelete in class ORecordAbstractpublic static void deleteLinks(OVertex delegate)
public static String getConnectionFieldName(ODirection iDirection, String iClassName, boolean useVertexFieldsForEdgeLabels)
protected Set<String> getEdgeFieldNames(ODirection iDirection, String... iClassNames)
protected boolean checkDeletedInTx()
public static void replaceLinks(ODocument iVertex, String iFieldName, OIdentifiable iVertexToRemove, OIdentifiable iNewVertex)
protected OPair<ODirection,String> getConnection(ODirection iDirection, String iFieldName, String... iClassNames)
public OVertexDocument copy()
ODocumentCopyright © 2009–2025 OrientDB. All rights reserved.