Class CurrentSchemaVersion
- java.lang.Object
-
- com.google.gerrit.reviewdb.client.CurrentSchemaVersion
-
public final class CurrentSchemaVersion extends Object
Current version of the database schema, to facilitate live upgrades.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurrentSchemaVersion.Key
-
Field Summary
Fields Modifier and Type Field Description CurrentSchemaVersion.Key
singleton
int
versionNbr
Current version number of the schema.
-
Constructor Summary
Constructors Constructor Description CurrentSchemaVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CurrentSchemaVersion
create()
Construct a new, unconfigured instance.
-
-
-
Field Detail
-
singleton
public CurrentSchemaVersion.Key singleton
-
versionNbr
public transient int versionNbr
Current version number of the schema.
-
-
Method Detail
-
create
public static CurrentSchemaVersion create()
Construct a new, unconfigured instance.
-
-