Package com.google.gerrit.index.query
Interface DataSource<T>
- 
- All Known Subinterfaces:
- ChangeDataSource
 - All Known Implementing Classes:
- AndChangeSource,- AndSource,- IndexedAccountQuery,- IndexedChangeQuery,- IndexedGroupQuery,- IndexedQuery,- OrSource
 
 public interface DataSource<T>
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCardinality()ResultSet<T>read()ResultSet<FieldBundle>readRaw()
 
- 
- 
- 
Method Detail- 
getCardinalityint getCardinality() - Returns:
- an estimate of the number of results from read().
 
 - 
readRawResultSet<FieldBundle> readRaw() - Returns:
- read from the database and return the raw results.
 
 
- 
 
-