org.xwiki.extension.repository.result
Interface IterableResult<T>

Type Parameters:
T - the type
All Superinterfaces:
Iterable<T>
All Known Implementing Classes:
AbstractSearchResult, AggregatedIterableResult, CollectionIterableResult, WrappingIterableResult

public interface IterableResult<T>
extends Iterable<T>

The result of a query.

Since:
4.0M1
Version:
$Id$

Method Summary
 int getOffset()
           
 int getSize()
           
 int getTotalHits()
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getTotalHits

int getTotalHits()
Returns:
the total number of possible results without offset or maximum results limits

getOffset

int getOffset()
Returns:
the index in the total number of possible search result where this extract starts

getSize

int getSize()
Returns:
the number of found extensions


Copyright © 2004-2012 XWiki. All Rights Reserved.