public abstract class OracleVertexBase extends OracleElementBase implements org.apache.tinkerpop.gremlin.structure.Vertex, java.lang.Comparable<java.lang.Object>
OracleElementBase.FLAG
Modifier and Type | Method and Description |
---|---|
org.apache.tinkerpop.gremlin.structure.Edge |
addEdge(java.lang.String label,
org.apache.tinkerpop.gremlin.structure.Vertex inVertex)
This method adds an outgoing edge from this vertex to the inVertex with
the provided edge label.
|
org.apache.tinkerpop.gremlin.structure.Edge |
addEdge(java.lang.String label,
org.apache.tinkerpop.gremlin.structure.Vertex inVertex,
java.lang.Object... keyValues)
Adds an outgoing edge from this vertex to the inVertex with
the provided edge label.
|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order.
|
abstract long |
degree(org.apache.tinkerpop.gremlin.structure.Direction direction,
java.lang.String... labels)
Return the vertices adjacent to the vertex according to the provided direction and edge labels.
|
abstract 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.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edges(org.apache.tinkerpop.gremlin.structure.Direction direction,
java.lang.String... labels)
Return the edges incident to the vertex according to the given
direction and edge labels.
|
boolean |
equals(java.lang.Object o)
This method returns true if the current OracleVertex instance
is considered equal to the given OracleVertex instance
|
void |
forceRefresh()
Physically refresh this Vertex instance by reading from the underlying database
|
int |
hashCode()
This method returns the hash code
|
java.lang.String |
label()
Gets the label for the vertex which helps categorize it.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.VertexProperty<java.lang.Object>> |
properties(java.lang.String... propertyKeys)
Get an Iterator of properties.
|
OracleVertexPropertyBase<java.lang.Object> |
property(java.lang.String key)
Get the VertexProperty for the provided key.
|
OracleVertexPropertyBase<java.lang.Object> |
property(java.lang.String key,
java.lang.Object value)
Assign a key/value property to the element.
|
org.apache.tinkerpop.gremlin.structure.VertexProperty<java.lang.Object> |
property(org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality cardinality,
java.lang.String key,
java.lang.Object value,
java.lang.Object... keyValues)
Create a new vertex property.
|
void |
remove()
This method removes this vertex from its underlying graph.
|
void |
setLabel(java.lang.String szLbl)
Sets the label for the vertex which helps categorize it.
|
void |
setLabel(java.lang.String szLbl,
boolean skipQueue,
boolean skipLucene)
Sets the label for the vertex which helps categorize it.
|
java.lang.String |
toString()
Returns a String format of the vertex instance.
|
abstract 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.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(org.apache.tinkerpop.gremlin.structure.Direction direction,
java.lang.String... labels)
Return the vertices adjacent to the vertex according to the provided
direction and edge labels.
|
clearAddedKeys, clearDeletedKeys, getAddedKeys, getAttributes, getDeletedKeys, getDeletedProperties, getFlag, graph, id, isPartial, keys, property, property, propertyCommon, propertyValue, refresh, removeProperty, setCreatedWithOptFlag, setFlag, setGraph, setPartial
public final org.apache.tinkerpop.gremlin.structure.Edge addEdge(java.lang.String label, org.apache.tinkerpop.gremlin.structure.Vertex inVertex)
label
- the label of the edgeinVertex
- the in vertex of the new edge to create for this vertexEdge
object.public final org.apache.tinkerpop.gremlin.structure.Edge addEdge(java.lang.String label, org.apache.tinkerpop.gremlin.structure.Vertex inVertex, java.lang.Object... keyValues)
addEdge
in interface org.apache.tinkerpop.gremlin.structure.Vertex
label
- the label of the edgeinVertex
- the in vertex of the new edge to create for this vertexEdge
object.public final int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable<java.lang.Object>
o
- object to compare topublic abstract long degree(org.apache.tinkerpop.gremlin.structure.Direction direction, java.lang.String... labels)
direction
- the direction of the edges of the adjacent verticeslabels
- the labels of the edges of the adjacent verticespublic abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(org.apache.tinkerpop.gremlin.structure.Direction direction, OraclePropertyGraphBase.OptimizationFlag flag, java.lang.String... labels)
direction
- the direction of the edges to retrievelabels
- the labels of the edges to retrievepublic final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(org.apache.tinkerpop.gremlin.structure.Direction direction, java.lang.String... labels)
edges
in interface org.apache.tinkerpop.gremlin.structure.Vertex
direction
- the direction of the edges to retrievelabels
- the labels of the edges to retrievepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- an object to compare this vertex againstpublic final void forceRefresh() throws java.lang.Exception
forceRefresh
in class OracleElementBase
java.lang.Exception
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String label()
label
in interface org.apache.tinkerpop.gremlin.structure.Element
public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.VertexProperty<java.lang.Object>> properties(java.lang.String... propertyKeys)
properties
in interface org.apache.tinkerpop.gremlin.structure.Element
properties
in interface org.apache.tinkerpop.gremlin.structure.Vertex
public final OracleVertexPropertyBase<java.lang.Object> property(java.lang.String key)
property
in interface org.apache.tinkerpop.gremlin.structure.Element
property
in interface org.apache.tinkerpop.gremlin.structure.Vertex
key
- the key of the vertex property to getpublic final OracleVertexPropertyBase<java.lang.Object> property(java.lang.String key, java.lang.Object value)
property
in interface org.apache.tinkerpop.gremlin.structure.Element
property
in interface org.apache.tinkerpop.gremlin.structure.Vertex
key
- key of an attribute (K/V pair)value
- value of an attribute (K/V pair)public final org.apache.tinkerpop.gremlin.structure.VertexProperty<java.lang.Object> property(org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality cardinality, java.lang.String key, java.lang.Object value, java.lang.Object... keyValues)
property
in interface org.apache.tinkerpop.gremlin.structure.Vertex
public final void remove()
remove
in interface org.apache.tinkerpop.gremlin.structure.Element
public final void setLabel(java.lang.String szLbl)
szLbl
- the label for this vertexpublic final void setLabel(java.lang.String szLbl, boolean skipQueue, boolean skipLucene)
szLbl
- the label for this vertexskipQueue
- true to prevent adding this change to the update queueskipLucene
- true to prevent updating element with indicespublic final java.lang.String toString()
toString
in class java.lang.Object
public abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction, OraclePropertyGraphBase.OptimizationFlag flag, java.lang.String... labels)
direction
- the direction of the edges of the adjacent verticeslabels
- the labels of the edges of the adjacent verticespublic final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction, java.lang.String... labels)
vertices
in interface org.apache.tinkerpop.gremlin.structure.Vertex
direction
- the direction of the edges of the adjacent verticeslabels
- the labels of the edges of the adjacent verticesCopyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.