@Deprecated public class Edge extends GraphEntity
id, propertyMap| Constructor and Description |
|---|
Edge()
Deprecated.
|
Edge(int propertiesCapacity)
Deprecated.
Use this constructor to reduce memory allocations
when properties are added to the edge
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
|
long |
getDestination()
Deprecated.
|
java.lang.String |
getRelationshipType()
Deprecated.
|
long |
getSource()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
setDestination(long destination)
Deprecated.
|
void |
setRelationshipType(java.lang.String relationshipType)
Deprecated.
|
void |
setSource(long source)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
addProperty, addProperty, getEntityPropertyNames, getId, getNumberOfProperties, getProperty, removeProperty, setIdpublic Edge()
public Edge(int propertiesCapacity)
propertiesCapacity - preallocate the capacity for the propertiespublic java.lang.String getRelationshipType()
public void setRelationshipType(java.lang.String relationshipType)
relationshipType - - the relationship type to be set.public long getSource()
public void setSource(long source)
source - - The id of the source node to be setpublic long getDestination()
public void setDestination(long destination)
destination - - The id of the destination node to be setpublic boolean equals(java.lang.Object o)
equals in class GraphEntitypublic int hashCode()
hashCode in class GraphEntitypublic java.lang.String toString()
toString in class GraphEntityCopyright © 2023. All rights reserved.