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:
  • enum.avsc

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

  • SOURCE:
  • enum.avsc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnumTestRecord

type EnumTestRecord struct {
	EnumField TestEnumType
}

func DeserializeEnumTestRecord

func DeserializeEnumTestRecord(r io.Reader) (t EnumTestRecord, err error)

func DeserializeEnumTestRecordFromSchema

func DeserializeEnumTestRecordFromSchema(r io.Reader, schema string) (t EnumTestRecord, err error)

func (*EnumTestRecord) AppendArray

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

func (*EnumTestRecord) AppendMap

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

func (*EnumTestRecord) Clear

func (r *EnumTestRecord) Clear(i int)

func (*EnumTestRecord) Finalize

func (_ *EnumTestRecord) Finalize()

func (*EnumTestRecord) Get

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

func (EnumTestRecord) Schema

func (r EnumTestRecord) Schema() string

func (EnumTestRecord) SchemaName

func (r EnumTestRecord) SchemaName() string

func (EnumTestRecord) Serialize

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

func (*EnumTestRecord) SetBoolean

func (_ *EnumTestRecord) SetBoolean(v bool)

func (*EnumTestRecord) SetBytes

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

func (*EnumTestRecord) SetDefault

func (r *EnumTestRecord) SetDefault(i int)

func (*EnumTestRecord) SetDouble

func (_ *EnumTestRecord) SetDouble(v float64)

func (*EnumTestRecord) SetFloat

func (_ *EnumTestRecord) SetFloat(v float32)

func (*EnumTestRecord) SetInt

func (_ *EnumTestRecord) SetInt(v int32)

func (*EnumTestRecord) SetLong

func (_ *EnumTestRecord) SetLong(v int64)

func (*EnumTestRecord) SetString

func (_ *EnumTestRecord) SetString(v string)

func (*EnumTestRecord) SetUnionElem

func (_ *EnumTestRecord) SetUnionElem(v int64)

type TestEnumType

type TestEnumType int32
const (
	TestEnumTypeTestSymbol1 TestEnumType = 0

	TestEnumTypeTestSymbol2 TestEnumType = 1

	TestEnumTypeTestSymbol3 TestEnumType = 2
)

func NewTestEnumTypeValue

func NewTestEnumTypeValue(raw string) (r TestEnumType, err error)

func (TestEnumType) String

func (e TestEnumType) String() string

Jump to

Keyboard shortcuts

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