Class TinkerVertex
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerElement
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerVertex
-
public final class TinkerVertex extends TinkerElement implements Vertex
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
Element.Exceptions
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Vertex
Vertex.Exceptions
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Set<Edge>>inEdgesprotected Map<String,Set<Edge>>outEdgesprotected Map<String,List<VertexProperty>>properties-
Fields inherited from class org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerElement
id, label, removed
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Vertex
DEFAULT_LABEL, EMPTY_ARGS
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTinkerVertex(Object id, String label, TinkerGraph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgeaddEdge(String label, Vertex vertex, Object... keyValues)Iterator<Edge>edges(Direction direction, String... edgeLabels)Graphgraph()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)voidremove()StringtoString()Iterator<Vertex>vertices(Direction direction, String... edgeLabels)-
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
-
-
-
-
Constructor Detail
-
TinkerVertex
protected TinkerVertex(Object id, String label, TinkerGraph graph)
-
-
Method Detail
-
property
public <V> VertexProperty<V> property(String key)
-
property
public <V> VertexProperty<V> property(VertexProperty.Cardinality cardinality, String key, V value, Object... keyValues)
-
properties
public <V> Iterator<VertexProperty<V>> properties(String... propertyKeys)
- Specified by:
propertiesin interfaceElement- Specified by:
propertiesin interfaceVertex
-
-