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: 5 Imported by: 0

Documentation

Overview

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

  • SOURCE:
  • arrays.avsc

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

  • SOURCE:
  • arrays.avsc

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

  • SOURCE:
  • arrays.avsc

Index

Constants

View Source
const MapTestRecordAvroCRC64Fingerprint = "\xf7\xdb\x00\xb2n\xa8u\xbf"

Variables

This section is empty.

Functions

This section is empty.

Types

type MapTestRecord

type MapTestRecord struct {
	IntField *MapUnionNullInt
}

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

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)

type MapUnionNullInt

type MapUnionNullInt struct {
	M map[string]*UnionNullInt
	// contains filtered or unexported fields
}

func NewMapUnionNullInt

func NewMapUnionNullInt() *MapUnionNullInt

func (*MapUnionNullInt) AppendArray

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

func (*MapUnionNullInt) AppendMap

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

func (*MapUnionNullInt) Finalize

func (r *MapUnionNullInt) Finalize()

func (*MapUnionNullInt) Get

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

func (*MapUnionNullInt) SetBoolean

func (_ *MapUnionNullInt) SetBoolean(v bool)

func (*MapUnionNullInt) SetBytes

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

func (*MapUnionNullInt) SetDefault

func (_ *MapUnionNullInt) SetDefault(i int)

func (*MapUnionNullInt) SetDouble

func (_ *MapUnionNullInt) SetDouble(v float64)

func (*MapUnionNullInt) SetFloat

func (_ *MapUnionNullInt) SetFloat(v float32)

func (*MapUnionNullInt) SetInt

func (_ *MapUnionNullInt) SetInt(v int32)

func (*MapUnionNullInt) SetLong

func (_ *MapUnionNullInt) SetLong(v int64)

func (*MapUnionNullInt) SetString

func (_ *MapUnionNullInt) SetString(v string)

func (*MapUnionNullInt) SetUnionElem

func (_ *MapUnionNullInt) SetUnionElem(v int64)

type UnionNullInt

type UnionNullInt struct {
	Null *types.NullVal

	Int int32

	UnionType UnionNullIntTypeEnum
}

func NewUnionNullInt

func NewUnionNullInt() *UnionNullInt

func (*UnionNullInt) AppendArray

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

func (*UnionNullInt) AppendMap

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

func (*UnionNullInt) Finalize

func (_ *UnionNullInt) Finalize()

func (*UnionNullInt) Get

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

func (*UnionNullInt) SetBoolean

func (_ *UnionNullInt) SetBoolean(v bool)

func (*UnionNullInt) SetBytes

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

func (*UnionNullInt) SetDefault

func (_ *UnionNullInt) SetDefault(i int)

func (*UnionNullInt) SetDouble

func (_ *UnionNullInt) SetDouble(v float64)

func (*UnionNullInt) SetFloat

func (_ *UnionNullInt) SetFloat(v float32)

func (*UnionNullInt) SetInt

func (_ *UnionNullInt) SetInt(v int32)

func (*UnionNullInt) SetLong

func (r *UnionNullInt) SetLong(v int64)

func (*UnionNullInt) SetString

func (_ *UnionNullInt) SetString(v string)

type UnionNullIntTypeEnum

type UnionNullIntTypeEnum int
const (
	UnionNullIntTypeEnumNull UnionNullIntTypeEnum = 0

	UnionNullIntTypeEnumInt UnionNullIntTypeEnum = 1
)

Jump to

Keyboard shortcuts

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