public abstract class AbstractProperty extends AbstractTypedRelation implements TitanProperty
| Type | Property and Description |
|---|---|
boolean |
is
Checks whether this relation is a property.
|
type| Constructor and Description |
|---|
AbstractProperty(long id,
PropertyKey type,
InternalVertex vertex,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
int |
getArity()
Number of vertices on this relation
|
int |
getLen()
Number of vertices on this relation that are aware of its existence
|
PropertyKey |
getPropertyKey()
Returns the property key of this property
|
<O> O |
getValue()
Returns the value of this property (possibly cast to the expected type).
|
TitanVertex |
getVertex()
Returns the vertex on which this property is incident.
|
InternalVertex |
getVertex(int pos)
Returns the vertex at the given position (0=OUT, 1=IN) of this relation
|
boolean |
isEdge()
Checks whether this relation is an edge.
|
boolean |
isProperty()
Checks whether this relation is a property.
|
void |
setVertexAt(int pos,
InternalVertex vertex) |
String |
toString() |
getDirection, getId, getProperty, getProperty, getProperty, getProperty, getPropertyKeys, getType, isHidden, isIncidentOn, isLoop, it, removeProperty, removeProperty, setProperty, setProperty, setProperty, txclone, compareTo, equals, getCompareId, getID, hashCode, hasId, isImplicitId, isLoaded, isNew, isRemoved, isTemporaryId, setIDfinalize, getClass, notify, notifyAll, wait, wait, waitgetDirection, getProperty, getType, isIncidentOn, isLoop, setPropertygetId, getID, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setPropertycompareTogetPropertyDirect, getPropertyKeysDirect, removePropertyDirect, setPropertyDirectgetLifeCycle, setIDisProperty in interface TitanRelationTitanPropertypublic AbstractProperty(long id,
PropertyKey type,
InternalVertex vertex,
Object value)
public void setVertexAt(int pos,
InternalVertex vertex)
public InternalVertex getVertex(int pos)
InternalRelationgetVertex in interface InternalRelationpublic final int getArity()
InternalRelationgetArity in interface InternalRelationpublic final int getLen()
InternalRelationgetLen in interface InternalRelationTitanEdge.isUnidirected()public PropertyKey getPropertyKey()
TitanPropertygetPropertyKey in interface TitanPropertyPropertyKeypublic TitanVertex getVertex()
TitanPropertygetVertex in interface TitanPropertypublic <O> O getValue()
TitanPropertygetValue in interface TitanPropertypublic boolean isProperty()
TitanRelationisProperty in interface TitanRelationTitanPropertypublic boolean isEdge()
TitanRelationisEdge in interface TitanRelationTitanEdgeCopyright © 2012–2014. All rights reserved.