Package org.neo4j.gds.api
Interface RelationshipWithPropertyConsumer
-
public interface RelationshipWithPropertyConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
accept(long sourceNodeId, long targetNodeId, double property)
Called for every relationship that matches a given relation-constraintdefault RelationshipWithPropertyConsumer
andThen(RelationshipWithPropertyConsumer after)
-
-
-
Method Detail
-
accept
boolean accept(long sourceNodeId, long targetNodeId, double property)
Called for every relationship that matches a given relation-constraint- Parameters:
sourceNodeId
- mapped source node idtargetNodeId
- mapped target node idproperty
- relationship property- Returns:
true
if the iteration shall continue, otherwisefalse
.
-
andThen
default RelationshipWithPropertyConsumer andThen(RelationshipWithPropertyConsumer after)
-
-