@NotThreadSafe protected static class JcrQueryResult.QueryResultRowIterator extends Object implements RowIterator
RowIterator implementation returned by the JcrQueryResult.JcrQueryResult.getRows()| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
columnNames |
protected QueryResults.Columns |
columns |
protected JcrQueryContext |
context |
protected String |
query |
| Modifier | Constructor and Description |
|---|---|
protected |
JcrQueryResult.QueryResultRowIterator(JcrQueryContext context,
String query,
QueryResults results,
Iterator<Object[]> tuples,
long numRows) |
| Modifier and Type | Method and Description |
|---|---|
protected Row |
getNextRow(Object[] tuple) |
long |
getPosition() |
protected String |
getPropertyNameForColumnName(String columnName) |
long |
getSize() |
boolean |
hasNext() |
boolean |
hasSelector(String selectorName) |
protected Value |
jcrDouble(Double score) |
protected Value |
jcrLong(Long value) |
protected Value |
jcrName() |
protected Value |
jcrName(Name name) |
protected Value |
jcrPath(Path path) |
protected Value |
jcrString(String name) |
Object |
next() |
Row |
nextRow() |
void |
remove() |
void |
skip(long skipNum) |
protected final JcrQueryContext context
protected final QueryResults.Columns columns
protected final String query
protected JcrQueryResult.QueryResultRowIterator(JcrQueryContext context, String query, QueryResults results, Iterator<Object[]> tuples, long numRows)
public boolean hasSelector(String selectorName)
public Row nextRow()
nextRow in interface RowIteratorpublic long getPosition()
getPosition in interface RangeIteratorpublic long getSize()
getSize in interface RangeIteratorpublic void skip(long skipNum)
skip in interface RangeIteratorprotected Row getNextRow(Object[] tuple) throws RepositoryException
RepositoryExceptionprotected Value jcrName()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.