public class OracleWrapperVertex extends OracleWrapperElement implements com.tinkerpop.blueprints.Vertex
Modifier and Type | Method and Description |
---|---|
com.tinkerpop.blueprints.Edge |
addEdge(String label, com.tinkerpop.blueprints.Vertex inVertex)
This method adds an outgoing edge from this vertex to the inVertex with the provided edge label
|
Iterable<com.tinkerpop.blueprints.Edge> |
getEdges(com.tinkerpop.blueprints.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<com.tinkerpop.blueprints.Vertex> |
getVertices(com.tinkerpop.blueprints.Direction direction, String... labels)
Return the vertices adjacent to the vertex according to the prDVIDed direction and edge labels.
|
com.tinkerpop.blueprints.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
public com.tinkerpop.blueprints.Edge addEdge(String label, com.tinkerpop.blueprints.Vertex inVertex)
addEdge
in interface com.tinkerpop.blueprints.Vertex
public Iterable<com.tinkerpop.blueprints.Edge> getEdges(com.tinkerpop.blueprints.Direction direction, String... labels)
getEdges
in interface com.tinkerpop.blueprints.Vertex
public static OracleWrapperVertex getInstance(OracleWrapperGraph opg, Long vid)
public Iterable<com.tinkerpop.blueprints.Vertex> getVertices(com.tinkerpop.blueprints.Direction direction, String... labels)
getVertices
in interface com.tinkerpop.blueprints.Vertex
public com.tinkerpop.blueprints.VertexQuery query()
query
in interface com.tinkerpop.blueprints.Vertex
public void remove()
remove
in interface com.tinkerpop.blueprints.Element
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.