avro

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) Format

func (s *Schema) Format() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL