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

Documentation

Overview

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

  • SOURCE:
  • tagstest.avsc

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

  • SOURCE:
  • tagstest.avsc

Index

Constants

View Source
const StructTagAvroCRC64Fingerprint = "\x92\xb7Dk\xe2\x1e\xef\xfc"

Variables

This section is empty.

Functions

func NewStructTagWriter

func NewStructTagWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)

Types

type StructTag

type StructTag struct {
	ProductName string `validate:"true"`
}

func DeserializeStructTag

func DeserializeStructTag(r io.Reader) (*StructTag, error)

func DeserializeStructTagFromSchema

func DeserializeStructTagFromSchema(r io.Reader, schema string) (*StructTag, error)

func NewStructTag

func NewStructTag() *StructTag

func (*StructTag) AppendArray

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

func (*StructTag) AppendMap

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

func (*StructTag) AvroCRC64Fingerprint

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

func (*StructTag) Finalize

func (_ *StructTag) Finalize()

func (*StructTag) Get

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

func (*StructTag) Schema

func (r *StructTag) Schema() string

func (*StructTag) SchemaName

func (r *StructTag) SchemaName() string

func (*StructTag) Serialize

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

func (*StructTag) SetBoolean

func (_ *StructTag) SetBoolean(v bool)

func (*StructTag) SetBytes

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

func (*StructTag) SetDefault

func (r *StructTag) SetDefault(i int)

func (*StructTag) SetDouble

func (_ *StructTag) SetDouble(v float64)

func (*StructTag) SetFloat

func (_ *StructTag) SetFloat(v float32)

func (*StructTag) SetInt

func (_ *StructTag) SetInt(v int32)

func (*StructTag) SetLong

func (_ *StructTag) SetLong(v int64)

func (*StructTag) SetString

func (_ *StructTag) SetString(v string)

func (*StructTag) SetUnionElem

func (_ *StructTag) SetUnionElem(v int64)

type StructTagReader

type StructTagReader struct {
	// contains filtered or unexported fields
}

container reader

func NewStructTagReader

func NewStructTagReader(r io.Reader) (*StructTagReader, error)

func (StructTagReader) Read

func (r StructTagReader) Read() (*StructTag, error)

Jump to

Keyboard shortcuts

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