Package io.apicurio.registry.serde.avro
Class AvroSchemaParser
- java.lang.Object
-
- io.apicurio.registry.serde.avro.AvroSchemaParser
-
- All Implemented Interfaces:
SchemaParser<org.apache.avro.Schema>
public class AvroSchemaParser extends Object implements SchemaParser<org.apache.avro.Schema>
- Author:
- Fabian Martinez
-
-
Constructor Summary
Constructors Constructor Description AvroSchemaParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.apicurio.registry.types.ArtifactType
artifactType()
org.apache.avro.Schema
parseSchema(byte[] rawSchema)
-
-
-
Method Detail
-
artifactType
public io.apicurio.registry.types.ArtifactType artifactType()
- Specified by:
artifactType
in interfaceSchemaParser<org.apache.avro.Schema>
- See Also:
SchemaParser.artifactType()
-
parseSchema
public org.apache.avro.Schema parseSchema(byte[] rawSchema)
- Specified by:
parseSchema
in interfaceSchemaParser<org.apache.avro.Schema>
- See Also:
SchemaParser.parseSchema(byte[])
-
-