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: 4 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

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

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 ArrayTestRecordAvroCRC64Fingerprint = "\"I\xbbnO\x1c#,"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayBoolWrapper

type ArrayBoolWrapper []bool

func (*ArrayBoolWrapper) AppendArray

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

func (*ArrayBoolWrapper) AppendMap

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

func (*ArrayBoolWrapper) Finalize

func (_ *ArrayBoolWrapper) Finalize()

func (*ArrayBoolWrapper) Get

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

func (*ArrayBoolWrapper) SetBoolean

func (_ *ArrayBoolWrapper) SetBoolean(v bool)

func (*ArrayBoolWrapper) SetBytes

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

func (*ArrayBoolWrapper) SetDefault

func (_ *ArrayBoolWrapper) SetDefault(i int)

func (*ArrayBoolWrapper) SetDouble

func (_ *ArrayBoolWrapper) SetDouble(v float64)

func (*ArrayBoolWrapper) SetFloat

func (_ *ArrayBoolWrapper) SetFloat(v float32)

func (*ArrayBoolWrapper) SetInt

func (_ *ArrayBoolWrapper) SetInt(v int32)

func (*ArrayBoolWrapper) SetLong

func (_ *ArrayBoolWrapper) SetLong(v int64)

func (*ArrayBoolWrapper) SetString

func (_ *ArrayBoolWrapper) SetString(v string)

func (*ArrayBoolWrapper) SetUnionElem

func (_ *ArrayBoolWrapper) SetUnionElem(v int64)

type ArrayBytesWrapper

type ArrayBytesWrapper [][]byte

func (*ArrayBytesWrapper) AppendArray

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

func (*ArrayBytesWrapper) AppendMap

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

func (*ArrayBytesWrapper) Finalize

func (_ *ArrayBytesWrapper) Finalize()

func (*ArrayBytesWrapper) Get

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

func (*ArrayBytesWrapper) SetBoolean

func (_ *ArrayBytesWrapper) SetBoolean(v bool)

func (*ArrayBytesWrapper) SetBytes

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

func (*ArrayBytesWrapper) SetDefault

func (_ *ArrayBytesWrapper) SetDefault(i int)

func (*ArrayBytesWrapper) SetDouble

func (_ *ArrayBytesWrapper) SetDouble(v float64)

func (*ArrayBytesWrapper) SetFloat

func (_ *ArrayBytesWrapper) SetFloat(v float32)

func (*ArrayBytesWrapper) SetInt

func (_ *ArrayBytesWrapper) SetInt(v int32)

func (*ArrayBytesWrapper) SetLong

func (_ *ArrayBytesWrapper) SetLong(v int64)

func (*ArrayBytesWrapper) SetString

func (_ *ArrayBytesWrapper) SetString(v string)

func (*ArrayBytesWrapper) SetUnionElem

func (_ *ArrayBytesWrapper) SetUnionElem(v int64)

type ArrayDoubleWrapper

type ArrayDoubleWrapper []float64

func (*ArrayDoubleWrapper) AppendArray

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

func (*ArrayDoubleWrapper) AppendMap

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

func (*ArrayDoubleWrapper) Finalize

func (_ *ArrayDoubleWrapper) Finalize()

func (*ArrayDoubleWrapper) Get

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

func (*ArrayDoubleWrapper) SetBoolean

func (_ *ArrayDoubleWrapper) SetBoolean(v bool)

func (*ArrayDoubleWrapper) SetBytes

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

func (*ArrayDoubleWrapper) SetDefault

func (_ *ArrayDoubleWrapper) SetDefault(i int)

func (*ArrayDoubleWrapper) SetDouble

func (_ *ArrayDoubleWrapper) SetDouble(v float64)

func (*ArrayDoubleWrapper) SetFloat

func (_ *ArrayDoubleWrapper) SetFloat(v float32)

func (*ArrayDoubleWrapper) SetInt

func (_ *ArrayDoubleWrapper) SetInt(v int32)

func (*ArrayDoubleWrapper) SetLong

func (_ *ArrayDoubleWrapper) SetLong(v int64)

func (*ArrayDoubleWrapper) SetString

func (_ *ArrayDoubleWrapper) SetString(v string)

func (*ArrayDoubleWrapper) SetUnionElem

func (_ *ArrayDoubleWrapper) SetUnionElem(v int64)

type ArrayFloatWrapper

type ArrayFloatWrapper []float32

func (*ArrayFloatWrapper) AppendArray

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

func (*ArrayFloatWrapper) AppendMap

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

func (*ArrayFloatWrapper) Finalize

func (_ *ArrayFloatWrapper) Finalize()

func (*ArrayFloatWrapper) Get

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

func (*ArrayFloatWrapper) SetBoolean

func (_ *ArrayFloatWrapper) SetBoolean(v bool)

func (*ArrayFloatWrapper) SetBytes

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

func (*ArrayFloatWrapper) SetDefault

func (_ *ArrayFloatWrapper) SetDefault(i int)

func (*ArrayFloatWrapper) SetDouble

func (_ *ArrayFloatWrapper) SetDouble(v float64)

func (*ArrayFloatWrapper) SetFloat

func (_ *ArrayFloatWrapper) SetFloat(v float32)

func (*ArrayFloatWrapper) SetInt

func (_ *ArrayFloatWrapper) SetInt(v int32)

func (*ArrayFloatWrapper) SetLong

func (_ *ArrayFloatWrapper) SetLong(v int64)

func (*ArrayFloatWrapper) SetString

func (_ *ArrayFloatWrapper) SetString(v string)

func (*ArrayFloatWrapper) SetUnionElem

func (_ *ArrayFloatWrapper) SetUnionElem(v int64)

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 ArrayLongWrapper

type ArrayLongWrapper []int64

func (*ArrayLongWrapper) AppendArray

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

func (*ArrayLongWrapper) AppendMap

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

func (*ArrayLongWrapper) Finalize

func (_ *ArrayLongWrapper) Finalize()

func (*ArrayLongWrapper) Get

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

func (*ArrayLongWrapper) SetBoolean

func (_ *ArrayLongWrapper) SetBoolean(v bool)

func (*ArrayLongWrapper) SetBytes

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

func (*ArrayLongWrapper) SetDefault

func (_ *ArrayLongWrapper) SetDefault(i int)

func (*ArrayLongWrapper) SetDouble

func (_ *ArrayLongWrapper) SetDouble(v float64)

func (*ArrayLongWrapper) SetFloat

func (_ *ArrayLongWrapper) SetFloat(v float32)

func (*ArrayLongWrapper) SetInt

func (_ *ArrayLongWrapper) SetInt(v int32)

func (*ArrayLongWrapper) SetLong

func (_ *ArrayLongWrapper) SetLong(v int64)

func (*ArrayLongWrapper) SetString

func (_ *ArrayLongWrapper) SetString(v string)

func (*ArrayLongWrapper) SetUnionElem

func (_ *ArrayLongWrapper) SetUnionElem(v int64)

type ArrayStringWrapper

type ArrayStringWrapper []string

func (*ArrayStringWrapper) AppendArray

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

func (*ArrayStringWrapper) AppendMap

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

func (*ArrayStringWrapper) Finalize

func (_ *ArrayStringWrapper) Finalize()

func (*ArrayStringWrapper) Get

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

func (*ArrayStringWrapper) SetBoolean

func (_ *ArrayStringWrapper) SetBoolean(v bool)

func (*ArrayStringWrapper) SetBytes

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

func (*ArrayStringWrapper) SetDefault

func (_ *ArrayStringWrapper) SetDefault(i int)

func (*ArrayStringWrapper) SetDouble

func (_ *ArrayStringWrapper) SetDouble(v float64)

func (*ArrayStringWrapper) SetFloat

func (_ *ArrayStringWrapper) SetFloat(v float32)

func (*ArrayStringWrapper) SetInt

func (_ *ArrayStringWrapper) SetInt(v int32)

func (*ArrayStringWrapper) SetLong

func (_ *ArrayStringWrapper) SetLong(v int64)

func (*ArrayStringWrapper) SetString

func (_ *ArrayStringWrapper) SetString(v string)

func (*ArrayStringWrapper) SetUnionElem

func (_ *ArrayStringWrapper) SetUnionElem(v int64)

type ArrayTestRecord

type ArrayTestRecord struct {
	IntField []int32

	LongField []int64

	DoubleField []float64

	StringField []string

	FloatField []float32

	BoolField []bool

	BytesField [][]byte
}

func DeserializeArrayTestRecord

func DeserializeArrayTestRecord(r io.Reader) (*ArrayTestRecord, error)

func DeserializeArrayTestRecordFromSchema

func DeserializeArrayTestRecordFromSchema(r io.Reader, schema string) (*ArrayTestRecord, error)

func NewArrayTestRecord

func NewArrayTestRecord() *ArrayTestRecord

func (*ArrayTestRecord) AppendArray

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

func (*ArrayTestRecord) AppendMap

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

func (*ArrayTestRecord) AvroCRC64Fingerprint

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

func (*ArrayTestRecord) Finalize

func (_ *ArrayTestRecord) Finalize()

func (*ArrayTestRecord) Get

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

func (*ArrayTestRecord) Schema

func (r *ArrayTestRecord) Schema() string

func (*ArrayTestRecord) SchemaName

func (r *ArrayTestRecord) SchemaName() string

func (*ArrayTestRecord) Serialize

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

func (*ArrayTestRecord) SetBoolean

func (_ *ArrayTestRecord) SetBoolean(v bool)

func (*ArrayTestRecord) SetBytes

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

func (*ArrayTestRecord) SetDefault

func (r *ArrayTestRecord) SetDefault(i int)

func (*ArrayTestRecord) SetDouble

func (_ *ArrayTestRecord) SetDouble(v float64)

func (*ArrayTestRecord) SetFloat

func (_ *ArrayTestRecord) SetFloat(v float32)

func (*ArrayTestRecord) SetInt

func (_ *ArrayTestRecord) SetInt(v int32)

func (*ArrayTestRecord) SetLong

func (_ *ArrayTestRecord) SetLong(v int64)

func (*ArrayTestRecord) SetString

func (_ *ArrayTestRecord) SetString(v string)

func (*ArrayTestRecord) SetUnionElem

func (_ *ArrayTestRecord) SetUnionElem(v int64)

Jump to

Keyboard shortcuts

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