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

## Class MultiMetaNeo4jTrait

- java.lang.Object
- - org.apache.tinkerpop.gremlin.neo4j.structure.trait.MultiMetaNeo4jTrait

- All Implemented Interfaces:
    Neo4jTrait

      public final class MultiMetaNeo4jTrait
      extends Object
      implements Neo4jTrait

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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `VERTEX_PROPERTY_LABEL`
    `static String` | `VERTEX_PROPERTY_TOKEN`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete 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)`
    `static MultiMetaNeo4jTrait` | `instance()`
    `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()`

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

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

- - ### Field Detail

    - #### VERTEX_PROPERTY_LABEL

          public static final String VERTEX_PROPERTY_LABEL

      See Also:
        Constant Field Values

    - #### VERTEX_PROPERTY_TOKEN

          public static final String VERTEX_PROPERTY_TOKEN

  - ### Method Detail

    - #### instance

          public static MultiMetaNeo4jTrait instance()

    - #### getNodePredicate

          public Predicate<Neo4jNode> getNodePredicate()

      Specified by:
        `getNodePredicate` in interface `Neo4jTrait`

    - #### getRelationshipPredicate

          public Predicate<Neo4jRelationship> getRelationshipPredicate()

      Specified by:
        `getRelationshipPredicate` in interface `Neo4jTrait`

    - #### removeVertex

          public void removeVertex(Neo4jVertex vertex)

      Specified by:
        `removeVertex` in interface `Neo4jTrait`

    - #### getVertexProperty

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

      Specified by:
        `getVertexProperty` in interface `Neo4jTrait`

    - #### getVertexProperties

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

      Specified by:
        `getVertexProperties` in interface `Neo4jTrait`

    - #### setVertexProperty

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

      Specified by:
        `setVertexProperty` in interface `Neo4jTrait`

    - #### getCardinality

          public VertexProperty.Cardinality getCardinality(String key)

      Specified by:
        `getCardinality` in interface `Neo4jTrait`

    - #### supportsMultiProperties

          public boolean supportsMultiProperties()

      Specified by:
        `supportsMultiProperties` in interface `Neo4jTrait`

    - #### supportsMetaProperties

          public boolean supportsMetaProperties()

      Specified by:
        `supportsMetaProperties` in interface `Neo4jTrait`

    - #### removeVertexProperty

          public void removeVertexProperty(Neo4jVertexProperty vertexProperty)

      Specified by:
        `removeVertexProperty` in interface `Neo4jTrait`

    - #### setProperty

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

      Specified by:
        `setProperty` in interface `Neo4jTrait`

    - #### getProperty

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

      Specified by:
        `getProperty` in interface `Neo4jTrait`

    - #### getProperties

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

      Specified by:
        `getProperties` in interface `Neo4jTrait`

    - #### lookupVertices

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

      Specified by:
        `lookupVertices` in interface `Neo4jTrait`

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