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