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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCardinality()
ResultSet<T>
read()
ResultSet<FieldBundle>
readRaw()
-
-
-
Method Detail
-
getCardinality
int getCardinality()
- Returns:
- an estimate of the number of results from
read()
.
-
readRaw
ResultSet<FieldBundle> readRaw()
- Returns:
- read from the database and return the raw results.
-
-