public class OracleEdge extends OracleElement implements OracleEdgeBase
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, Long eid)
Returns an instance of OracleEdge
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, Long eid, boolean bCreateIfAbsentFromCache)
Returns an instance of OracleEdge.
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
Returns an instance of OracleEdge.
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, Long eid, String edgeLabel, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
Returns an instance of OracleEdge.
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
Returns an instance of OracleEdge
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, String edgeLabel, Long eid)
Returns an instance of OracleEdge
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, String edgeLabel, Long eid, boolean bCreateIfAbsentFromCache)
Returns an instance of OracleEdge
|
static OracleEdge |
getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, String edgeLabel, Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
Returns an instance of OracleEdge
|
OracleVertex |
getInVertex()
Return the head/in vertex of the edge
|
Object |
getInVertexID()
Return the head/in vertex ID.
|
String |
getLabel()
Return the label associated with the edge.
|
OracleVertex |
getOutVertex()
Return the tail/out vertex of the edge
|
Object |
getOutVertexID()
Return the tail/out vertex ID.
|
Vertex |
getVertex(Direction direction)
Return the tail/out or head/in vertex.
|
int |
hashCode()
This method returns the hash code
|
void |
remove()
Remove the edge from the property graph.
|
void |
setProperty(String key, Object value)
Assign a key/value property to the element.
|
void |
setProperty(String key, Object value, boolean skipQueue)
Assign a key/value property to the element.
|
String |
toString() |
getAttributes, getId, getProperty, getPropertyGraph, getPropertyKeys, isPartial, refresh, removeProperty, setPartial, setProperty, setPropertyCommon
setPartial
getId, getProperty, getPropertyKeys, removeProperty
public boolean equals(Object o)
public void forceRefresh() throws Exception
forceRefresh
in interface OracleElementBase
forceRefresh
in class OracleElement
Exception
public static OracleEdge getInstance(OraclePropertyGraph opg, Long eid)
public static OracleEdge getInstance(OraclePropertyGraph opg, Long eid, boolean bCreateIfAbsentFromCache)
public static OracleEdge getInstance(OraclePropertyGraph opg, Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
public static OracleEdge getInstance(OraclePropertyGraph opg, Long eid, String edgeLabel, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
public static OracleEdge getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
public static OracleEdge getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, String edgeLabel, Long eid)
public static OracleEdge getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, String edgeLabel, Long eid, boolean bCreateIfAbsentFromCache)
public static OracleEdge getInstance(OraclePropertyGraph opg, OracleVertexBase outVertex, OracleVertexBase inVertex, String edgeLabel, Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
public OracleVertex getInVertex()
public Object getInVertexID()
public String getLabel()
public OracleVertex getOutVertex()
public Object getOutVertexID()
public int hashCode()
public void remove()
public void setProperty(String key, Object value)
OracleElement
setProperty
in interface Element
setProperty
in class OracleElement
public void setProperty(String key, Object value, boolean skipQueue)
OracleElement
setProperty
in interface OracleElementBase
setProperty
in class OracleElement
key
- key of the attribute (K/V)value
- value of the attribute (K/V)skipQueue
- when true, then this K/V pair change will not cause this Element to be put in the update queue.Copyright © 2015 Oracle and/or its afflilates. All Rights Reserved.