public class BigdataEdge extends BigdataElement implements com.tinkerpop.blueprints.Edge
BigdataGraph
instance.Modifier and Type | Field and Description |
---|---|
protected org.openrdf.model.Statement |
stmt |
graph, uri
Constructor and Description |
---|
BigdataEdge(org.openrdf.model.Statement stmt,
BigdataGraph graph) |
Modifier and Type | Method and Description |
---|---|
BigdataVertex |
getFrom() |
Object |
getId() |
String |
getLabel() |
<T> T |
getProperty(String prop) |
Set<String> |
getPropertyKeys() |
BigdataVertex |
getTo() |
com.tinkerpop.blueprints.Vertex |
getVertex(com.tinkerpop.blueprints.Direction dir) |
void |
remove() |
<T> T |
removeProperty(String prop) |
void |
setProperty(String prop,
Object val) |
String |
toString() |
equals, hashCode
public BigdataEdge(org.openrdf.model.Statement stmt, BigdataGraph graph)
public Object getId()
getId
in interface com.tinkerpop.blueprints.Element
public void remove()
remove
in interface com.tinkerpop.blueprints.Element
public String getLabel()
getLabel
in interface com.tinkerpop.blueprints.Edge
public com.tinkerpop.blueprints.Vertex getVertex(com.tinkerpop.blueprints.Direction dir) throws IllegalArgumentException
getVertex
in interface com.tinkerpop.blueprints.Edge
IllegalArgumentException
public BigdataVertex getFrom()
public BigdataVertex getTo()
public void setProperty(String prop, Object val)
setProperty
in interface com.tinkerpop.blueprints.Element
setProperty
in class BigdataElement
public String toString()
toString
in class BigdataElement
public <T> T getProperty(String prop)
getProperty
in interface com.tinkerpop.blueprints.Element
getProperty
in class BigdataElement
public Set<String> getPropertyKeys()
getPropertyKeys
in interface com.tinkerpop.blueprints.Element
getPropertyKeys
in class BigdataElement
public <T> T removeProperty(String prop)
removeProperty
in interface com.tinkerpop.blueprints.Element
removeProperty
in class BigdataElement
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.