Class TinkerEdge
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerElement
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerEdge
-
public final class TinkerEdge extends TinkerElement implements Edge
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
Edge.Exceptions
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
Element.Exceptions
-
-
Field Summary
Fields Modifier and Type Field Description protected VertexinVertexprotected VertexoutVertexprotected Map<String,Property>properties-
Fields inherited from class org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerElement
id, label, removed
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
DEFAULT_LABEL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTinkerEdge(Object id, Vertex outVertex, String label, Vertex inVertex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graphgraph()VertexinVertex()Set<String>keys()VertexoutVertex()<V> Iterator<Property<V>>properties(String... propertyKeys)<V> Property<V>property(String key)<V> Property<V>property(String key, V value)voidremove()StringtoString()Iterator<Vertex>vertices(Direction direction)-
Methods inherited from class org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerElement
elementAlreadyRemoved, equals, hashCode, id, label
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
bothVertices
-
-
-
-
Method Detail
-
properties
public <V> Iterator<Property<V>> properties(String... propertyKeys)
- Specified by:
propertiesin interfaceEdge- Specified by:
propertiesin interfaceElement
-
-