| Constructor and Description |
|---|
ImmutablePath(List<Edge> theEdges) |
ImmutablePath(List<Edge> theEdges,
org.openrdf.query.BindingSet thePathStartBindings,
org.openrdf.query.BindingSet thePathEndBindings) |
ImmutablePath(List<Edge> theEdges,
org.openrdf.model.Value theWeight,
org.openrdf.query.BindingSet thePathStartBindings,
org.openrdf.query.BindingSet thePathEndBindings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Edge> |
getEdges()
Returns the edges of the path.
|
org.openrdf.model.Value |
getEnd()
Returns the end node of the path.
|
org.openrdf.query.BindingSet |
getPathEndBindings()
Returns variable bindings for the end pattern of the path, if exists
|
org.openrdf.query.BindingSet |
getPathStartBindings()
Returns variable bindings for the start pattern of the path, if exists
|
org.openrdf.model.Value |
getStart()
Returns the start node of the path.
|
org.openrdf.model.Value |
getWeight() |
int |
hashCode() |
String |
toString() |
public ImmutablePath(List<Edge> theEdges, org.openrdf.query.BindingSet thePathStartBindings, org.openrdf.query.BindingSet thePathEndBindings)
public org.openrdf.query.BindingSet getPathStartBindings()
PathgetPathStartBindings in interface Pathpublic org.openrdf.query.BindingSet getPathEndBindings()
PathgetPathEndBindings in interface Pathpublic org.openrdf.model.Value getStart()
PathgetEdges().get(0).getStart().public org.openrdf.model.Value getEnd()
PathgetEdges().get(getEdge().size() - 1).getEnd().public List<Edge> getEdges()
Pathpublic org.openrdf.model.Value getWeight()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.