org.apache.tinkerpop.gremlin.process.computer

## Interface ComputerResult

- All Superinterfaces:
    AutoCloseable

      public interface ComputerResult
      extends AutoCloseable

  The result of the `GraphComputer`'s computation. This is returned in a `Future` by `GraphComputer.submit()`. A GraphComputer computation yields two things: an updated view of the computed on `Graph` and any computational sideEffects called `Memory`.
  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Close the computed `GraphComputer` result.
    `Graph` | `graph()` Get the `Graph` computed as determined by `GraphComputer.Persist` and `GraphComputer.ResultGraph`.
    `Memory` | `memory()` Get the GraphComputer's computational sideEffects known as `Memory`.

- - ### Method Detail

    - #### graph

          Graph graph()

      Get the `Graph` computed as determined by `GraphComputer.Persist` and `GraphComputer.ResultGraph`.
      Returns:
        The computed graph

    - #### memory

          Memory memory()

      Get the GraphComputer's computational sideEffects known as `Memory`.
      Returns:
        the computed memory

    - #### close

          void close()
              throws Exception

      Close the computed `GraphComputer` result. The semantics of "close" differ depending on the underlying implementation. In general, when a `ComputerResult` is closed, the computed values are no longer available to the user.
      Specified by:
        `close` in interface `AutoCloseable`
      Throws:
        `Exception`

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