|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.rdql.ResultBindingImpl
public class ResultBindingImpl
A mapping from variable name to a value.
Constructor Summary | |
---|---|
ResultBindingImpl()
|
|
ResultBindingImpl(ResultBindingImpl parent)
|
Method Summary | |
---|---|
int |
add(java.lang.String varName,
RDFNode node)
|
int |
add(java.lang.String varName,
Value value)
|
void |
addTriple(Statement s)
Add a triple to the ResultBindingImpl. |
void |
check()
|
java.lang.Object |
get(java.lang.String varName)
Return the value of the named variable in this binding. |
java.util.Set |
getTriples()
Get the set of statements that caused this ResultBindingImpl. |
ResultBindingIterator |
iterator()
Return an iterator of the items in this result binding. |
Model |
mergeTriples(Model model)
Merge the triples that caused this result binding into a model. |
java.util.Iterator |
names()
Iterator over the names in this binding |
void |
setQuery(Query q)
|
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultBindingImpl(ResultBindingImpl parent)
public ResultBindingImpl()
Method Detail |
---|
public int add(java.lang.String varName, Value value)
public int add(java.lang.String varName, RDFNode node)
public void setQuery(Query q)
public void addTriple(Statement s)
public java.util.Set getTriples()
getTriples
in interface ResultBinding
public Model mergeTriples(Model model)
mergeTriples
in interface ResultBinding
public java.util.Iterator names()
ResultBinding
names
in interface ResultBinding
public ResultBindingIterator iterator()
ResultBinding
iterator
in interface ResultBinding
public java.lang.Object get(java.lang.String varName)
ResultBinding
get
in interface ResultBinding
public int size()
public void check()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |