Package org.neo4j.gds.api
Interface RelationshipProperties
-
- All Known Implementing Classes:
CSRGraphAdapter,GraphAdapter,HugeGraph,NodeFilteredGraph,UnionGraph
public interface RelationshipPropertiesGetter for property values at relationships
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublerelationshipProperty(long sourceNodeId, long targetNodeId)Returns the property value for a relationship defined by its source and target nodes.doublerelationshipProperty(long sourceNodeId, long targetNodeId, double fallbackValue)get value of property on relationship between source and target node id
-
-
-
Method Detail
-
relationshipProperty
double relationshipProperty(long sourceNodeId, long targetNodeId, double fallbackValue)get value of property on relationship between source and target node id- Parameters:
sourceNodeId- source nodetargetNodeId- target nodefallbackValue- value to use if relationship has no property value- Returns:
- the property value
-
relationshipProperty
double relationshipProperty(long sourceNodeId, long targetNodeId)Returns the property value for a relationship defined by its source and target nodes.
-
-