org.modeshape.jcr.query
Class XPathQueryResult.XPathQueryResultRowIterator

java.lang.Object
  extended by org.modeshape.jcr.query.JcrQueryResult.QueryResultRowIterator
      extended by org.modeshape.jcr.query.JcrQueryResult.SingleSelectorQueryResultRowIterator
          extended by org.modeshape.jcr.query.XPathQueryResult.XPathQueryResultRowIterator
All Implemented Interfaces:
Iterator, RowIterator, RangeIterator
Enclosing class:
XPathQueryResult

protected static class XPathQueryResult.XPathQueryResultRowIterator
extends JcrQueryResult.SingleSelectorQueryResultRowIterator


Field Summary
 
Fields inherited from class org.modeshape.jcr.query.JcrQueryResult.SingleSelectorQueryResultRowIterator
locationIndex, scoreIndex
 
Fields inherited from class org.modeshape.jcr.query.JcrQueryResult.QueryResultRowIterator
columnNames, columns, context, query
 
Constructor Summary
protected XPathQueryResult.XPathQueryResultRowIterator(JcrQueryContext context, String query, QueryResults results, Iterator<Object[]> tuples, long numRows)
           
 
Method Summary
protected  Row createRow(Node node, Object[] tuple)
           
protected  Value jcrPath(Path path)
           
protected  Value jcrScore(Float score)
           
 
Methods inherited from class org.modeshape.jcr.query.JcrQueryResult.SingleSelectorQueryResultRowIterator
getNextRow
 
Methods inherited from class org.modeshape.jcr.query.JcrQueryResult.QueryResultRowIterator
getPosition, getSize, hasNext, hasSelector, next, nextRow, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathQueryResult.XPathQueryResultRowIterator

protected XPathQueryResult.XPathQueryResultRowIterator(JcrQueryContext context,
                                                       String query,
                                                       QueryResults results,
                                                       Iterator<Object[]> tuples,
                                                       long numRows)
Method Detail

createRow

protected Row createRow(Node node,
                        Object[] tuple)
Overrides:
createRow in class JcrQueryResult.SingleSelectorQueryResultRowIterator

jcrPath

protected Value jcrPath(Path path)

jcrScore

protected Value jcrScore(Float score)


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.