public class PortableSchemaRegistry extends Object
We rely on the fact that usually object has only few different schemas. For this reason we inline several of them with optional fallback to normal hash map lookup.
| Constructor and Description |
|---|
PortableSchemaRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSchema(int schemaId,
PortableSchema schema)
Add schema.
|
PortableSchema |
schema(int schemaId)
Get schema for the given ID.
|
@Nullable public PortableSchema schema(int schemaId)
null values.schemaId - Schema ID.null.public void addSchema(int schemaId,
PortableSchema schema)
schemaId - Schema ID.schema - Schema.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0-b1 Release Date : December 1 2015