Interface CompositeRelationshipIterator.RelationshipConsumer

  • Enclosing interface:
    CompositeRelationshipIterator
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface CompositeRelationshipIterator.RelationshipConsumer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean consume​(long source, long target, double[] properties)
      This method is called for every relationship of the specified iterator.
    • Method Detail

      • consume

        boolean consume​(long source,
                        long target,
                        double[] properties)
        This method is called for every relationship of the specified iterator. The order of the properties is equivalent to the order of the property key array returned by CompositeRelationshipIterator.propertyKeys(). The provided array for properties might be reused across different invocations and should not be stored without making a copy.