Package io.apicurio.registry.maven
Class AvroDirectoryParser
java.lang.Object
io.apicurio.registry.maven.AbstractDirectoryParser<org.apache.avro.Schema>
io.apicurio.registry.maven.AvroDirectoryParser
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList
<io.apicurio.registry.rest.client.models.ArtifactReference> handleSchemaReferences
(RegisterArtifact rootArtifact, org.apache.avro.Schema rootSchema, Map<String, io.apicurio.registry.content.TypedContent> fileContents) ParsedDirectoryWrapper
<org.apache.avro.Schema> Methods inherited from class io.apicurio.registry.maven.AbstractDirectoryParser
buildFromRoot, readSchemaContent, registerNestedSchema
-
Constructor Details
-
AvroDirectoryParser
public AvroDirectoryParser(io.apicurio.registry.rest.client.RegistryClient client)
-
-
Method Details
-
parse
- Specified by:
parse
in classAbstractDirectoryParser<org.apache.avro.Schema>
-
handleSchemaReferences
public List<io.apicurio.registry.rest.client.models.ArtifactReference> handleSchemaReferences(RegisterArtifact rootArtifact, org.apache.avro.Schema rootSchema, Map<String, io.apicurio.registry.content.TypedContent> fileContents) throws FileNotFoundException, ExecutionException, InterruptedException- Specified by:
handleSchemaReferences
in classAbstractDirectoryParser<org.apache.avro.Schema>
- Throws:
FileNotFoundException
ExecutionException
InterruptedException
-