public class GraphRecordEdge extends GraphRecordElement implements com.tinkerpop.blueprints.Edge, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
inVertexStringId |
protected String |
label |
protected String |
outVertexStringId |
id, LONG_ID_PROPKEY, props| Constructor and Description |
|---|
GraphRecordEdge(String id,
String label,
com.tinkerpop.blueprints.Vertex outVertex,
com.tinkerpop.blueprints.Vertex inVertex) |
GraphRecordEdge(String label,
com.tinkerpop.blueprints.Vertex outVertex,
com.tinkerpop.blueprints.Vertex inVertex) |
| Modifier and Type | Method and Description |
|---|---|
GraphRecordEdge |
emptyCopy() |
boolean |
equals(Object obj) |
Long |
getInNodeId() |
Long |
getNodeId(com.tinkerpop.blueprints.Direction dir) |
Long |
getOutNodeId() |
com.tinkerpop.blueprints.Vertex |
getVertex(com.tinkerpop.blueprints.Direction direction) |
int |
hashCode() |
void |
setInNodeId(long id) |
void |
setNodeId(com.tinkerpop.blueprints.Direction dir,
long id) |
void |
setOutNodeId(long id) |
String |
toString() |
clearProperties, getId, getProperty, getPropertyKeys, getStringId, remove, removeProperty, setPropertyprotected String label
protected String outVertexStringId
protected String inVertexStringId
public GraphRecordEdge(String id, String label, com.tinkerpop.blueprints.Vertex outVertex, com.tinkerpop.blueprints.Vertex inVertex)
public GraphRecordEdge(String label, com.tinkerpop.blueprints.Vertex outVertex, com.tinkerpop.blueprints.Vertex inVertex)
public GraphRecordEdge emptyCopy()
public boolean equals(Object obj)
equals in class GraphRecordElementpublic int hashCode()
hashCode in class GraphRecordElementpublic com.tinkerpop.blueprints.Vertex getVertex(com.tinkerpop.blueprints.Direction direction)
throws IllegalArgumentException
getVertex in interface com.tinkerpop.blueprints.EdgeIllegalArgumentExceptionpublic void setInNodeId(long id)
public void setOutNodeId(long id)
public Long getInNodeId()
public Long getOutNodeId()
public void setNodeId(com.tinkerpop.blueprints.Direction dir,
long id)
public Long getNodeId(com.tinkerpop.blueprints.Direction dir)
Copyright © 2015. All rights reserved.