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 booleanaccept(long sourceNodeId, long targetNodeId, double property)Called for every relationship that matches a given relation-constraintdefault RelationshipWithPropertyConsumerandThen(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:
trueif the iteration shall continue, otherwisefalse.
-
andThen
default RelationshipWithPropertyConsumer andThen(RelationshipWithPropertyConsumer after)
-
-