java.lang.Object
org.springframework.cloud.stream.schema.registry.ParsedSchema

public class ParsedSchema extends Object
Stores a Schema together with its String representation. Helps to avoid unnecessary parsing of schema textual representation, as well as calls to Schema toString method which is very expensive due the utilization of ObjectMapper to output a JSON representation of the schema. Once a schema is found for any Class, be it a POJO or a GenericContainer, both textual representation as well as the Schema will be stored within this class.
Author:
Vinicius Carvalho
  • Constructor Details

    • ParsedSchema

      public ParsedSchema(org.apache.avro.Schema schema)
  • Method Details