public class BinarySchemaRegistry 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 |
|---|
BinarySchemaRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSchema(int schemaId,
BinarySchema schema)
Add schema.
|
@Nullable BinarySchema |
schema(int schemaId)
Get schema for the given ID.
|
List<BinarySchema> |
schemas() |
@Nullable public @Nullable BinarySchema schema(int schemaId)
null values.schemaId - Schema ID.null.public void addSchema(int schemaId,
BinarySchema schema)
schemaId - Schema ID.schema - Schema.public List<BinarySchema> schemas()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023