org.apache.tinkerpop.gremlin.server.util

## Class SideEffectIterator

- java.lang.Object
- - org.apache.tinkerpop.gremlin.server.util.SideEffectIterator

- All Implemented Interfaces:
    Iterator<Object>

      public class SideEffectIterator
      extends Object
      implements Iterator<Object>

  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SideEffectIterator(Object sideEffect, String sideEffectKey)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getSideEffectAggregator()`
    `String` | `getSideEffectKey()`
    `boolean` | `hasNext()`
    `Object` | `next()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining, remove`

- - ### Constructor Detail

    - #### SideEffectIterator

          public SideEffectIterator(Object sideEffect,
                                    String sideEffectKey)

  - ### Method Detail

    - #### getSideEffectKey

          public String getSideEffectKey()

    - #### getSideEffectAggregator

          public String getSideEffectAggregator()

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<Object>`

    - #### next

          public Object next()

      Specified by:
        `next` in interface `Iterator<Object>`

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