public class StandardEdge extends AbstractEdge implements StandardRelation, ReassignableRelation
type
Constructor and Description |
---|
StandardEdge(long id,
EdgeLabel label,
InternalVertex start,
InternalVertex end,
byte lifecycle) |
Modifier and Type | Method and Description |
---|---|
byte |
getLifeCycle() |
long |
getPreviousID() |
Iterable<PropertyKey> |
getPropertyKeysDirect() |
<O> O |
getValueDirect(PropertyKey type) |
void |
remove()
Deletes this entity and any incident edges or properties from the graph.
|
<O> O |
removePropertyDirect(PropertyKey key) |
void |
setPreviousID(long previousID) |
void |
setPropertyDirect(PropertyKey key,
Object value) |
getArity, getLen, getVertex, isEdge, isProperty, label, otherVertex, setVertexAt, toString, vertex
direction, getCompareId, getType, id, isIncidentOn, isInvisible, isLoop, it, longId, properties, property, tx, value, valueOrNull, verifyAccess
clone, compare, compareTo, equals, hashCode, hasId, isLoaded, isNew, isRemoved, isTemporaryId, setId
finalize, getClass, notify, notifyAll, wait, wait, wait
getArity, getLen, getVertex, it
direction, getType, isEdge, isIncidentOn, isLoop, isProperty, longId, value
getCompareId, graph, isInvisible, setId, tx
hasId, id, isLoaded, isNew, isRemoved, property, valueOrNull
keys, label, properties, property, values
setVertexAt
edgeLabel, inVertex, outVertex, vertices
public StandardEdge(long id, EdgeLabel label, InternalVertex start, InternalVertex end, byte lifecycle)
public long getPreviousID()
getPreviousID
in interface StandardRelation
public void setPreviousID(long previousID)
setPreviousID
in interface StandardRelation
public <O> O getValueDirect(PropertyKey type)
getValueDirect
in interface InternalRelation
public void setPropertyDirect(PropertyKey key, Object value)
setPropertyDirect
in interface InternalRelation
public Iterable<PropertyKey> getPropertyKeysDirect()
getPropertyKeysDirect
in interface InternalRelation
public <O> O removePropertyDirect(PropertyKey key)
removePropertyDirect
in interface InternalRelation
public byte getLifeCycle()
getLifeCycle
in interface InternalElement
ElementLifeCycle
public void remove()
JanusGraphElement
remove
in interface org.apache.tinkerpop.gremlin.structure.Element
remove
in interface JanusGraphElement
remove
in interface Removable
Copyright © 2012–2024. All rights reserved.