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()
com.google.gwtorm.server.ResultSet<T>
read()
com.google.gwtorm.server.ResultSet<FieldBundle>
readRaw()
-
-
-
Method Detail
-
getCardinality
int getCardinality()
- Returns:
- an estimate of the number of results from
read()
.
-
read
com.google.gwtorm.server.ResultSet<T> read() throws com.google.gwtorm.server.OrmException
- Returns:
- read from the database and return the results.
- Throws:
com.google.gwtorm.server.OrmException
-
readRaw
com.google.gwtorm.server.ResultSet<FieldBundle> readRaw() throws com.google.gwtorm.server.OrmException
- Returns:
- read from the database and return the raw results.
- Throws:
com.google.gwtorm.server.OrmException
-
-