avro

package
v6.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • union.avsc

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • union.avsc

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • union.avsc

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • union.avsc

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • union.avsc

Index

Constants

View Source
const ComplexUnionTestRecordAvroCRC64Fingerprint = ")h\bbm{\xe0\xbe"
View Source
const NestedUnionRecordAvroCRC64Fingerprint = "#\xb6\xed\xa0\x87F=\xef"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayIntWrapper

type ArrayIntWrapper []int32

func (*ArrayIntWrapper) AppendArray

func (r *ArrayIntWrapper) AppendArray() types.Field

func (*ArrayIntWrapper) AppendMap

func (_ *ArrayIntWrapper) AppendMap(key string) types.Field

func (*ArrayIntWrapper) Finalize

func (_ *ArrayIntWrapper) Finalize()

func (*ArrayIntWrapper) Get

func (_ *ArrayIntWrapper) Get(i int) types.Field

func (*ArrayIntWrapper) SetBoolean

func (_ *ArrayIntWrapper) SetBoolean(v bool)

func (*ArrayIntWrapper) SetBytes

func (_ *ArrayIntWrapper) SetBytes(v []byte)

func (*ArrayIntWrapper) SetDefault

func (_ *ArrayIntWrapper) SetDefault(i int)

func (*ArrayIntWrapper) SetDouble

func (_ *ArrayIntWrapper) SetDouble(v float64)

func (*ArrayIntWrapper) SetFloat

func (_ *ArrayIntWrapper) SetFloat(v float32)

func (*ArrayIntWrapper) SetInt

func (_ *ArrayIntWrapper) SetInt(v int32)

func (*ArrayIntWrapper) SetLong

func (_ *ArrayIntWrapper) SetLong(v int64)

func (*ArrayIntWrapper) SetString

func (_ *ArrayIntWrapper) SetString(v string)

func (*ArrayIntWrapper) SetUnionElem

func (_ *ArrayIntWrapper) SetUnionElem(v int64)

type ComplexUnionTestRecord

type ComplexUnionTestRecord struct {
	UnionField *UnionNullArrayIntMapIntNestedUnionRecord
}

func DeserializeComplexUnionTestRecord

func DeserializeComplexUnionTestRecord(r io.Reader) (*ComplexUnionTestRecord, error)

func DeserializeComplexUnionTestRecordFromSchema

func DeserializeComplexUnionTestRecordFromSchema(r io.Reader, schema string) (*ComplexUnionTestRecord, error)

func NewComplexUnionTestRecord

func NewComplexUnionTestRecord() *ComplexUnionTestRecord

func (*ComplexUnionTestRecord) AppendArray

func (_ *ComplexUnionTestRecord) AppendArray() types.Field

func (*ComplexUnionTestRecord) AppendMap

func (_ *ComplexUnionTestRecord) AppendMap(key string) types.Field

func (*ComplexUnionTestRecord) AvroCRC64Fingerprint

func (_ *ComplexUnionTestRecord) AvroCRC64Fingerprint() []byte

func (*ComplexUnionTestRecord) Finalize

func (_ *ComplexUnionTestRecord) Finalize()

func (*ComplexUnionTestRecord) Get

func (*ComplexUnionTestRecord) Schema

func (r *ComplexUnionTestRecord) Schema() string

func (*ComplexUnionTestRecord) SchemaName

func (r *ComplexUnionTestRecord) SchemaName() string

func (*ComplexUnionTestRecord) Serialize

func (r *ComplexUnionTestRecord) Serialize(w io.Writer) error

func (*ComplexUnionTestRecord) SetBoolean

func (_ *ComplexUnionTestRecord) SetBoolean(v bool)

func (*ComplexUnionTestRecord) SetBytes

func (_ *ComplexUnionTestRecord) SetBytes(v []byte)

func (*ComplexUnionTestRecord) SetDefault

func (r *ComplexUnionTestRecord) SetDefault(i int)

func (*ComplexUnionTestRecord) SetDouble

func (_ *ComplexUnionTestRecord) SetDouble(v float64)

func (*ComplexUnionTestRecord) SetFloat

func (_ *ComplexUnionTestRecord) SetFloat(v float32)

func (*ComplexUnionTestRecord) SetInt

func (_ *ComplexUnionTestRecord) SetInt(v int32)

func (*ComplexUnionTestRecord) SetLong

func (_ *ComplexUnionTestRecord) SetLong(v int64)

func (*ComplexUnionTestRecord) SetString

func (_ *ComplexUnionTestRecord) SetString(v string)

func (*ComplexUnionTestRecord) SetUnionElem

func (_ *ComplexUnionTestRecord) SetUnionElem(v int64)

type MapInt

type MapInt struct {
	M map[string]int32
	// contains filtered or unexported fields
}

func NewMapInt

func NewMapInt() *MapInt

func (*MapInt) AppendArray

func (_ *MapInt) AppendArray() types.Field

func (*MapInt) AppendMap

func (r *MapInt) AppendMap(key string) types.Field

func (*MapInt) Finalize

func (r *MapInt) Finalize()

func (*MapInt) Get

func (_ *MapInt) Get(i int) types.Field

func (*MapInt) SetBoolean

func (_ *MapInt) SetBoolean(v bool)

func (*MapInt) SetBytes

func (_ *MapInt) SetBytes(v []byte)

func (*MapInt) SetDefault

func (_ *MapInt) SetDefault(i int)

func (*MapInt) SetDouble

func (_ *MapInt) SetDouble(v float64)

func (*MapInt) SetFloat

func (_ *MapInt) SetFloat(v float32)

func (*MapInt) SetInt

func (_ *MapInt) SetInt(v int32)

func (*MapInt) SetLong

func (_ *MapInt) SetLong(v int64)

func (*MapInt) SetString

func (_ *MapInt) SetString(v string)

func (*MapInt) SetUnionElem

func (_ *MapInt) SetUnionElem(v int64)

type NestedUnionRecord

type NestedUnionRecord struct {
	IntField int32
}

func DeserializeNestedUnionRecord

func DeserializeNestedUnionRecord(r io.Reader) (*NestedUnionRecord, error)

func DeserializeNestedUnionRecordFromSchema

func DeserializeNestedUnionRecordFromSchema(r io.Reader, schema string) (*NestedUnionRecord, error)

func NewNestedUnionRecord

func NewNestedUnionRecord() *NestedUnionRecord

func (*NestedUnionRecord) AppendArray

func (_ *NestedUnionRecord) AppendArray() types.Field

func (*NestedUnionRecord) AppendMap

func (_ *NestedUnionRecord) AppendMap(key string) types.Field

func (*NestedUnionRecord) AvroCRC64Fingerprint

func (_ *NestedUnionRecord) AvroCRC64Fingerprint() []byte

func (*NestedUnionRecord) Finalize

func (_ *NestedUnionRecord) Finalize()

func (*NestedUnionRecord) Get

func (r *NestedUnionRecord) Get(i int) types.Field

func (*NestedUnionRecord) Schema

func (r *NestedUnionRecord) Schema() string

func (*NestedUnionRecord) SchemaName

func (r *NestedUnionRecord) SchemaName() string

func (*NestedUnionRecord) Serialize

func (r *NestedUnionRecord) Serialize(w io.Writer) error

func (*NestedUnionRecord) SetBoolean

func (_ *NestedUnionRecord) SetBoolean(v bool)

func (*NestedUnionRecord) SetBytes

func (_ *NestedUnionRecord) SetBytes(v []byte)

func (*NestedUnionRecord) SetDefault

func (r *NestedUnionRecord) SetDefault(i int)

func (*NestedUnionRecord) SetDouble

func (_ *NestedUnionRecord) SetDouble(v float64)

func (*NestedUnionRecord) SetFloat

func (_ *NestedUnionRecord) SetFloat(v float32)

func (*NestedUnionRecord) SetInt

func (_ *NestedUnionRecord) SetInt(v int32)

func (*NestedUnionRecord) SetLong

func (_ *NestedUnionRecord) SetLong(v int64)

func (*NestedUnionRecord) SetString

func (_ *NestedUnionRecord) SetString(v string)

func (*NestedUnionRecord) SetUnionElem

func (_ *NestedUnionRecord) SetUnionElem(v int64)

type UnionNullArrayIntMapIntNestedUnionRecord

type UnionNullArrayIntMapIntNestedUnionRecord struct {
	Null *types.NullVal

	ArrayInt []int32

	MapInt *MapInt

	NestedUnionRecord *NestedUnionRecord

	UnionType UnionNullArrayIntMapIntNestedUnionRecordTypeEnum
}

func NewUnionNullArrayIntMapIntNestedUnionRecord

func NewUnionNullArrayIntMapIntNestedUnionRecord() *UnionNullArrayIntMapIntNestedUnionRecord

func (*UnionNullArrayIntMapIntNestedUnionRecord) AppendArray

func (*UnionNullArrayIntMapIntNestedUnionRecord) AppendMap

func (*UnionNullArrayIntMapIntNestedUnionRecord) Finalize

func (*UnionNullArrayIntMapIntNestedUnionRecord) Get

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetBoolean

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetBytes

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetDefault

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetDouble

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetFloat

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetInt

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetLong

func (*UnionNullArrayIntMapIntNestedUnionRecord) SetString

type UnionNullArrayIntMapIntNestedUnionRecordTypeEnum

type UnionNullArrayIntMapIntNestedUnionRecordTypeEnum int
const (
	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumNull UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 0

	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumArrayInt UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 1

	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumMapInt UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 2

	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumNestedUnionRecord UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 3
)

Jump to

Keyboard shortcuts

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