public abstract class OracleEdgeBase extends OracleElementBase implements org.apache.tinkerpop.gremlin.structure.Edge
OracleElementBase.FLAG
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMPTY_LBL |
static java.lang.String |
NULL_LBL |
Constructor and Description |
---|
OracleEdgeBase() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order.
|
boolean |
equals(java.lang.Object o)
This method returns true if the current OracleEdge instance is considered equal to the given OracleEdge instance
|
void |
forceRefresh()
Physically refresh this Edge instance by reading from the underlying database
|
int |
hashCode()
This method returns the hash code
|
OracleVertexBase |
inVertex()
Return the head/in vertex of the edge
|
java.lang.Object |
inVertexID()
Return the head/in vertex ID.
|
java.lang.String |
label()
Return the label associated with the edge.
|
OracleVertexBase |
outVertex()
Return the tail/out vertex of the edge
|
java.lang.Object |
outVertexID()
Return the tail/out vertex ID.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Property<java.lang.Object>> |
properties(java.lang.String... propertyKeys)
Get an
Iterator of properties. |
OraclePropertyBase<java.lang.Object> |
property(java.lang.String key)
Get a
Property for the Element given its key. |
OraclePropertyBase<java.lang.Object> |
property(java.lang.String key, java.lang.Object value)
Add or set a property value for the
Element given its key. |
void |
remove()
This method removes this edge from its underlying graph.
|
void |
setInVertex(OracleVertexBase v) |
void |
setLabel(java.lang.String label)
Set the label associated with the edge.
|
void |
setLabel(java.lang.String label, boolean skipUpdate)
Set the label associated with the edge.
|
void |
setOutVertex(OracleVertexBase v) |
java.lang.String |
toString()
Returns a String representation of the Edge
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(org.apache.tinkerpop.gremlin.structure.Direction direction)
Review the vertex (or vertices) associated with this edge as defined by the direction.
|
clearAddedKeys, clearDeletedKeys, getAddedKeys, getAttributes, getDeletedKeys, getDeletedProperties, getFlag, graph, id, isPartial, keys, property, property, propertyCommon, propertyValue, refresh, removeProperty, setCreatedWithOptFlag, setFlag, setGraph, setPartial
public static final java.lang.String EMPTY_LBL
public static final java.lang.String NULL_LBL
public final int compareTo(java.lang.Object o)
o
- object to compare topublic final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- an object to compare this edge 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 OracleVertexBase inVertex()
inVertex
in interface org.apache.tinkerpop.gremlin.structure.Edge
public java.lang.Object inVertexID()
public final java.lang.String label()
label
in interface org.apache.tinkerpop.gremlin.structure.Element
public OracleVertexBase outVertex()
outVertex
in interface org.apache.tinkerpop.gremlin.structure.Edge
public java.lang.Object outVertexID()
public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Property<java.lang.Object>> properties(java.lang.String... propertyKeys)
Iterator
of properties.properties
in interface org.apache.tinkerpop.gremlin.structure.Edge
properties
in interface org.apache.tinkerpop.gremlin.structure.Element
public final OraclePropertyBase<java.lang.Object> property(java.lang.String key)
Property
for the Element
given its key.property
in interface org.apache.tinkerpop.gremlin.structure.Element
public final OraclePropertyBase<java.lang.Object> property(java.lang.String key, java.lang.Object value)
Element
given its key.property
in interface org.apache.tinkerpop.gremlin.structure.Element
key
- key of an attribute (K/V pair)value
- value of an attribute (K/V pair)public final void remove()
remove
in interface org.apache.tinkerpop.gremlin.structure.Element
public final void setInVertex(OracleVertexBase v)
public final void setLabel(java.lang.String label)
public final void setLabel(java.lang.String label, boolean skipUpdate)
public final void setOutVertex(OracleVertexBase v)
public final java.lang.String toString()
toString
in class java.lang.Object
public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction)
vertices
in interface org.apache.tinkerpop.gremlin.structure.Edge
direction
- Get the incoming vertex, outgoing vertex, or botth vertices