Cole-Greer commented on code in PR #3157:
URL: https://github.com/apache/tinkerpop/pull/3157#discussion_r2277830024
##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/HasContainerHolder.java:
##########
@@ -34,4 +40,30 @@ public interface HasContainerHolder {
public default void removeHasContainer(final HasContainer hasContainer) {
throw new UnsupportedOperationException("The holder does not support
container removal: " + this.getClass().getCanonicalName());
}
+
+ public default Collection<P<?>> getPredicates() {
+ return getHasContainers().stream().map(p ->
p.getPredicate()).collect(Collectors.toList());
Review Comment:
Should pin variables for all predicates
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]