org.mindswap.pellet.query.impl
Class QueryResultsImpl
java.lang.Object
org.mindswap.pellet.query.impl.QueryResultsImpl
- All Implemented Interfaces:
- QueryResults
- Direct Known Subclasses:
- MultiQueryResults
public class QueryResultsImpl
- extends java.lang.Object
- implements QueryResults
- Author:
- Evren Sirin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryResultsImpl
public QueryResultsImpl(Query query)
add
public void add(QueryResultBinding binding)
- Specified by:
add
in interface QueryResults
contains
public boolean contains(QueryResultBinding binding)
- Specified by:
contains
in interface QueryResults
get
public QueryResultBinding get(int index)
- Specified by:
get
in interface QueryResults
size
public int size()
- Specified by:
size
in interface QueryResults
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface QueryResults
getQuery
public Query getQuery()
- Specified by:
getQuery
in interface QueryResults
getResultVars
public java.util.List getResultVars()
- Specified by:
getResultVars
in interface QueryResults
toTable
public TableData toTable()
- Specified by:
toTable
in interface QueryResults
toTable
public TableData toTable(boolean formatHTML)
- Specified by:
toTable
in interface QueryResults
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.