avro

package
v6.5.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

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

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

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

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

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

Index

Constants

View Source
const MapTestRecordAvroCRC64Fingerprint = "<?\x18\xa0\a\xdf^\x9e"

Variables

This section is empty.

Functions

This section is empty.

Types

type MapBool

type MapBool struct {
	M map[string]bool
	// contains filtered or unexported fields
}

func NewMapBool

func NewMapBool() *MapBool

func (*MapBool) AppendArray

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

func (*MapBool) AppendMap

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

func (*MapBool) Finalize

func (r *MapBool) Finalize()

func (*MapBool) Get

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

func (*MapBool) SetBoolean

func (_ *MapBool) SetBoolean(v bool)

func (*MapBool) SetBytes

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

func (*MapBool) SetDefault

func (_ *MapBool) SetDefault(i int)

func (*MapBool) SetDouble

func (_ *MapBool) SetDouble(v float64)

func (*MapBool) SetFloat

func (_ *MapBool) SetFloat(v float32)

func (*MapBool) SetInt

func (_ *MapBool) SetInt(v int32)

func (*MapBool) SetLong

func (_ *MapBool) SetLong(v int64)

func (*MapBool) SetString

func (_ *MapBool) SetString(v string)

func (*MapBool) SetUnionElem

func (_ *MapBool) SetUnionElem(v int64)

type MapBytes

type MapBytes struct {
	M map[string][]byte
	// contains filtered or unexported fields
}

func NewMapBytes

func NewMapBytes() *MapBytes

func (*MapBytes) AppendArray

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

func (*MapBytes) AppendMap

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

func (*MapBytes) Finalize

func (r *MapBytes) Finalize()

func (*MapBytes) Get

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

func (*MapBytes) SetBoolean

func (_ *MapBytes) SetBoolean(v bool)

func (*MapBytes) SetBytes

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

func (*MapBytes) SetDefault

func (_ *MapBytes) SetDefault(i int)

func (*MapBytes) SetDouble

func (_ *MapBytes) SetDouble(v float64)

func (*MapBytes) SetFloat

func (_ *MapBytes) SetFloat(v float32)

func (*MapBytes) SetInt

func (_ *MapBytes) SetInt(v int32)

func (*MapBytes) SetLong

func (_ *MapBytes) SetLong(v int64)

func (*MapBytes) SetString

func (_ *MapBytes) SetString(v string)

func (*MapBytes) SetUnionElem

func (_ *MapBytes) SetUnionElem(v int64)

type MapDouble

type MapDouble struct {
	M map[string]float64
	// contains filtered or unexported fields
}

func NewMapDouble

func NewMapDouble() *MapDouble

func (*MapDouble) AppendArray

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

func (*MapDouble) AppendMap

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

func (*MapDouble) Finalize

func (r *MapDouble) Finalize()

func (*MapDouble) Get

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

func (*MapDouble) SetBoolean

func (_ *MapDouble) SetBoolean(v bool)

func (*MapDouble) SetBytes

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

func (*MapDouble) SetDefault

func (_ *MapDouble) SetDefault(i int)

func (*MapDouble) SetDouble

func (_ *MapDouble) SetDouble(v float64)

func (*MapDouble) SetFloat

func (_ *MapDouble) SetFloat(v float32)

func (*MapDouble) SetInt

func (_ *MapDouble) SetInt(v int32)

func (*MapDouble) SetLong

func (_ *MapDouble) SetLong(v int64)

func (*MapDouble) SetString

func (_ *MapDouble) SetString(v string)

func (*MapDouble) SetUnionElem

func (_ *MapDouble) SetUnionElem(v int64)

type MapFloat

type MapFloat struct {
	M map[string]float32
	// contains filtered or unexported fields
}

func NewMapFloat

func NewMapFloat() *MapFloat

func (*MapFloat) AppendArray

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

func (*MapFloat) AppendMap

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

func (*MapFloat) Finalize

func (r *MapFloat) Finalize()

func (*MapFloat) Get

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

func (*MapFloat) SetBoolean

func (_ *MapFloat) SetBoolean(v bool)

func (*MapFloat) SetBytes

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

func (*MapFloat) SetDefault

func (_ *MapFloat) SetDefault(i int)

func (*MapFloat) SetDouble

func (_ *MapFloat) SetDouble(v float64)

func (*MapFloat) SetFloat

func (_ *MapFloat) SetFloat(v float32)

func (*MapFloat) SetInt

func (_ *MapFloat) SetInt(v int32)

func (*MapFloat) SetLong

func (_ *MapFloat) SetLong(v int64)

func (*MapFloat) SetString

func (_ *MapFloat) SetString(v string)

func (*MapFloat) SetUnionElem

func (_ *MapFloat) 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 MapLong

type MapLong struct {
	M map[string]int64
	// contains filtered or unexported fields
}

func NewMapLong

func NewMapLong() *MapLong

func (*MapLong) AppendArray

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

func (*MapLong) AppendMap

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

func (*MapLong) Finalize

func (r *MapLong) Finalize()

func (*MapLong) Get

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

func (*MapLong) SetBoolean

func (_ *MapLong) SetBoolean(v bool)

func (*MapLong) SetBytes

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

func (*MapLong) SetDefault

func (_ *MapLong) SetDefault(i int)

func (*MapLong) SetDouble

func (_ *MapLong) SetDouble(v float64)

func (*MapLong) SetFloat

func (_ *MapLong) SetFloat(v float32)

func (*MapLong) SetInt

func (_ *MapLong) SetInt(v int32)

func (*MapLong) SetLong

func (_ *MapLong) SetLong(v int64)

func (*MapLong) SetString

func (_ *MapLong) SetString(v string)

func (*MapLong) SetUnionElem

func (_ *MapLong) SetUnionElem(v int64)

type MapString

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

func NewMapString

func NewMapString() *MapString

func (*MapString) AppendArray

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

func (*MapString) AppendMap

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

func (*MapString) Finalize

func (r *MapString) Finalize()

func (*MapString) Get

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

func (*MapString) SetBoolean

func (_ *MapString) SetBoolean(v bool)

func (*MapString) SetBytes

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

func (*MapString) SetDefault

func (_ *MapString) SetDefault(i int)

func (*MapString) SetDouble

func (_ *MapString) SetDouble(v float64)

func (*MapString) SetFloat

func (_ *MapString) SetFloat(v float32)

func (*MapString) SetInt

func (_ *MapString) SetInt(v int32)

func (*MapString) SetLong

func (_ *MapString) SetLong(v int64)

func (*MapString) SetString

func (_ *MapString) SetString(v string)

func (*MapString) SetUnionElem

func (_ *MapString) SetUnionElem(v int64)

type MapTestRecord

type MapTestRecord struct {
	IntField *MapInt

	LongField *MapLong

	DoubleField *MapDouble

	StringField *MapString

	FloatField *MapFloat

	BoolField *MapBool

	BytesField *MapBytes
}

func DeserializeMapTestRecord

func DeserializeMapTestRecord(r io.Reader) (*MapTestRecord, error)

func DeserializeMapTestRecordFromSchema

func DeserializeMapTestRecordFromSchema(r io.Reader, schema string) (*MapTestRecord, error)

func NewMapTestRecord

func NewMapTestRecord() *MapTestRecord

func (*MapTestRecord) AppendArray

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

func (*MapTestRecord) AppendMap

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

func (*MapTestRecord) AvroCRC64Fingerprint added in v6.5.0

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

func (*MapTestRecord) Finalize

func (_ *MapTestRecord) Finalize()

func (*MapTestRecord) Get

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

func (*MapTestRecord) Schema

func (r *MapTestRecord) Schema() string

func (*MapTestRecord) SchemaName

func (r *MapTestRecord) SchemaName() string

func (*MapTestRecord) Serialize

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

func (*MapTestRecord) SetBoolean

func (_ *MapTestRecord) SetBoolean(v bool)

func (*MapTestRecord) SetBytes

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

func (*MapTestRecord) SetDefault

func (r *MapTestRecord) SetDefault(i int)

func (*MapTestRecord) SetDouble

func (_ *MapTestRecord) SetDouble(v float64)

func (*MapTestRecord) SetFloat

func (_ *MapTestRecord) SetFloat(v float32)

func (*MapTestRecord) SetInt

func (_ *MapTestRecord) SetInt(v int32)

func (*MapTestRecord) SetLong

func (_ *MapTestRecord) SetLong(v int64)

func (*MapTestRecord) SetString

func (_ *MapTestRecord) SetString(v string)

func (*MapTestRecord) SetUnionElem

func (_ *MapTestRecord) SetUnionElem(v int64)

Jump to

Keyboard shortcuts

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