Package org.neo4j.graphalgo.core.huge
Class HugeGraph.GetTargetConsumer
- java.lang.Object
-
- org.neo4j.graphalgo.core.huge.HugeGraph.GetTargetConsumer
-
- All Implemented Interfaces:
RelationshipConsumer
- Enclosing class:
- HugeGraph
public static class HugeGraph.GetTargetConsumer extends java.lang.Object implements RelationshipConsumer
-
-
Field Summary
Fields Modifier and Type Field Description long
target
-
Constructor Summary
Constructors Constructor Description GetTargetConsumer(long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(long s, long t)
Called for every edge that matches a given relation-constraint-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.graphalgo.api.RelationshipConsumer
andThen
-
-
-
-
Method Detail
-
accept
public boolean accept(long s, long t)
Description copied from interface:RelationshipConsumer
Called for every edge that matches a given relation-constraint- Specified by:
accept
in interfaceRelationshipConsumer
- Parameters:
s
- mapped source node idt
- mapped target node id- Returns:
true
if the iteration shall continue, otherwisefalse
.
-
-