public final class TinkerVertex extends TinkerElement implements Vertex
Vertex.Exceptions| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Set<Edge>> |
inEdges |
protected Map<String,Set<Edge>> |
outEdges |
protected Map<String,List<VertexProperty>> |
properties |
id, label, removedDEFAULT_LABEL, EMPTY_ARGS| Modifier | Constructor and Description |
|---|---|
protected |
TinkerVertex(Object id,
String label,
TinkerGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
addEdge(String label,
Vertex vertex,
Object... keyValues) |
Iterator<Edge> |
edges(Direction direction,
String... edgeLabels) |
Graph |
graph() |
Set<String> |
keys() |
<V> Iterator<VertexProperty<V>> |
properties(String... propertyKeys) |
<V> VertexProperty<V> |
property(String key) |
<V> VertexProperty<V> |
property(VertexProperty.Cardinality cardinality,
String key,
V value,
Object... keyValues) |
void |
remove() |
String |
toString() |
Iterator<Vertex> |
vertices(Direction direction,
String... edgeLabels) |
equals, hashCode, id, labelprotected Map<String,List<VertexProperty>> properties
protected TinkerVertex(Object id, String label, TinkerGraph graph)
public <V> VertexProperty<V> property(String key)
public <V> VertexProperty<V> property(VertexProperty.Cardinality cardinality, String key, V value, Object... keyValues)
public <V> Iterator<VertexProperty<V>> properties(String... propertyKeys)
properties in interface Elementproperties in interface VertexCopyright © 2013–2015 Apache Software Foundation. All rights reserved.