com.thinkaurelius.titan.core.olap

## Interface OLAPResult<S>

- All Known Implementing Classes:
    FulgoraResult

      public interface OLAPResult<S>

  The result of an `OLAPJob` execution against a graph. The result contains the final vertex states for the vertices in the graph which can be retrieved by vertex id for iterated over like a map.
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<Map.Entry<Long,S>>` | `entries()` Returns an `Iterable` over all final (vertex-id,vertex-state) pairs resulting from a job's execution.
    `S` | `get(long vertexid)` Returns the final vertex state for a given vertex identified by its id.
    `long` | `size()` Returns the number of vertices in the result
    `Iterable<S>` | `values()` Returns an `Iterable` over all final vertex states.

- - ### Method Detail

    - #### values

          Iterable<S> values()

      Returns an `Iterable` over all final vertex states.
      Returns:

    - #### entries

          Iterable<Map.Entry<Long,S>> entries()

      Returns an `Iterable` over all final (vertex-id,vertex-state) pairs resulting from a job's execution.
      Returns:

    - #### size

          long size()

      Returns the number of vertices in the result
      Returns:

    - #### get

          S get(long vertexid)

      Returns the final vertex state for a given vertex identified by its id.
      Parameters:
        `vertexid` -
      Returns:

Copyright © 2012–2014. All rights reserved.