avro

package
v8.0.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

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

  • SOURCE:
  • schema.avsc

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

  • SOURCE:
  • schema.avsc

Code generated by github.com/actgardner/gogen-avro/v8. 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 *UnionIntLongFloatDoubleStringBool `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) 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 UnionIntLongFloatDoubleStringBool

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

func DeserializeUnionIntLongFloatDoubleStringBool

func DeserializeUnionIntLongFloatDoubleStringBool(r io.Reader) (*UnionIntLongFloatDoubleStringBool, error)

func DeserializeUnionIntLongFloatDoubleStringBoolFromSchema

func DeserializeUnionIntLongFloatDoubleStringBoolFromSchema(r io.Reader, schema string) (*UnionIntLongFloatDoubleStringBool, error)

func NewUnionIntLongFloatDoubleStringBool

func NewUnionIntLongFloatDoubleStringBool() *UnionIntLongFloatDoubleStringBool

func (*UnionIntLongFloatDoubleStringBool) AppendArray

func (*UnionIntLongFloatDoubleStringBool) AppendMap

func (*UnionIntLongFloatDoubleStringBool) Finalize

func (_ *UnionIntLongFloatDoubleStringBool) Finalize()

func (*UnionIntLongFloatDoubleStringBool) Get

func (*UnionIntLongFloatDoubleStringBool) MarshalJSON

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

func (*UnionIntLongFloatDoubleStringBool) NullField

func (_ *UnionIntLongFloatDoubleStringBool) NullField(i int)

func (*UnionIntLongFloatDoubleStringBool) Schema

func (*UnionIntLongFloatDoubleStringBool) Serialize

func (*UnionIntLongFloatDoubleStringBool) SetBoolean

func (_ *UnionIntLongFloatDoubleStringBool) SetBoolean(v bool)

func (*UnionIntLongFloatDoubleStringBool) SetBytes

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

func (*UnionIntLongFloatDoubleStringBool) SetDefault

func (_ *UnionIntLongFloatDoubleStringBool) SetDefault(i int)

func (*UnionIntLongFloatDoubleStringBool) SetDouble

func (*UnionIntLongFloatDoubleStringBool) SetFloat

func (*UnionIntLongFloatDoubleStringBool) SetInt

func (*UnionIntLongFloatDoubleStringBool) SetLong

func (*UnionIntLongFloatDoubleStringBool) SetString

func (_ *UnionIntLongFloatDoubleStringBool) SetString(v string)

func (*UnionIntLongFloatDoubleStringBool) UnmarshalJSON

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

type UnionIntLongFloatDoubleStringBoolTypeEnum

type UnionIntLongFloatDoubleStringBoolTypeEnum int
const (
	UnionIntLongFloatDoubleStringBoolTypeEnumInt UnionIntLongFloatDoubleStringBoolTypeEnum = 0

	UnionIntLongFloatDoubleStringBoolTypeEnumLong UnionIntLongFloatDoubleStringBoolTypeEnum = 1

	UnionIntLongFloatDoubleStringBoolTypeEnumFloat UnionIntLongFloatDoubleStringBoolTypeEnum = 2

	UnionIntLongFloatDoubleStringBoolTypeEnumDouble UnionIntLongFloatDoubleStringBoolTypeEnum = 3

	UnionIntLongFloatDoubleStringBoolTypeEnumString UnionIntLongFloatDoubleStringBoolTypeEnum = 4

	UnionIntLongFloatDoubleStringBoolTypeEnumBool UnionIntLongFloatDoubleStringBoolTypeEnum = 5
)

Jump to

Keyboard shortcuts

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