org.apache.tinkerpop.gremlin.process.computer

## Class VertexComputeKey

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.computer.VertexComputeKey

- All Implemented Interfaces:
    Serializable

      public final class VertexComputeKey
      extends Object
      implements Serializable

  A `VertexComputeKey` specifies a property of a vertex that will be used to store `GraphComputer` data. If the VertexComputeKey is specified as transient, it will be dropped from the vertex prior to returning the `ComputerResult` graph.
  Author:
    Marko A. Rodriguez (http://markorodriguez.com)
  See Also:
    Serialized Form

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object object)`
    `String` | `getKey()`
    `int` | `hashCode()`
    `boolean` | `isTransient()`
    `static VertexComputeKey` | `of(String key, boolean isTransient)`

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

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

- - ### Method Detail

    - #### getKey

          public String getKey()

    - #### isTransient

          public boolean isTransient()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object object)

      Overrides:
        `equals` in class `Object`

    - #### of

          public static VertexComputeKey of(String key,
                                            boolean isTransient)

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