org.apache.tinkerpop.gremlin.neo4j.structure

## Class Neo4jGraphVariables

- java.lang.Object
- - org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraphVariables

- All Implemented Interfaces:
    Graph.Variables

      public final class Neo4jGraphVariables
      extends Object
      implements Graph.Variables

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Neo4jGraphVariables.Neo4jVariableFeatures`

    - ### Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Variables

      `Graph.Variables.Exceptions`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `Neo4jGraphVariables(Neo4jGraph graph)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<R> Optional<R>` | `get(String key)` Gets a variable.
    `Set<String>` | `keys()` Keys set for the available variables.
    `void` | `remove(String key)` Removes a variable.
    `void` | `set(String key, Object value)` Sets a variable.
    `String` | `toString()`

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

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

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Variables

      `asMap`

- - ### Constructor Detail

    - #### Neo4jGraphVariables

          protected Neo4jGraphVariables(Neo4jGraph graph)

  - ### Method Detail

    - #### keys

          public Set<String> keys()

      Description copied from interface: `Graph.Variables`
      Keys set for the available variables.
      Specified by:
        `keys` in interface `Graph.Variables`

    - #### get

          public <R> Optional<R> get(String key)

      Description copied from interface: `Graph.Variables`
      Gets a variable.
      Specified by:
        `get` in interface `Graph.Variables`

    - #### set

          public void set(String key,
                          Object value)

      Description copied from interface: `Graph.Variables`
      Sets a variable.
      Specified by:
        `set` in interface `Graph.Variables`

    - #### remove

          public void remove(String key)

      Description copied from interface: `Graph.Variables`
      Removes a variable.
      Specified by:
        `remove` in interface `Graph.Variables`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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