Class LazyParsedSchemaHolder
java.lang.Object
io.confluent.kafka.schemaregistry.storage.LazyParsedSchemaHolder
- All Implemented Interfaces:
ParsedSchemaHolder,SchemaValueHolder
-
Constructor Details
-
LazyParsedSchemaHolder
-
-
Method Details
-
schema
Returns the schema.- Specified by:
schemain interfaceParsedSchemaHolder- Returns:
- the schema
-
schemaValue
Description copied from interface:SchemaValueHolderReturns the schema value.- Specified by:
schemaValuein interfaceSchemaValueHolder- Returns:
- the schema value
- Throws:
SchemaRegistryException- if the schema value cannot be retrieved
-
clear
public void clear()Clears the schema if it can be lazily retrieved in the future.- Specified by:
clearin interfaceParsedSchemaHolder
-