Class DummyChangeIndex
- java.lang.Object
-
- com.google.gerrit.server.index.change.DummyChangeIndex
-
- All Implemented Interfaces:
com.google.gerrit.index.Index<Change.Id,ChangeData>
,ChangeIndex
public class DummyChangeIndex extends Object implements ChangeIndex
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.gerrit.server.index.change.ChangeIndex
ChangeIndex.Factory
-
-
Constructor Summary
Constructors Constructor Description DummyChangeIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
delete(Change.Id id)
void
deleteAll()
int
getMaxLimit()
com.google.gerrit.index.Schema<ChangeData>
getSchema()
ChangeDataSource
getSource(com.google.gerrit.index.query.Predicate<ChangeData> p, com.google.gerrit.index.QueryOptions opts)
void
markReady(boolean ready)
void
replace(ChangeData cd)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.gerrit.server.index.change.ChangeIndex
keyPredicate
-
-
-
-
Method Detail
-
getSchema
public com.google.gerrit.index.Schema<ChangeData> getSchema()
- Specified by:
getSchema
in interfacecom.google.gerrit.index.Index<Change.Id,ChangeData>
-
close
public void close()
- Specified by:
close
in interfacecom.google.gerrit.index.Index<Change.Id,ChangeData>
-
replace
public void replace(ChangeData cd) throws IOException
- Specified by:
replace
in interfacecom.google.gerrit.index.Index<Change.Id,ChangeData>
- Throws:
IOException
-
delete
public void delete(Change.Id id) throws IOException
- Specified by:
delete
in interfacecom.google.gerrit.index.Index<Change.Id,ChangeData>
- Throws:
IOException
-
deleteAll
public void deleteAll() throws IOException
- Specified by:
deleteAll
in interfacecom.google.gerrit.index.Index<Change.Id,ChangeData>
- Throws:
IOException
-
getSource
public ChangeDataSource getSource(com.google.gerrit.index.query.Predicate<ChangeData> p, com.google.gerrit.index.QueryOptions opts)
- Specified by:
getSource
in interfacecom.google.gerrit.index.Index<Change.Id,ChangeData>
-
markReady
public void markReady(boolean ready) throws IOException
- Specified by:
markReady
in interfacecom.google.gerrit.index.Index<Change.Id,ChangeData>
- Throws:
IOException
-
getMaxLimit
public int getMaxLimit()
-
-