public class DummyChangeIndex extends java.lang.Object implements ChangeIndex
ChangeIndex.Factory
Constructor and Description |
---|
DummyChangeIndex() |
Modifier and Type | Method and 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyPredicate
public com.google.gerrit.index.Schema<ChangeData> getSchema()
getSchema
in interface com.google.gerrit.index.Index<Change.Id,ChangeData>
public void close()
close
in interface com.google.gerrit.index.Index<Change.Id,ChangeData>
public void replace(ChangeData cd) throws java.io.IOException
replace
in interface com.google.gerrit.index.Index<Change.Id,ChangeData>
java.io.IOException
public void delete(Change.Id id) throws java.io.IOException
delete
in interface com.google.gerrit.index.Index<Change.Id,ChangeData>
java.io.IOException
public void deleteAll() throws java.io.IOException
deleteAll
in interface com.google.gerrit.index.Index<Change.Id,ChangeData>
java.io.IOException
public ChangeDataSource getSource(com.google.gerrit.index.query.Predicate<ChangeData> p, com.google.gerrit.index.QueryOptions opts)
getSource
in interface com.google.gerrit.index.Index<Change.Id,ChangeData>
public void markReady(boolean ready) throws java.io.IOException
markReady
in interface com.google.gerrit.index.Index<Change.Id,ChangeData>
java.io.IOException
public int getMaxLimit()