avro

package
v10.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code generated by Skaidus. DO NOT EDIT.

  • SOURCE:
  • evolution.avsc

Code generated by Skaidus. DO NOT EDIT.

  • SOURCE:
  • evolution.avsc

Index

Constants

View Source
const EnumTestRecordAvroCRC64Fingerprint = "\xc7QH\vt~\x8fP"

Variables

This section is empty.

Functions

func NewEnumTestRecordWriter

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

Types

type EnumTestRecord

type EnumTestRecord struct {
	StringField string `json:"stringField"`
}

func DeserializeEnumTestRecord

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

func DeserializeEnumTestRecordFromSchema

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

func NewEnumTestRecord

func NewEnumTestRecord() EnumTestRecord

func (EnumTestRecord) AppendArray

func (_ EnumTestRecord) AppendArray() types.Field

func (EnumTestRecord) AppendMap

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

func (EnumTestRecord) AvroCRC64Fingerprint

func (_ EnumTestRecord) AvroCRC64Fingerprint() []byte

func (EnumTestRecord) Finalize

func (_ EnumTestRecord) Finalize()

func (*EnumTestRecord) Get

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

func (EnumTestRecord) HintSize

func (_ EnumTestRecord) HintSize(int)

func (EnumTestRecord) MarshalJSON

func (r EnumTestRecord) MarshalJSON() ([]byte, error)

func (*EnumTestRecord) NullField

func (r *EnumTestRecord) NullField(i int)

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)

func (*EnumTestRecord) UnmarshalJSON

func (r *EnumTestRecord) UnmarshalJSON(data []byte) error

type EnumTestRecordReader

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

container reader

func NewEnumTestRecordReader

func NewEnumTestRecordReader(r io.Reader) (*EnumTestRecordReader, error)

func (EnumTestRecordReader) Read

Jump to

Keyboard shortcuts

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