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.

  • 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

View Source
const NestedRecordAvroCRC64Fingerprint = "\x81\x8d\xc3K?\xe83\xcc"
View Source
const NestedTestRecordAvroCRC64Fingerprint = "b{m\\D\xbe\xaa\x96"
View Source
const NumberRecordAvroCRC64Fingerprint = "\xf4Zu\xd5Nt'~"

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) (*NestedRecord, error)

func DeserializeNestedRecordFromSchema

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

func NewNestedRecord

func NewNestedRecord() *NestedRecord

func (*NestedRecord) AppendArray

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

func (*NestedRecord) AppendMap

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

func (*NestedRecord) AvroCRC64Fingerprint added in v6.5.0

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

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) (*NestedTestRecord, error)

func DeserializeNestedTestRecordFromSchema

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

func NewNestedTestRecord

func NewNestedTestRecord() *NestedTestRecord

func (*NestedTestRecord) AppendArray

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

func (*NestedTestRecord) AppendMap

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

func (*NestedTestRecord) AvroCRC64Fingerprint added in v6.5.0

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

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) (*NumberRecord, error)

func DeserializeNumberRecordFromSchema

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

func NewNumberRecord

func NewNumberRecord() *NumberRecord

func (*NumberRecord) AppendArray

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

func (*NumberRecord) AppendMap

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

func (*NumberRecord) AvroCRC64Fingerprint added in v6.5.0

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

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