Class OrientEdge

java.lang.Object
org.apache.tinkerpop.gremlin.orientdb.OrientElement
org.apache.tinkerpop.gremlin.orientdb.OrientEdge
All Implemented Interfaces:
OIdentifiable, Comparable<OIdentifiable>, Comparator<OIdentifiable>, org.apache.tinkerpop.gremlin.structure.Edge, org.apache.tinkerpop.gremlin.structure.Element

public final class OrientEdge extends OrientElement implements org.apache.tinkerpop.gremlin.structure.Edge
  • Field Details

  • Constructor Details

  • Method Details

    • getConnection

      public static OIdentifiable getConnection(ODocument iEdgeRecord, org.apache.tinkerpop.gremlin.structure.Direction iDirection)
    • createRawElement

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

      public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction)
      Specified by:
      vertices in interface org.apache.tinkerpop.gremlin.structure.Edge
    • properties

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

      public OElement getRawElement()
      Specified by:
      getRawElement in class OrientElement
    • toString

      public String toString()
      Overrides:
      toString in class Object