avro

package
v6.3.1-wip-refactoring... Latest Latest
Warning

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

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

Documentation

Overview

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

  • SOURCE:
  • nested.avsc

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

  • SOURCE:
  • nested.avsc

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

  • SOURCE:
  • nested.avsc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NestedRecord

type NestedRecord struct {
	StringField string

	BoolField bool

	BytesField []byte
}

func DeserializeNestedRecord

func DeserializeNestedRecord(r io.Reader) (t NestedRecord, err error)

func DeserializeNestedRecordFromSchema

func DeserializeNestedRecordFromSchema(r io.Reader, schema string) (t NestedRecord, err error)

func (*NestedRecord) AppendArray

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

func (*NestedRecord) AppendMap

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

func (*NestedRecord) Clear

func (r *NestedRecord) Clear(i int)

func (*NestedRecord) Finalize

func (_ *NestedRecord) Finalize()

func (*NestedRecord) Get

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

func (NestedRecord) Schema

func (r NestedRecord) Schema() string

func (NestedRecord) SchemaName

func (r NestedRecord) SchemaName() string

func (NestedRecord) Serialize

func (r NestedRecord) Serialize(w io.Writer) error

func (*NestedRecord) SetBoolean

func (_ *NestedRecord) SetBoolean(v bool)

func (*NestedRecord) SetBytes

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

func (*NestedRecord) SetDefault

func (r *NestedRecord) SetDefault(i int)

func (*NestedRecord) SetDouble

func (_ *NestedRecord) SetDouble(v float64)

func (*NestedRecord) SetFloat

func (_ *NestedRecord) SetFloat(v float32)

func (*NestedRecord) SetInt

func (_ *NestedRecord) SetInt(v int32)

func (*NestedRecord) SetLong

func (_ *NestedRecord) SetLong(v int64)

func (*NestedRecord) SetString

func (_ *NestedRecord) SetString(v string)

func (*NestedRecord) SetUnionElem

func (_ *NestedRecord) SetUnionElem(v int64)

type NestedTestRecord

type NestedTestRecord struct {
	NumberField NumberRecord

	OtherField NestedRecord
}

func DeserializeNestedTestRecord

func DeserializeNestedTestRecord(r io.Reader) (t NestedTestRecord, err error)

func DeserializeNestedTestRecordFromSchema

func DeserializeNestedTestRecordFromSchema(r io.Reader, schema string) (t NestedTestRecord, err error)

func (*NestedTestRecord) AppendArray

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

func (*NestedTestRecord) AppendMap

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

func (*NestedTestRecord) Clear

func (r *NestedTestRecord) Clear(i int)

func (*NestedTestRecord) Finalize

func (_ *NestedTestRecord) Finalize()

func (*NestedTestRecord) Get

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

func (NestedTestRecord) Schema

func (r NestedTestRecord) Schema() string

func (NestedTestRecord) SchemaName

func (r NestedTestRecord) SchemaName() string

func (NestedTestRecord) Serialize

func (r NestedTestRecord) Serialize(w io.Writer) error

func (*NestedTestRecord) SetBoolean

func (_ *NestedTestRecord) SetBoolean(v bool)

func (*NestedTestRecord) SetBytes

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

func (*NestedTestRecord) SetDefault

func (r *NestedTestRecord) SetDefault(i int)

func (*NestedTestRecord) SetDouble

func (_ *NestedTestRecord) SetDouble(v float64)

func (*NestedTestRecord) SetFloat

func (_ *NestedTestRecord) SetFloat(v float32)

func (*NestedTestRecord) SetInt

func (_ *NestedTestRecord) SetInt(v int32)

func (*NestedTestRecord) SetLong

func (_ *NestedTestRecord) SetLong(v int64)

func (*NestedTestRecord) SetString

func (_ *NestedTestRecord) SetString(v string)

func (*NestedTestRecord) SetUnionElem

func (_ *NestedTestRecord) SetUnionElem(v int64)

type NumberRecord

type NumberRecord struct {
	IntField int32

	LongField int64

	FloatField float32

	DoubleField float64
}

func DeserializeNumberRecord

func DeserializeNumberRecord(r io.Reader) (t NumberRecord, err error)

func DeserializeNumberRecordFromSchema

func DeserializeNumberRecordFromSchema(r io.Reader, schema string) (t NumberRecord, err error)

func (*NumberRecord) AppendArray

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

func (*NumberRecord) AppendMap

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

func (*NumberRecord) Clear

func (r *NumberRecord) Clear(i int)

func (*NumberRecord) Finalize

func (_ *NumberRecord) Finalize()

func (*NumberRecord) Get

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

func (NumberRecord) Schema

func (r NumberRecord) Schema() string

func (NumberRecord) SchemaName

func (r NumberRecord) SchemaName() string

func (NumberRecord) Serialize

func (r NumberRecord) Serialize(w io.Writer) error

func (*NumberRecord) SetBoolean

func (_ *NumberRecord) SetBoolean(v bool)

func (*NumberRecord) SetBytes

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

func (*NumberRecord) SetDefault

func (r *NumberRecord) SetDefault(i int)

func (*NumberRecord) SetDouble

func (_ *NumberRecord) SetDouble(v float64)

func (*NumberRecord) SetFloat

func (_ *NumberRecord) SetFloat(v float32)

func (*NumberRecord) SetInt

func (_ *NumberRecord) SetInt(v int32)

func (*NumberRecord) SetLong

func (_ *NumberRecord) SetLong(v int64)

func (*NumberRecord) SetString

func (_ *NumberRecord) SetString(v string)

func (*NumberRecord) SetUnionElem

func (_ *NumberRecord) SetUnionElem(v int64)

Jump to

Keyboard shortcuts

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