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 Type
    Method
    Description
    org.apache.nifi.json.schema.JsonSchema
    retrieveSchema(String schemaName)
    Retrieves the schema based on the provided schema name

    Methods inherited from interface org.apache.nifi.components.ConfigurableComponent

    getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate

    Methods 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 store
      org.apache.nifi.schema.access.SchemaNotFoundException - if unable to find the schema based on the given descriptor