Class TraversalProduct

java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.util.TraversalProduct

public final class TraversalProduct extends Object
This class represents the state of the output of a child Traversal where it is either productive or not. It is productive if it has at least one traverser within it, even if that traverser is holding a null.
  • Field Details

  • Method Details

    • get

      public Object get()
    • isProductive

      public boolean isProductive()
    • ifProductive

      public void ifProductive(Consumer<Object> c)