org.modeshape.jcr.query
Class JcrSqlQueryResult.JcrSqlQueryResultRowIterator

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.JcrSqlQueryResult.JcrSqlQueryResultRowIterator
All Implemented Interfaces:
Iterator, RowIterator, RangeIterator
Enclosing class:
JcrSqlQueryResult

protected static class JcrSqlQueryResult.JcrSqlQueryResultRowIterator
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 JcrSqlQueryResult.JcrSqlQueryResultRowIterator(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

JcrSqlQueryResult.JcrSqlQueryResultRowIterator

protected JcrSqlQueryResult.JcrSqlQueryResultRowIterator(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.