@NotThreadSafe protected static class JcrQueryResult.QueryResultRowIterator extends JcrQueryResult.QueryResultIterator 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 String |
query |
context
Modifier | Constructor and Description |
---|---|
protected |
QueryResultRowIterator(JcrQueryContext context,
String query,
NodeSequence sequence,
QueryResults.Columns columns) |
Modifier and Type | Method and Description |
---|---|
protected Row |
createRow(NodeSequence.Batch batch) |
protected String |
getPropertyNameForColumnName(String columnName) |
boolean |
hasSelector(String selectorName) |
protected Value |
jcrChildCount(CachedNode node) |
protected Value |
jcrDepth(CachedNode node) |
protected Value |
jcrDouble(Double score) |
protected Value |
jcrDouble(Float score) |
protected Value |
jcrId(CachedNode node) |
protected Value |
jcrLocalName(CachedNode node) |
protected Value |
jcrLong(Long value) |
protected Value |
jcrName() |
protected Value |
jcrName(CachedNode node) |
protected Value |
jcrName(String name) |
protected Value |
jcrPath(CachedNode node) |
protected Value |
jcrPath(String path) |
protected Value |
jcrString(String name) |
protected Value |
jcrUuid(CachedNode node) |
Object |
next() |
Row |
nextRow() |
protected int |
nodeIndexForSelector(String selector) |
void |
remove() |
findNextBatch, getPosition, getSize, hasNext, moveToNextRow, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
forEachRemaining, hasNext
protected final QueryResults.Columns columns
protected final String query
protected QueryResultRowIterator(JcrQueryContext context, String query, NodeSequence sequence, QueryResults.Columns columns)
public boolean hasSelector(String selectorName)
public Row nextRow()
nextRow
in interface RowIterator
protected Row createRow(NodeSequence.Batch batch)
protected int nodeIndexForSelector(String selector)
protected Value jcrPath(CachedNode node)
protected Value jcrUuid(CachedNode node)
protected Value jcrName(CachedNode node)
protected Value jcrLocalName(CachedNode node)
protected Value jcrDepth(CachedNode node)
protected Value jcrChildCount(CachedNode node)
protected Value jcrId(CachedNode node)
protected Value jcrName()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.