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 = "\xbd0\x82\xe0\xb8r88"

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 *UnionStringLongIntFloatDoubleBool `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 UnionStringLongIntFloatDoubleBool

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

func DeserializeUnionStringLongIntFloatDoubleBool

func DeserializeUnionStringLongIntFloatDoubleBool(r io.Reader) (*UnionStringLongIntFloatDoubleBool, error)

func DeserializeUnionStringLongIntFloatDoubleBoolFromSchema

func DeserializeUnionStringLongIntFloatDoubleBoolFromSchema(r io.Reader, schema string) (*UnionStringLongIntFloatDoubleBool, error)

func NewUnionStringLongIntFloatDoubleBool

func NewUnionStringLongIntFloatDoubleBool() *UnionStringLongIntFloatDoubleBool

func (*UnionStringLongIntFloatDoubleBool) AppendArray

func (*UnionStringLongIntFloatDoubleBool) AppendMap

func (*UnionStringLongIntFloatDoubleBool) Finalize

func (_ *UnionStringLongIntFloatDoubleBool) Finalize()

func (*UnionStringLongIntFloatDoubleBool) Get

func (*UnionStringLongIntFloatDoubleBool) MarshalJSON

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

func (*UnionStringLongIntFloatDoubleBool) NullField

func (_ *UnionStringLongIntFloatDoubleBool) NullField(i int)

func (*UnionStringLongIntFloatDoubleBool) Schema

func (*UnionStringLongIntFloatDoubleBool) Serialize

func (*UnionStringLongIntFloatDoubleBool) SetBoolean

func (_ *UnionStringLongIntFloatDoubleBool) SetBoolean(v bool)

func (*UnionStringLongIntFloatDoubleBool) SetBytes

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

func (*UnionStringLongIntFloatDoubleBool) SetDefault

func (_ *UnionStringLongIntFloatDoubleBool) SetDefault(i int)

func (*UnionStringLongIntFloatDoubleBool) SetDouble

func (*UnionStringLongIntFloatDoubleBool) SetFloat

func (*UnionStringLongIntFloatDoubleBool) SetInt

func (*UnionStringLongIntFloatDoubleBool) SetLong

func (*UnionStringLongIntFloatDoubleBool) SetString

func (_ *UnionStringLongIntFloatDoubleBool) SetString(v string)

func (*UnionStringLongIntFloatDoubleBool) UnmarshalJSON

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

type UnionStringLongIntFloatDoubleBoolTypeEnum

type UnionStringLongIntFloatDoubleBoolTypeEnum int
const (
	UnionStringLongIntFloatDoubleBoolTypeEnumString UnionStringLongIntFloatDoubleBoolTypeEnum = 0

	UnionStringLongIntFloatDoubleBoolTypeEnumLong UnionStringLongIntFloatDoubleBoolTypeEnum = 1

	UnionStringLongIntFloatDoubleBoolTypeEnumInt UnionStringLongIntFloatDoubleBoolTypeEnum = 2

	UnionStringLongIntFloatDoubleBoolTypeEnumFloat UnionStringLongIntFloatDoubleBoolTypeEnum = 3

	UnionStringLongIntFloatDoubleBoolTypeEnumDouble UnionStringLongIntFloatDoubleBoolTypeEnum = 4

	UnionStringLongIntFloatDoubleBoolTypeEnumBool UnionStringLongIntFloatDoubleBoolTypeEnum = 6
)

Directories

Path Synopsis
Code generated by github.com/actgardner/gogen-avro/v8.
Code generated by github.com/actgardner/gogen-avro/v8.

Jump to

Keyboard shortcuts

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