@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(Object o)
Deprecated.
|
long |
getDestination()
Deprecated.
|
String |
getRelationshipType()
Deprecated.
|
long |
getSource()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
setDestination(long destination)
Deprecated.
|
void |
setRelationshipType(String relationshipType)
Deprecated.
|
void |
setSource(long source)
Deprecated.
|
String |
toString()
Deprecated.
|
addProperty, addProperty, getEntityPropertyNames, getId, getNumberOfProperties, getProperty, removeProperty, setIdpublic Edge()
public Edge(int propertiesCapacity)
propertiesCapacity - preallocate the capacity for the propertiespublic String getRelationshipType()
public void setRelationshipType(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(Object o)
equals in class GraphEntitypublic int hashCode()
hashCode in class GraphEntitypublic String toString()
toString in class GraphEntityCopyright © 2024. All rights reserved.