org.chromattic.core.query
Class QueryResultImpl<O>

java.lang.Object
  extended by org.chromattic.common.collection.AbstractFilterIterator<O,javax.jcr.Node>
      extended by org.chromattic.core.query.QueryResultImpl<O>
All Implemented Interfaces:
java.util.Iterator<O>, QueryResult<O>

public class QueryResultImpl<O>
extends AbstractFilterIterator<O,javax.jcr.Node>
implements QueryResult<O>

Version:
$Revision$
Author:
Julien Viet

Method Summary
protected  O adapt(javax.jcr.Node internal)
           
 int hits()
           
 int size()
           
 
Methods inherited from class org.chromattic.common.collection.AbstractFilterIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

adapt

protected O adapt(javax.jcr.Node internal)
Specified by:
adapt in class AbstractFilterIterator<O,javax.jcr.Node>

size

public int size()
Specified by:
size in interface QueryResult<O>

hits

public int hits()
Specified by:
hits in interface QueryResult<O>


Copyright © 2012 eXo Platform SAS. All Rights Reserved.