Class OrientVertex

java.lang.Object
org.apache.tinkerpop.gremlin.orientdb.OrientElement
org.apache.tinkerpop.gremlin.orientdb.OrientVertex
All Implemented Interfaces:
OIdentifiable, Comparable<OIdentifiable>, Comparator<OIdentifiable>, org.apache.tinkerpop.gremlin.structure.Element, org.apache.tinkerpop.gremlin.structure.util.Host, org.apache.tinkerpop.gremlin.structure.Vertex

public final class OrientVertex extends OrientElement implements org.apache.tinkerpop.gremlin.structure.Vertex
  • Constructor Details

  • Method Details

    • createRawElement

      protected static OVertex createRawElement(OGraph graph, String label)
    • vertices

      public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction, String... labels)
      Specified by:
      vertices in interface org.apache.tinkerpop.gremlin.structure.Vertex
    • property

      public <V> org.apache.tinkerpop.gremlin.structure.VertexProperty<V> property(String key)
      Specified by:
      property in interface org.apache.tinkerpop.gremlin.structure.Element
      Specified by:
      property in interface org.apache.tinkerpop.gremlin.structure.Vertex
      Overrides:
      property in class OrientElement
    • properties

      public <V> Iterator<org.apache.tinkerpop.gremlin.structure.VertexProperty<V>> properties(String... propertyKeys)
      Specified by:
      properties in interface org.apache.tinkerpop.gremlin.structure.Element
      Specified by:
      properties in interface org.apache.tinkerpop.gremlin.structure.Vertex
      Overrides:
      properties in class OrientElement
    • getRawElement

      public OVertex getRawElement()
      Specified by:
      getRawElement in class OrientElement
    • property

      public <V> org.apache.tinkerpop.gremlin.structure.VertexProperty<V> property(String key, V value)
      Specified by:
      property in interface org.apache.tinkerpop.gremlin.structure.Element
      Specified by:
      property in interface org.apache.tinkerpop.gremlin.structure.Vertex
      Overrides:
      property in class OrientElement
    • property

      public <V> org.apache.tinkerpop.gremlin.structure.VertexProperty<V> property(String key, V value, Object... keyValues)
      Specified by:
      property in interface org.apache.tinkerpop.gremlin.structure.Vertex
    • property

      public <V> org.apache.tinkerpop.gremlin.structure.VertexProperty<V> property(org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality cardinality, String key, V value, Object... keyValues)
      Specified by:
      property in interface org.apache.tinkerpop.gremlin.structure.Vertex
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • addEdge

      public org.apache.tinkerpop.gremlin.structure.Edge addEdge(String label, org.apache.tinkerpop.gremlin.structure.Vertex inVertex, Object... keyValues)
      Specified by:
      addEdge in interface org.apache.tinkerpop.gremlin.structure.Vertex
    • edges

      public Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(org.apache.tinkerpop.gremlin.structure.Direction direction, String... edgeLabels)
      Specified by:
      edges in interface org.apache.tinkerpop.gremlin.structure.Vertex