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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
org.apache.tinkerpop.gremlin.structure.Edge.ExceptionsNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
org.apache.tinkerpop.gremlin.structure.Element.Exceptions -
Field Summary
FieldsFields inherited from class org.apache.tinkerpop.gremlin.orientdb.OrientElement
graph, rawElementFields inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
DEFAULT_LABEL -
Constructor Summary
ConstructorsConstructorDescriptionOrientEdge(OGraph graph, OIdentifiable identifiable) OrientEdge(OGraph graph, OEdge rawEdge) OrientEdge(OGraph graph, OEdge rawEdge, String label) -
Method Summary
Modifier and TypeMethodDescriptionprotected static OEdgecreateRawElement(OGraph graph, String label) static OIdentifiablegetConnection(ODocument iEdgeRecord, org.apache.tinkerpop.gremlin.structure.Direction iDirection) <V> Iterator<org.apache.tinkerpop.gremlin.structure.Property<V>>properties(String... propertyKeys) toString()Iterator<org.apache.tinkerpop.gremlin.structure.Vertex>vertices(org.apache.tinkerpop.gremlin.structure.Direction direction) Methods inherited from class org.apache.tinkerpop.gremlin.orientdb.OrientElement
compare, compareTo, equals, getGraph, getIdentity, getRecord, graph, hashCode, id, label, property, property, property, remove, saveMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
bothVertices, inVertex, outVertexMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Element
graph, id, keys, label, property, property, remove, value, values
-
Field Details
-
vOut
-
vIn
-
label
-
-
Constructor Details
-
OrientEdge
-
OrientEdge
-
OrientEdge
-
OrientEdge
-
-
Method Details
-
getConnection
public static OIdentifiable getConnection(ODocument iEdgeRecord, org.apache.tinkerpop.gremlin.structure.Direction iDirection) -
createRawElement
-
vertices
public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction) - Specified by:
verticesin interfaceorg.apache.tinkerpop.gremlin.structure.Edge
-
properties
public <V> Iterator<org.apache.tinkerpop.gremlin.structure.Property<V>> properties(String... propertyKeys) - Specified by:
propertiesin interfaceorg.apache.tinkerpop.gremlin.structure.Edge- Specified by:
propertiesin interfaceorg.apache.tinkerpop.gremlin.structure.Element- Overrides:
propertiesin classOrientElement
-
getRawElement
- Specified by:
getRawElementin classOrientElement
-
toString
-