Interface TailGlobalStepContract<S>

    • Field Detail

      • CONCRETE_STEPS

        static final List<Class<? extends Step>> CONCRETE_STEPS
        Concrete implementations of this contract that can be referenced as TinkerPop implementations.
    • Method Detail

      • getLimit

        Long getLimit()
      • getLimitAsGValue

        default GValue<Long> getLimitAsGValue()
      • getEmptyBarrier

        default TraverserSet<S> getEmptyBarrier()
        Description copied from interface: Barrier
        If a barrier is unproductive then provide an empty object suitable to the implementation which can be used to represent that state. This is important for cases like by(out().order().fold()) where the order() might filter but the fold() means the traversal is productive.
        Specified by:
        getEmptyBarrier in interface Barrier<S>
      • hasNextBarrier

        default boolean hasNextBarrier()
        Description copied from interface: Barrier
        Whether or not the step has an accessible barrier.
        Specified by:
        hasNextBarrier in interface Barrier<S>
        Returns:
        whether a barrier exists or not
      • addBarrier

        default void addBarrier​(TraverserSet<S> barrier)
        Description copied from interface: Barrier
        Add a barrier to the step. This typically happens when multiple parallel barriers need to become one barrier at a single step.
        Specified by:
        addBarrier in interface Barrier<S>
        Parameters:
        barrier - the barrier to merge in