public class OracleVertex extends OracleVertexBase
OracleElementBase.FLAG
Modifier and Type | Method and Description |
---|---|
long |
degree(org.apache.tinkerpop.gremlin.structure.Direction direction,
java.lang.String... labels)
Get the vertex degree according to the provided direction and edge labels
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edges(org.apache.tinkerpop.gremlin.structure.Direction direction,
OraclePropertyGraphBase.OptimizationFlag flag,
java.lang.String... labels)
Return the edges incident to the vertex according to the given
direction and edge labels.
|
static OracleVertex |
getInstance(OraclePropertyGraph opg,
java.lang.Long vid)
Returns an instance of OracleVertex from the underlying graph
|
static OracleVertex |
getInstance(OraclePropertyGraph opg,
java.lang.Long vid,
boolean bCreateIfAbsentFromCache)
Returns an instance of OracleVertex.
|
static OracleVertex |
getInstance(OraclePropertyGraph opg,
java.lang.Long vid,
boolean bCreateIfAbsentFromCache,
boolean bSkipStoreToCache)
Returns an instance of OracleVertex.
|
static OracleVertex |
getInstance(OraclePropertyGraph opg,
java.lang.Long vid,
boolean bCreateIfAbsentFromCache,
boolean bSkipStoreToCache,
java.lang.String label)
Returns an instance of OracleVertex.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(org.apache.tinkerpop.gremlin.structure.Direction direction,
OraclePropertyGraphBase.OptimizationFlag flag,
java.lang.String... labels)
Return the vertices adjacent to the vertex according to the provided
direction and edge labels.
|
addEdge, addEdge, compareTo, edges, equals, forceRefresh, hashCode, label, properties, property, property, property, remove, setLabel, setLabel, toString, vertices
clearAddedKeys, clearDeletedKeys, getAddedKeys, getAttributes, getDeletedKeys, getDeletedProperties, getFlag, graph, id, isPartial, keys, property, property, propertyCommon, propertyValue, refresh, removeProperty, setCreatedWithOptFlag, setFlag, setGraph, setPartial
public long degree(org.apache.tinkerpop.gremlin.structure.Direction direction, java.lang.String... labels)
degree
in class OracleVertexBase
direction
- the direction of the edges of the adjacent verticeslabels
- the labels of the edges of the adjacent verticespublic java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(org.apache.tinkerpop.gremlin.structure.Direction direction, OraclePropertyGraphBase.OptimizationFlag flag, java.lang.String... labels)
edges
in class OracleVertexBase
direction
- the direction of the edges to retrievelabels
- the labels of the edges to retrieveflag
- an OptimizationFlag object specifying if a partial or complete vertex object will
be returned. It can be NULL which implies the vertices created must be complete.public static OracleVertex getInstance(OraclePropertyGraph opg, java.lang.Long vid)
opg
- the property graph where the OracleVertex instance will be
obtainedvid
- the id of the vertexpublic static OracleVertex getInstance(OraclePropertyGraph opg, java.lang.Long vid, boolean bCreateIfAbsentFromCache)
opg
- the property graph where the OracleVertex instance will be
obtainedvid
- the id of the vertexbCreateIfAbsentFromCache
- if false, returns a NULL value if there
is no match in the cache.public static OracleVertex getInstance(OraclePropertyGraph opg, java.lang.Long vid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
opg
- the property graph where the OracleVertex instance will be
obtainedvid
- the id of the vertexbCreateIfAbsentFromCache
- if false, returns a NULL value if there
is no match in the cache.bSkipStoreToCache
- if true, the vertex instance will not be
stored into the cache.public static OracleVertex getInstance(OraclePropertyGraph opg, java.lang.Long vid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache, java.lang.String label)
opg
- the property graph where the OracleVertex instance will be
obtainedvid
- the id of the vertexbCreateIfAbsentFromCache
- if false, returns a NULL value if there
is no match in the cache.bSkipStoreToCache
- if true, the vertex instance will not be
stored into the cache.label
- the label of the vertexpublic java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction, OraclePropertyGraphBase.OptimizationFlag flag, java.lang.String... labels)
vertices
in class OracleVertexBase
direction
- the direction of the edges of the adjacent verticeslabels
- the labels of the edges of the adjacent verticesflag
- an OptimizationFlag object specifying if a partial or complete vertex object will
be returned. It can be NULL which implies the vertices created must be complete.Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.