avro

package
v6.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

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

  • SOURCE:
  • evolution.avsc

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

  • SOURCE:
  • evolution.avsc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrimitiveUnionTestRecord

type PrimitiveUnionTestRecord struct {
	UnionField *UnionStringLongIntFloatDoubleNull
}

func DeserializePrimitiveUnionTestRecord

func DeserializePrimitiveUnionTestRecord(r io.Reader) (*PrimitiveUnionTestRecord, error)

func DeserializePrimitiveUnionTestRecordFromSchema

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

func NewPrimitiveUnionTestRecord

func NewPrimitiveUnionTestRecord() *PrimitiveUnionTestRecord

func (*PrimitiveUnionTestRecord) AppendArray

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

func (*PrimitiveUnionTestRecord) AppendMap

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

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 UnionStringLongIntFloatDoubleNull

type UnionStringLongIntFloatDoubleNull struct {
	String string

	Long int64

	Int int32

	Float float32

	Double float64

	Null *types.NullVal

	UnionType UnionStringLongIntFloatDoubleNullTypeEnum
}

func NewUnionStringLongIntFloatDoubleNull

func NewUnionStringLongIntFloatDoubleNull() *UnionStringLongIntFloatDoubleNull

func (*UnionStringLongIntFloatDoubleNull) AppendArray

func (*UnionStringLongIntFloatDoubleNull) AppendMap

func (*UnionStringLongIntFloatDoubleNull) Finalize

func (_ *UnionStringLongIntFloatDoubleNull) Finalize()

func (*UnionStringLongIntFloatDoubleNull) Get

func (*UnionStringLongIntFloatDoubleNull) SetBoolean

func (_ *UnionStringLongIntFloatDoubleNull) SetBoolean(v bool)

func (*UnionStringLongIntFloatDoubleNull) SetBytes

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

func (*UnionStringLongIntFloatDoubleNull) SetDefault

func (_ *UnionStringLongIntFloatDoubleNull) SetDefault(i int)

func (*UnionStringLongIntFloatDoubleNull) SetDouble

func (*UnionStringLongIntFloatDoubleNull) SetFloat

func (*UnionStringLongIntFloatDoubleNull) SetInt

func (*UnionStringLongIntFloatDoubleNull) SetLong

func (*UnionStringLongIntFloatDoubleNull) SetString

func (_ *UnionStringLongIntFloatDoubleNull) SetString(v string)

type UnionStringLongIntFloatDoubleNullTypeEnum

type UnionStringLongIntFloatDoubleNullTypeEnum int
const (
	UnionStringLongIntFloatDoubleNullTypeEnumString UnionStringLongIntFloatDoubleNullTypeEnum = 0

	UnionStringLongIntFloatDoubleNullTypeEnumLong UnionStringLongIntFloatDoubleNullTypeEnum = 1

	UnionStringLongIntFloatDoubleNullTypeEnumInt UnionStringLongIntFloatDoubleNullTypeEnum = 2

	UnionStringLongIntFloatDoubleNullTypeEnumFloat UnionStringLongIntFloatDoubleNullTypeEnum = 3

	UnionStringLongIntFloatDoubleNullTypeEnumDouble UnionStringLongIntFloatDoubleNullTypeEnum = 4

	UnionStringLongIntFloatDoubleNullTypeEnumNull UnionStringLongIntFloatDoubleNullTypeEnum = 5
)

Jump to

Keyboard shortcuts

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