public abstract class SchemaDefinitions<V>
extends java.lang.Object
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
.
Modifier | Constructor and Description |
---|---|
protected |
SchemaDefinitions(java.lang.String name,
java.lang.Class<V> valueClass) |
Modifier and Type | Method and Description |
---|---|
Schema<V> |
get(int version) |
Schema<V> |
getLatest() |
java.lang.String |
getName() |
com.google.common.collect.ImmutableSortedMap<java.lang.Integer,Schema<V>> |
getSchemas() |
protected SchemaDefinitions(java.lang.String name, java.lang.Class<V> valueClass)