org.apache.tinkerpop.gremlin.process.traversal.step

## Interface Generating<S,E>

- All Known Subinterfaces:
    SideEffectCapable<S,E>
  All Known Implementing Classes:
    AggregateGlobalStep, AggregateLocalStep, CountGlobalStep, FoldStep, GroupCountSideEffectStep, GroupCountStep, GroupSideEffectStep, GroupStep, MaxGlobalStep, MeanGlobalStep, MinGlobalStep, ProfileSideEffectStep, ReducingBarrierStep, SubgraphStep, SumGlobalStep, TreeSideEffectStep, TreeStep

      public interface Generating<S,E>

  A `Generating` step is one that has a side-effect that needs post-processing prior to being returned.
  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default E` | `generateFinalResult(S preCap)` Post-process the side-effect and return the post-processed side-effect.

- - ### Method Detail

    - #### generateFinalResult

          default E generateFinalResult(S preCap)

      Post-process the side-effect and return the post-processed side-effect. The default implementation is simply the identity function and returns the argument.
      Parameters:
        `preCap` - the pre-processed side-effect.
      Returns:
        the post-processed side-effect.

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.