|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellet.sparqldl.model.QueryResultImpl
public class QueryResultImpl
Title: Default implementation of QueryResult
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
QueryResultImpl(Query query)
|
Method Summary | |
---|---|
void |
add(ResultBinding binding)
Adds a new binding to the query result. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<aterm.ATermAppl> |
getResultVars()
Returns result variables. |
int |
hashCode()
|
boolean |
isDistinct()
|
boolean |
isEmpty()
Tests whether the result is empty or not. |
java.util.Iterator<ResultBinding> |
iterator()
|
int |
size()
Returns number of bindings in the result. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryResultImpl(Query query)
Method Detail |
---|
public void add(ResultBinding binding)
add
in interface QueryResult
binding
- to be addedpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.List<aterm.ATermAppl> getResultVars()
getResultVars
in interface QueryResult
public int hashCode()
hashCode
in class java.lang.Object
public boolean isDistinct()
isDistinct
in interface QueryResult
public boolean isEmpty()
isEmpty
in interface QueryResult
public java.util.Iterator<ResultBinding> iterator()
iterator
in interface java.lang.Iterable<ResultBinding>
public int size()
size
in interface QueryResult
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 |