Interface RelationshipConsumer

  • All Known Implementing Classes:
    HugeGraph.GetTargetConsumer

    public interface RelationshipConsumer
    TODO: Define interface contract, esp regarding source/target node ids returned and how that maps to relationship direction consumer interface for relationships without property.
    • Method Detail

      • accept

        boolean accept​(long sourceNodeId,
                       long targetNodeId)
        Called for every edge that matches a given relation-constraint
        Parameters:
        sourceNodeId - mapped source node id
        targetNodeId - mapped target node id
        Returns:
        true if the iteration shall continue, otherwise false.