public class OracleWrapperVertex extends OracleWrapperElement implements Vertex
Modifier and Type | Method and Description |
---|---|
Edge |
addEdge(String label,
Vertex inVertex)
This method adds an outgoing edge from this vertex to the inVertex with the provided edge label
|
Iterable<Edge> |
getEdges(Direction direction,
String... labels)
Return the edges incident to the vertex according to the given
direction and edge labels.
|
static OracleWrapperVertex |
getInstance(OracleWrapperGraph opg,
Long vid)
Returns an instance of OracleWrapperVertex
|
Iterable<Vertex> |
getVertices(Direction direction,
String... labels)
Return the vertices adjacent to the vertex according to the prDVIDed direction and edge labels.
|
VertexQuery |
query()
Generate a query object that can be used to fine tune which edges/vertices
are retrieved that are incident/adjacent to this vertex.
|
void |
remove()
This method removes this vertex from its container grpah
|
String |
toString() |
countPropertyKeys, getId, getProperty, getPropertyKeys, isPartial, removeProperty, setProperty, setProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, getProperty, getPropertyKeys, removeProperty, setProperty
public Edge addEdge(String label, Vertex inVertex)
public Iterable<Edge> getEdges(Direction direction, String... labels)
public static OracleWrapperVertex getInstance(OracleWrapperGraph opg, Long vid)
public Iterable<Vertex> getVertices(Direction direction, String... labels)
getVertices
in interface Vertex
public VertexQuery query()
public void remove()
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.