|
||||||||||
| 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(String varName,
RDFNode node)
|
int |
add(String varName,
Value value)
|
void |
addTriple(Statement s)
Add a triple to the ResultBindingImpl. |
void |
check()
|
Object |
get(String varName)
Return the value of the named variable in this binding. |
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. |
Iterator |
names()
Iterator over the names in this binding |
void |
setQuery(Query q)
|
int |
size()
|
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(String varName,
Value value)
public int add(String varName,
RDFNode node)
public void setQuery(Query q)
public void addTriple(Statement s)
public Set getTriples()
getTriples in interface ResultBindingpublic Model mergeTriples(Model model)
mergeTriples in interface ResultBindingpublic Iterator names()
ResultBinding
names in interface ResultBindingpublic ResultBindingIterator iterator()
ResultBinding
iterator in interface ResultBindingpublic Object get(String varName)
ResultBinding
get in interface ResultBindingpublic int size()
public void check()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||