|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.query.lucene.join.SimpleQueryResult
public class SimpleQueryResult
Simple query result implementation.
Constructor Summary | |
---|---|
protected |
SimpleQueryResult(String[] columnNames,
String[] selectorNames,
RowIterator rowIterator)
Creates a query result with the given column and selector names and row iterator. |
Method Summary | |
---|---|
String[] |
getColumnNames()
Returns the column names of this query. |
NodeIterator |
getNodes()
Returns the nodes that match this query. |
RowIterator |
getRows()
Returns the query result rows. |
String[] |
getSelectorNames()
Returns the selector names of this query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SimpleQueryResult(String[] columnNames, String[] selectorNames, RowIterator rowIterator)
columnNames
- column namesselectorNames
- selector namesrowIterator
- iterator over matching rowsMethod Detail |
---|
public String[] getColumnNames()
getColumnNames
in interface QueryResult
public String[] getSelectorNames()
getSelectorNames
in interface QueryResult
public RowIterator getRows() throws RepositoryException
getRows
in interface QueryResult
RepositoryException
- if the query results have already
been iterated throughpublic NodeIterator getNodes() throws RepositoryException
getNodes
in interface QueryResult
RepositoryException
- if this query has more than one selector,
or if the query results have already been
iterated through
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |