public class TinkerEdge extends TinkerElement implements org.apache.tinkerpop.gremlin.structure.Edge
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.tinkerpop.gremlin.structure.Vertex |
inVertex |
protected org.apache.tinkerpop.gremlin.structure.Vertex |
outVertex |
protected Map<String,org.apache.tinkerpop.gremlin.structure.Property> |
properties |
id, label, removed| Modifier | Constructor and Description |
|---|---|
protected |
TinkerEdge(Object id,
org.apache.tinkerpop.gremlin.structure.Vertex outVertex,
String label,
org.apache.tinkerpop.gremlin.structure.Vertex inVertex) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.structure.Graph |
graph() |
org.apache.tinkerpop.gremlin.structure.Vertex |
inVertex() |
Set<String> |
keys() |
org.apache.tinkerpop.gremlin.structure.Vertex |
outVertex() |
<V> Iterator<org.apache.tinkerpop.gremlin.structure.Property<V>> |
properties(String... propertyKeys) |
<V> org.apache.tinkerpop.gremlin.structure.Property<V> |
property(String key) |
<V> org.apache.tinkerpop.gremlin.structure.Property<V> |
property(String key,
V value) |
void |
remove() |
String |
toString() |
Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(org.apache.tinkerpop.gremlin.structure.Direction direction) |
elementAlreadyRemoved, equals, hashCode, id, labelprotected final org.apache.tinkerpop.gremlin.structure.Vertex inVertex
protected final org.apache.tinkerpop.gremlin.structure.Vertex outVertex
public <V> org.apache.tinkerpop.gremlin.structure.Property<V> property(String key, V value)
property in interface org.apache.tinkerpop.gremlin.structure.Elementpublic <V> org.apache.tinkerpop.gremlin.structure.Property<V> property(String key)
property in interface org.apache.tinkerpop.gremlin.structure.Elementpublic Set<String> keys()
keys in interface org.apache.tinkerpop.gremlin.structure.Elementpublic void remove()
remove in interface org.apache.tinkerpop.gremlin.structure.Elementpublic org.apache.tinkerpop.gremlin.structure.Vertex outVertex()
outVertex in interface org.apache.tinkerpop.gremlin.structure.Edgepublic org.apache.tinkerpop.gremlin.structure.Vertex inVertex()
inVertex in interface org.apache.tinkerpop.gremlin.structure.Edgepublic Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction)
vertices in interface org.apache.tinkerpop.gremlin.structure.Edgepublic org.apache.tinkerpop.gremlin.structure.Graph graph()
graph in interface org.apache.tinkerpop.gremlin.structure.ElementCopyright © 2013–2018 Apache Software Foundation. All rights reserved.