Interface SchemaReferenceReader

All Superinterfaces:
ConfigurableComponent, ControllerService

public interface SchemaReferenceReader extends ControllerService
Service interface responsible for reading Schema Identifier reference information based on attributes or encoded content information
  • Method Details

    • getSchemaIdentifier

      SchemaIdentifier getSchemaIdentifier(Map<String,String> variables, InputStream contentStream) throws IOException, SchemaNotFoundException
      Get Schema Identifier
      Parameters:
      variables - Map of variables for Schema Identifier resolution can be null or empty
      contentStream - Stream of FlowFile content that may contain encoded Schema Identifier references
      Returns:
      Schema Identifier
      Throws:
      IOException - Thrown on failure to read input content stream
      SchemaNotFoundException - Thrown on failure to find expected Schema Identifier information
    • getSuppliedSchemaFields

      Set<SchemaField> getSuppliedSchemaFields()
      Get supplied Record Schema Fields for validation against the set of Record Schema Fields required for writing schema information
      Returns:
      Supplied Record Schema Fields