Interface JsonSchemaRegistry
- All Superinterfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService
public interface JsonSchemaRegistry
extends org.apache.nifi.controller.ControllerService
Represents
ControllerService strategy to expose internal and/or
integrate with external Schema Registry-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.nifi.json.schema.JsonSchemaretrieveSchema(String schemaName) Retrieves the schema based on the provided schema nameMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Method Details
-
retrieveSchema
org.apache.nifi.json.schema.JsonSchema retrieveSchema(String schemaName) throws IOException, org.apache.nifi.schema.access.SchemaNotFoundException Retrieves the schema based on the provided schema name- Parameters:
schemaName- The name of the schema- Returns:
- the schema for the given descriptor
- Throws:
IOException- if unable to communicate with the backing storeorg.apache.nifi.schema.access.SchemaNotFoundException- if unable to find the schema based on the given descriptor
-