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

Documentation

Overview

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

  • SOURCE:
  • union.avsc

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

  • SOURCE:
  • union.avsc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrimitiveUnionTestRecord

type PrimitiveUnionTestRecord struct {
	UnionField *UnionFieldUnion
}

func DeserializePrimitiveUnionTestRecord

func DeserializePrimitiveUnionTestRecord(r io.Reader) (t PrimitiveUnionTestRecord, err error)

func DeserializePrimitiveUnionTestRecordFromSchema

func DeserializePrimitiveUnionTestRecordFromSchema(r io.Reader, schema string) (t PrimitiveUnionTestRecord, err error)

func (*PrimitiveUnionTestRecord) AppendArray

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

func (*PrimitiveUnionTestRecord) AppendMap

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

func (*PrimitiveUnionTestRecord) Clear

func (r *PrimitiveUnionTestRecord) Clear(i int)

func (*PrimitiveUnionTestRecord) Finalize

func (_ *PrimitiveUnionTestRecord) Finalize()

func (*PrimitiveUnionTestRecord) Get

func (PrimitiveUnionTestRecord) Schema

func (r PrimitiveUnionTestRecord) Schema() string

func (PrimitiveUnionTestRecord) SchemaName

func (r PrimitiveUnionTestRecord) SchemaName() string

func (PrimitiveUnionTestRecord) Serialize

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

func (*PrimitiveUnionTestRecord) SetBoolean

func (_ *PrimitiveUnionTestRecord) SetBoolean(v bool)

func (*PrimitiveUnionTestRecord) SetBytes

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

func (*PrimitiveUnionTestRecord) SetDefault

func (r *PrimitiveUnionTestRecord) SetDefault(i int)

func (*PrimitiveUnionTestRecord) SetDouble

func (_ *PrimitiveUnionTestRecord) SetDouble(v float64)

func (*PrimitiveUnionTestRecord) SetFloat

func (_ *PrimitiveUnionTestRecord) SetFloat(v float32)

func (*PrimitiveUnionTestRecord) SetInt

func (_ *PrimitiveUnionTestRecord) SetInt(v int32)

func (*PrimitiveUnionTestRecord) SetLong

func (_ *PrimitiveUnionTestRecord) SetLong(v int64)

func (*PrimitiveUnionTestRecord) SetString

func (_ *PrimitiveUnionTestRecord) SetString(v string)

func (*PrimitiveUnionTestRecord) SetUnionElem

func (_ *PrimitiveUnionTestRecord) SetUnionElem(v int64)

type UnionFieldUnion

type UnionFieldUnion struct {
	Int int32

	Long int64

	Float float32

	Double float64

	String string

	Bool bool

	UnionType UnionFieldUnionTypeEnum
}

func (*UnionFieldUnion) AppendArray

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

func (*UnionFieldUnion) AppendMap

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

func (*UnionFieldUnion) Clear

func (r *UnionFieldUnion) Clear(i int)

func (*UnionFieldUnion) Finalize

func (_ *UnionFieldUnion) Finalize()

func (*UnionFieldUnion) Get

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

func (*UnionFieldUnion) SetBoolean

func (_ *UnionFieldUnion) SetBoolean(v bool)

func (*UnionFieldUnion) SetBytes

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

func (*UnionFieldUnion) SetDefault

func (_ *UnionFieldUnion) SetDefault(i int)

func (*UnionFieldUnion) SetDouble

func (_ *UnionFieldUnion) SetDouble(v float64)

func (*UnionFieldUnion) SetFloat

func (_ *UnionFieldUnion) SetFloat(v float32)

func (*UnionFieldUnion) SetInt

func (_ *UnionFieldUnion) SetInt(v int32)

func (*UnionFieldUnion) SetLong

func (r *UnionFieldUnion) SetLong(v int64)

func (*UnionFieldUnion) SetString

func (_ *UnionFieldUnion) SetString(v string)

type UnionFieldUnionTypeEnum

type UnionFieldUnionTypeEnum int
const (
	UnionFieldUnionTypeEnumInt UnionFieldUnionTypeEnum = 0

	UnionFieldUnionTypeEnumLong UnionFieldUnionTypeEnum = 1

	UnionFieldUnionTypeEnumFloat UnionFieldUnionTypeEnum = 2

	UnionFieldUnionTypeEnumDouble UnionFieldUnionTypeEnum = 3

	UnionFieldUnionTypeEnumString UnionFieldUnionTypeEnum = 4

	UnionFieldUnionTypeEnumBool UnionFieldUnionTypeEnum = 5
)

Jump to

Keyboard shortcuts

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