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

Index

Constants

View Source
const UnionRecordAvroCRC64Fingerprint = "XXv\f\x93)\xf7\xe2"

Variables

This section is empty.

Functions

This section is empty.

Types

type UnionRecord

type UnionRecord struct {
	Id string

	Age int32
}

func DeserializeUnionRecord

func DeserializeUnionRecord(r io.Reader) (*UnionRecord, error)

func DeserializeUnionRecordFromSchema

func DeserializeUnionRecordFromSchema(r io.Reader, schema string) (*UnionRecord, error)

func NewUnionRecord

func NewUnionRecord() *UnionRecord

func (*UnionRecord) AppendArray

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

func (*UnionRecord) AppendMap

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

func (*UnionRecord) AvroCRC64Fingerprint

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

func (*UnionRecord) Finalize

func (_ *UnionRecord) Finalize()

func (*UnionRecord) Get

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

func (*UnionRecord) Schema

func (r *UnionRecord) Schema() string

func (*UnionRecord) SchemaName

func (r *UnionRecord) SchemaName() string

func (*UnionRecord) Serialize

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

func (*UnionRecord) SetBoolean

func (_ *UnionRecord) SetBoolean(v bool)

func (*UnionRecord) SetBytes

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

func (*UnionRecord) SetDefault

func (r *UnionRecord) SetDefault(i int)

func (*UnionRecord) SetDouble

func (_ *UnionRecord) SetDouble(v float64)

func (*UnionRecord) SetFloat

func (_ *UnionRecord) SetFloat(v float32)

func (*UnionRecord) SetInt

func (_ *UnionRecord) SetInt(v int32)

func (*UnionRecord) SetLong

func (_ *UnionRecord) SetLong(v int64)

func (*UnionRecord) SetString

func (_ *UnionRecord) SetString(v string)

func (*UnionRecord) SetUnionElem

func (_ *UnionRecord) SetUnionElem(v int64)

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