Interface SchemaValueHolder
- All Superinterfaces:
ParsedSchemaHolder
- All Known Implementing Classes:
LazyParsedSchemaHolder
An extension of
ParsedSchemaHolder that also provides access to the underlying
SchemaValue. This interface allows code that needs the schema value (such as
AbstractSchemaRegistry.maybePopulateFromPrevious(io.confluent.kafka.schemaregistry.client.rest.entities.Config, io.confluent.kafka.schemaregistry.client.rest.entities.Schema, java.util.List<io.confluent.kafka.schemaregistry.ParsedSchemaHolder>, int, boolean)) to work with any implementation
that can provide schema values, not just LazyParsedSchemaHolder.-
Method Summary
Methods inherited from interface io.confluent.kafka.schemaregistry.ParsedSchemaHolder
clear, schema
-
Method Details
-
schemaValue
Returns the schema value.- Returns:
- the schema value
- Throws:
SchemaRegistryException- if the schema value cannot be retrieved
-