public class GraphRecord extends GraphRecordElement implements com.tinkerpop.blueprints.Vertex, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,com.tinkerpop.blueprints.Edge> |
inEdges |
protected Map<String,com.tinkerpop.blueprints.Edge> |
outEdges |
id, LONG_ID_PROPKEY, props| Constructor and Description |
|---|
GraphRecord(String strId) |
GraphRecord(String strId,
String nodeType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(GraphRecordEdge edge) |
com.tinkerpop.blueprints.Edge |
addEdge(String label,
com.tinkerpop.blueprints.Vertex inVertex) |
boolean |
equals(Object obj) |
Iterable<com.tinkerpop.blueprints.Edge> |
getEdges(com.tinkerpop.blueprints.Direction direction,
String... labels) |
GraphRecordEdge |
getInEdge(String edgeId) |
Long |
getLongId() |
static com.tinkerpop.blueprints.Direction |
getOppositeDirection(com.tinkerpop.blueprints.Direction direction) |
GraphRecordEdge |
getOutEdge(String edgeId) |
String |
getType() |
static String |
getType(com.tinkerpop.blueprints.Vertex v) |
Iterable<com.tinkerpop.blueprints.Vertex> |
getVertices(com.tinkerpop.blueprints.Direction direction,
String... labels) |
int |
hashCode() |
com.tinkerpop.blueprints.VertexQuery |
query() |
void |
setLongId(long id) |
String |
toString() |
clearProperties, getId, getProperty, getPropertyKeys, getStringId, remove, removeProperty, setPropertypublic GraphRecord(String strId)
public static String getType(com.tinkerpop.blueprints.Vertex v)
public String getType()
public GraphRecordEdge getInEdge(String edgeId)
public GraphRecordEdge getOutEdge(String edgeId)
public boolean equals(Object obj)
equals in class GraphRecordElementpublic int hashCode()
hashCode in class GraphRecordElementpublic com.tinkerpop.blueprints.Edge addEdge(String label, com.tinkerpop.blueprints.Vertex inVertex)
addEdge in interface com.tinkerpop.blueprints.Vertexpublic void addEdge(GraphRecordEdge edge)
public Iterable<com.tinkerpop.blueprints.Edge> getEdges(com.tinkerpop.blueprints.Direction direction, String... labels)
getEdges in interface com.tinkerpop.blueprints.Vertexpublic Iterable<com.tinkerpop.blueprints.Vertex> getVertices(com.tinkerpop.blueprints.Direction direction, String... labels)
getVertices in interface com.tinkerpop.blueprints.Vertexpublic static com.tinkerpop.blueprints.Direction getOppositeDirection(com.tinkerpop.blueprints.Direction direction)
public com.tinkerpop.blueprints.VertexQuery query()
query in interface com.tinkerpop.blueprints.Vertexpublic void setLongId(long id)
public Long getLongId()
Copyright © 2015. All rights reserved.