avro

package
v6.4.0+incompatible 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:
  • 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 *UnionIntLongFloatDoubleStringBoolNull
}

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 UnionIntLongFloatDoubleStringBoolNull

type UnionIntLongFloatDoubleStringBoolNull struct {
	Int int32

	Long int64

	Float float32

	Double float64

	String string

	Bool bool

	Null *types.NullVal

	UnionType UnionIntLongFloatDoubleStringBoolNullTypeEnum
}

func NewUnionIntLongFloatDoubleStringBoolNull

func NewUnionIntLongFloatDoubleStringBoolNull() *UnionIntLongFloatDoubleStringBoolNull

func (*UnionIntLongFloatDoubleStringBoolNull) AppendArray

func (*UnionIntLongFloatDoubleStringBoolNull) AppendMap

func (*UnionIntLongFloatDoubleStringBoolNull) Finalize

func (*UnionIntLongFloatDoubleStringBoolNull) Get

func (*UnionIntLongFloatDoubleStringBoolNull) SetBoolean

func (*UnionIntLongFloatDoubleStringBoolNull) SetBytes

func (*UnionIntLongFloatDoubleStringBoolNull) SetDefault

func (_ *UnionIntLongFloatDoubleStringBoolNull) SetDefault(i int)

func (*UnionIntLongFloatDoubleStringBoolNull) SetDouble

func (*UnionIntLongFloatDoubleStringBoolNull) SetFloat

func (*UnionIntLongFloatDoubleStringBoolNull) SetInt

func (*UnionIntLongFloatDoubleStringBoolNull) SetLong

func (*UnionIntLongFloatDoubleStringBoolNull) SetString

type UnionIntLongFloatDoubleStringBoolNullTypeEnum

type UnionIntLongFloatDoubleStringBoolNullTypeEnum int
const (
	UnionIntLongFloatDoubleStringBoolNullTypeEnumInt UnionIntLongFloatDoubleStringBoolNullTypeEnum = 0

	UnionIntLongFloatDoubleStringBoolNullTypeEnumLong UnionIntLongFloatDoubleStringBoolNullTypeEnum = 1

	UnionIntLongFloatDoubleStringBoolNullTypeEnumFloat UnionIntLongFloatDoubleStringBoolNullTypeEnum = 2

	UnionIntLongFloatDoubleStringBoolNullTypeEnumDouble UnionIntLongFloatDoubleStringBoolNullTypeEnum = 3

	UnionIntLongFloatDoubleStringBoolNullTypeEnumString UnionIntLongFloatDoubleStringBoolNullTypeEnum = 4

	UnionIntLongFloatDoubleStringBoolNullTypeEnumBool UnionIntLongFloatDoubleStringBoolNullTypeEnum = 5

	UnionIntLongFloatDoubleStringBoolNullTypeEnumNull UnionIntLongFloatDoubleStringBoolNullTypeEnum = 6
)

Directories

Path Synopsis
Code generated by github.com/actgardner/gogen-avro.
Code generated by github.com/actgardner/gogen-avro.

Jump to

Keyboard shortcuts

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