public class StandardVertexProperty extends AbstractVertexProperty implements StandardRelation, ReassignableRelation
type
Constructor and Description |
---|
StandardVertexProperty(long id,
PropertyKey type,
InternalVertex vertex,
Object value,
byte lifecycle) |
Modifier and Type | Method and Description |
---|---|
byte |
getLifeCycle() |
long |
getPreviousID() |
Iterable<PropertyKey> |
getPropertyKeysDirect() |
<O> O |
getValueDirect(PropertyKey key) |
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) |
void |
setUpsert(boolean upsert)
Mark this property as 'upsert', i.e.
|
element, getArity, getLen, getVertex, graph, isEdge, isPresent, isProperty, properties, setVertexAt, toString, value
direction, getCompareId, getType, id, isIncidentOn, isInvisible, isLoop, it, longId, 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
graph, isInvisible, setId, tx
hasId, id, isLoaded, isNew, isRemoved, property, valueOrNull
keys, label, properties, property, values
setVertexAt
empty, getRemover, propertyKey
key
public StandardVertexProperty(long id, PropertyKey type, InternalVertex vertex, Object value, byte lifecycle)
public void setUpsert(boolean upsert)
upsert
- public long getPreviousID()
getPreviousID
in interface StandardRelation
public void setPreviousID(long previousID)
setPreviousID
in interface StandardRelation
public <O> O getValueDirect(PropertyKey key)
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 org.apache.tinkerpop.gremlin.structure.Property
remove
in interface JanusGraphElement
remove
in interface Removable
Copyright © 2012–2023. All rights reserved.