Documentation ¶
Index ¶
- func ParseSchema(data []byte) (schema.ParsedSchema, error)
- type Schema
- func (s *Schema) Format() string
- func (s *Schema) GetCanonicalValue() *schema.SchemaFile
- func (s *Schema) IsBackwardCompatible(against schema.ParsedSchema) error
- func (s *Schema) IsForwardCompatible(against schema.ParsedSchema) error
- func (s *Schema) IsFullCompatible(against schema.ParsedSchema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSchema ¶
func ParseSchema(data []byte) (schema.ParsedSchema, error)
ParseSchema parses avro schema bytes into ParsedSchema
Types ¶
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
func (*Schema) GetCanonicalValue ¶
func (s *Schema) GetCanonicalValue() *schema.SchemaFile
func (*Schema) IsBackwardCompatible ¶
func (s *Schema) IsBackwardCompatible(against schema.ParsedSchema) error
IsBackwardCompatible checks backward compatibility against given schema
func (*Schema) IsForwardCompatible ¶
func (s *Schema) IsForwardCompatible(against schema.ParsedSchema) error
IsForwardCompatible checks backward compatibility against given schema
func (*Schema) IsFullCompatible ¶
func (s *Schema) IsFullCompatible(against schema.ParsedSchema) error
IsFullCompatible checks for forward compatibility
Click to show internal directories.
Click to hide internal directories.