org.apache.tinkerpop.gremlin.neo4j.structure.trait

## Interface Neo4jTrait

- All Known Implementing Classes:
    MultiMetaNeo4jTrait, NoMultiNoMetaNeo4jTrait

      public interface Neo4jTrait

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `VertexProperty.Cardinality` | `getCardinality(String key)`
    `Predicate<Neo4jNode>` | `getNodePredicate()`
    `<V> Iterator<Property<V>>` | `getProperties(Neo4jVertexProperty vertexProperty, String... keys)`
    `<V> Property<V>` | `getProperty(Neo4jVertexProperty vertexProperty, String key)`
    `Predicate<Neo4jRelationship>` | `getRelationshipPredicate()`
    `<V> Iterator<VertexProperty<V>>` | `getVertexProperties(Neo4jVertex vertex, String... keys)`
    `<V> VertexProperty<V>` | `getVertexProperty(Neo4jVertex vertex, String key)`
    `Iterator<Vertex>` | `lookupVertices(Neo4jGraph graph, List<HasContainer> hasContainers, Object... ids)`
    `void` | `removeVertex(Neo4jVertex vertex)`
    `void` | `removeVertexProperty(Neo4jVertexProperty vertexProperty)`
    `<V> Property<V>` | `setProperty(Neo4jVertexProperty vertexProperty, String key, V value)`
    `<V> VertexProperty<V>` | `setVertexProperty(Neo4jVertex vertex, VertexProperty.Cardinality cardinality, String key, V value, Object... keyValues)`
    `boolean` | `supportsMetaProperties()`
    `boolean` | `supportsMultiProperties()`

- - ### Method Detail

    - #### getNodePredicate

          Predicate<Neo4jNode> getNodePredicate()

    - #### getRelationshipPredicate

          Predicate<Neo4jRelationship> getRelationshipPredicate()

    - #### removeVertex

          void removeVertex(Neo4jVertex vertex)

    - #### getVertexProperty

          <V> VertexProperty<V> getVertexProperty(Neo4jVertex vertex,
                                                  String key)

    - #### getVertexProperties

          <V> Iterator<VertexProperty<V>> getVertexProperties(Neo4jVertex vertex,
                                                              String... keys)

    - #### setVertexProperty

          <V> VertexProperty<V> setVertexProperty(Neo4jVertex vertex,
                                                  VertexProperty.Cardinality cardinality,
                                                  String key,
                                                  V value,
                                                  Object... keyValues)

    - #### supportsMultiProperties

          boolean supportsMultiProperties()

    - #### supportsMetaProperties

          boolean supportsMetaProperties()

    - #### getCardinality

          VertexProperty.Cardinality getCardinality(String key)

    - #### removeVertexProperty

          void removeVertexProperty(Neo4jVertexProperty vertexProperty)

    - #### setProperty

          <V> Property<V> setProperty(Neo4jVertexProperty vertexProperty,
                                      String key,
                                      V value)

    - #### getProperty

          <V> Property<V> getProperty(Neo4jVertexProperty vertexProperty,
                                      String key)

    - #### getProperties

          <V> Iterator<Property<V>> getProperties(Neo4jVertexProperty vertexProperty,
                                                  String... keys)

    - #### lookupVertices

          Iterator<Vertex> lookupVertices(Neo4jGraph graph,
                                          List<HasContainer> hasContainers,
                                          Object... ids)

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