Package com.google.gerrit.index
Class SchemaDefinitions<V>
java.lang.Object
com.google.gerrit.index.SchemaDefinitions<V>
- Direct Known Subclasses:
AccountSchemaDefinitions
,ChangeSchemaDefinitions
,GroupSchemaDefinitions
Definitions of the various schema versions over a given Gerrit data type.
A schema is a description of the fields that are indexed over the given data type.
This class contains all the versions of a schema defined over its data type, exposed as a map of
version number to schema definition. If you are interested in the classes responsible for
backend-specific runtime implementations, see the implementations of IndexDefinition
.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SchemaDefinitions
-
-
Method Details
-
getName
-
getSchemas
Returns all schemas sorted by version (ascending). -
get
-
getLatest
-
getPrevious
-