public final class Neo4jVertex extends Neo4jElement implements Vertex, WrappedVertex<org.neo4j.tinkerpop.api.Neo4jNode>
Vertex.Exceptions| Modifier and Type | Field and Description |
|---|---|
static String |
LABEL_DELIMINATOR |
baseElement, graphDEFAULT_LABEL, EMPTY_ARGS| Constructor and Description |
|---|
Neo4jVertex(org.neo4j.tinkerpop.api.Neo4jNode node,
Neo4jGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
addEdge(String label,
Vertex inVertex,
Object... keyValues) |
void |
addLabel(String label) |
Iterator<Edge> |
edges(Direction direction,
String... edgeLabels) |
org.neo4j.tinkerpop.api.Neo4jNode |
getBaseVertex() |
String |
label() |
Set<String> |
labels() |
<V> Iterator<VertexProperty<V>> |
properties(String... propertyKeys) |
<V> VertexProperty<V> |
property(String key) |
<V> VertexProperty<V> |
property(String key,
V value) |
<V> VertexProperty<V> |
property(VertexProperty.Cardinality cardinality,
String key,
V value,
Object... keyValues) |
void |
remove() |
void |
removeLabel(String label) |
String |
toString() |
Iterator<Vertex> |
vertices(Direction direction,
String... edgeLabels) |
equals, getBaseElement, graph, hashCode, id, keysclone, finalize, getClass, notify, notifyAll, wait, wait, waitgraph, id, keys, value, valuesgetHostingVertexpublic static final String LABEL_DELIMINATOR
public Neo4jVertex(org.neo4j.tinkerpop.api.Neo4jNode node,
Neo4jGraph graph)
public <V> VertexProperty<V> property(String key, V value)
public <V> VertexProperty<V> property(VertexProperty.Cardinality cardinality, String key, V value, Object... keyValues)
public <V> VertexProperty<V> property(String key)
public <V> Iterator<VertexProperty<V>> properties(String... propertyKeys)
properties in interface Elementproperties in interface Vertexpublic org.neo4j.tinkerpop.api.Neo4jNode getBaseVertex()
getBaseVertex in interface WrappedVertex<org.neo4j.tinkerpop.api.Neo4jNode>public void addLabel(String label)
public void removeLabel(String label)
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.