Versions in this module Expand all Collapse all v1 v1.2.9 Apr 29, 2021 v1.0.0 Mar 3, 2020 Changes in this version + const CompressionDeflate + const CompressionNull + const CompressionSnappy + var ErrInvalidSchema = errors.New("ErrInvalidSchema - Given schema is not AVRO") + var ErrUnsupportedCompression = errors.New("ErrUnsupportedCompression") + var ErrUnsupportedType = errors.New("ErrUnsupportedType - AVRO doesn't support the given type") + type AnySchema struct + func (as *AnySchema) Schema() Schema + func (as *AnySchema) UnmarshalJSON(bytes []byte) error + type ArraySchema struct + Items Schema + Type Type + func (t *ArraySchema) TypeName() Type + type DerivedPrimitiveSchema struct + Documentation string + LogicalType LogicalType + Precision *int + Scale *int + Type Type + func (t *DerivedPrimitiveSchema) TypeName() Type + type EnumSchema struct + Aliases []string + Documentation string + Name string + Namespace string + Symbols []string + Type Type + func (t *EnumSchema) TypeName() Type + type FixedSchema struct + Aliases []string + Documentation string + LogicalType LogicalType + Name string + Namespace string + Size int + Type Type + func (t *FixedSchema) TypeName() Type + type LogicalType Type + const LogialTypeDuration + const LogicalTypeDate + const LogicalTypeDecimal + const LogicalTypeTime + const LogicalTypeTimestamp + type MapSchema struct + Type Type + Value Schema + func (t *MapSchema) TypeName() Type + type Order string + const Ascending + const Descending + const Ignore + type RecordFieldSchema struct + Aliases []string + Default *json.RawMessage + Documentation string + Name string + Order Order + Type Schema + type RecordSchema struct + Aliases []string + Documentation string + Fields []RecordFieldSchema + Name string + Namespace string + Type Type + func (t *RecordSchema) TypeName() Type + type Schema interface + TypeName func() Type + type Type string + const TypeArray + const TypeBoolean + const TypeBytes + const TypeEnum + const TypeFixed + const TypeFloat32 + const TypeFloat64 + const TypeInt32 + const TypeInt64 + const TypeMap + const TypeNull + const TypeRecord + const TypeString + const TypeUnion + func (t Type) TypeName() Type + type UnionSchema []Schema + func (t UnionSchema) TypeName() Type