avro

package
v10.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

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

  • SOURCE:
  • schema.avsc

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

  • SOURCE:
  • schema.avsc

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

  • SOURCE:
  • schema.avsc

Index

Constants

View Source
const PrimitiveUnionTestRecordAvroCRC64Fingerprint = "hSK\xb5\xb2ۗ]"

Variables

This section is empty.

Functions

func NewPrimitiveUnionTestRecordWriter

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

Types

type PrimitiveUnionTestRecord

type PrimitiveUnionTestRecord struct {
	UnionField *UnionIntLongFloatDoubleStringBoolNull `json:"UnionField"`
}

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) AvroCRC64Fingerprint

func (_ PrimitiveUnionTestRecord) AvroCRC64Fingerprint() []byte

func (PrimitiveUnionTestRecord) Finalize

func (_ PrimitiveUnionTestRecord) Finalize()

func (*PrimitiveUnionTestRecord) Get

func (PrimitiveUnionTestRecord) HintSize

func (_ PrimitiveUnionTestRecord) HintSize(int)

func (PrimitiveUnionTestRecord) MarshalJSON

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

func (*PrimitiveUnionTestRecord) NullField

func (r *PrimitiveUnionTestRecord) NullField(i int)

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)

func (*PrimitiveUnionTestRecord) UnmarshalJSON

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

type PrimitiveUnionTestRecordReader

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

container reader

func NewPrimitiveUnionTestRecordReader

func NewPrimitiveUnionTestRecordReader(r io.Reader) (*PrimitiveUnionTestRecordReader, error)

func (PrimitiveUnionTestRecordReader) Read

type UnionIntLongFloatDoubleStringBoolNull

type UnionIntLongFloatDoubleStringBoolNull struct {
	Int       int32
	Long      int64
	Float     float32
	Double    float64
	String    string
	Bool      bool
	Null      *types.NullVal
	UnionType UnionIntLongFloatDoubleStringBoolNullTypeEnum
}

func DeserializeUnionIntLongFloatDoubleStringBoolNull

func DeserializeUnionIntLongFloatDoubleStringBoolNull(r io.Reader) (*UnionIntLongFloatDoubleStringBoolNull, error)

func DeserializeUnionIntLongFloatDoubleStringBoolNullFromSchema

func DeserializeUnionIntLongFloatDoubleStringBoolNullFromSchema(r io.Reader, schema string) (*UnionIntLongFloatDoubleStringBoolNull, error)

func NewUnionIntLongFloatDoubleStringBoolNull

func NewUnionIntLongFloatDoubleStringBoolNull() *UnionIntLongFloatDoubleStringBoolNull

func (*UnionIntLongFloatDoubleStringBoolNull) AppendArray

func (*UnionIntLongFloatDoubleStringBoolNull) AppendMap

func (*UnionIntLongFloatDoubleStringBoolNull) Finalize

func (*UnionIntLongFloatDoubleStringBoolNull) Get

func (*UnionIntLongFloatDoubleStringBoolNull) HintSize

func (*UnionIntLongFloatDoubleStringBoolNull) MarshalJSON

func (r *UnionIntLongFloatDoubleStringBoolNull) MarshalJSON() ([]byte, error)

func (*UnionIntLongFloatDoubleStringBoolNull) NullField

func (*UnionIntLongFloatDoubleStringBoolNull) Schema

func (*UnionIntLongFloatDoubleStringBoolNull) Serialize

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

func (*UnionIntLongFloatDoubleStringBoolNull) UnmarshalJSON

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

type UnionIntLongFloatDoubleStringBoolNullTypeEnum

type UnionIntLongFloatDoubleStringBoolNullTypeEnum int
const (
	UnionIntLongFloatDoubleStringBoolNullTypeEnumInt UnionIntLongFloatDoubleStringBoolNullTypeEnum = 0

	UnionIntLongFloatDoubleStringBoolNullTypeEnumLong UnionIntLongFloatDoubleStringBoolNullTypeEnum = 1

	UnionIntLongFloatDoubleStringBoolNullTypeEnumFloat UnionIntLongFloatDoubleStringBoolNullTypeEnum = 2

	UnionIntLongFloatDoubleStringBoolNullTypeEnumDouble UnionIntLongFloatDoubleStringBoolNullTypeEnum = 3

	UnionIntLongFloatDoubleStringBoolNullTypeEnumString UnionIntLongFloatDoubleStringBoolNullTypeEnum = 4

	UnionIntLongFloatDoubleStringBoolNullTypeEnumBool UnionIntLongFloatDoubleStringBoolNullTypeEnum = 5
)

Jump to

Keyboard shortcuts

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