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:
  • schema.avsc

Code generated by Skaidus. DO NOT EDIT.

  • SOURCE:
  • schema.avsc

Code generated by Skaidus. DO NOT EDIT.

  • SOURCE:
  • schema.avsc

Code generated by Skaidus. DO NOT EDIT.

  • SOURCE:
  • schema.avsc

Index

Constants

View Source
const PrimitiveUnionTestRecordAvroCRC64Fingerprint = "k\xbb\x01A\xbdb\b\xd4"

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

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

func DeserializeUnionNullStringLongIntFloatDoubleBool

func DeserializeUnionNullStringLongIntFloatDoubleBool(r io.Reader) (*UnionNullStringLongIntFloatDoubleBool, error)

func DeserializeUnionNullStringLongIntFloatDoubleBoolFromSchema

func DeserializeUnionNullStringLongIntFloatDoubleBoolFromSchema(r io.Reader, schema string) (*UnionNullStringLongIntFloatDoubleBool, error)

func NewUnionNullStringLongIntFloatDoubleBool

func NewUnionNullStringLongIntFloatDoubleBool() *UnionNullStringLongIntFloatDoubleBool

func (*UnionNullStringLongIntFloatDoubleBool) AppendArray

func (*UnionNullStringLongIntFloatDoubleBool) AppendMap

func (*UnionNullStringLongIntFloatDoubleBool) Finalize

func (*UnionNullStringLongIntFloatDoubleBool) Get

func (*UnionNullStringLongIntFloatDoubleBool) HintSize

func (*UnionNullStringLongIntFloatDoubleBool) MarshalJSON

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

func (*UnionNullStringLongIntFloatDoubleBool) NullField

func (*UnionNullStringLongIntFloatDoubleBool) Schema

func (*UnionNullStringLongIntFloatDoubleBool) Serialize

func (*UnionNullStringLongIntFloatDoubleBool) SetBoolean

func (*UnionNullStringLongIntFloatDoubleBool) SetBytes

func (*UnionNullStringLongIntFloatDoubleBool) SetDefault

func (_ *UnionNullStringLongIntFloatDoubleBool) SetDefault(i int)

func (*UnionNullStringLongIntFloatDoubleBool) SetDouble

func (*UnionNullStringLongIntFloatDoubleBool) SetFloat

func (*UnionNullStringLongIntFloatDoubleBool) SetInt

func (*UnionNullStringLongIntFloatDoubleBool) SetLong

func (*UnionNullStringLongIntFloatDoubleBool) SetString

func (*UnionNullStringLongIntFloatDoubleBool) UnmarshalJSON

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

type UnionNullStringLongIntFloatDoubleBoolTypeEnum

type UnionNullStringLongIntFloatDoubleBoolTypeEnum int
const (
	UnionNullStringLongIntFloatDoubleBoolTypeEnumString UnionNullStringLongIntFloatDoubleBoolTypeEnum = 1

	UnionNullStringLongIntFloatDoubleBoolTypeEnumLong UnionNullStringLongIntFloatDoubleBoolTypeEnum = 2

	UnionNullStringLongIntFloatDoubleBoolTypeEnumInt UnionNullStringLongIntFloatDoubleBoolTypeEnum = 3

	UnionNullStringLongIntFloatDoubleBoolTypeEnumFloat UnionNullStringLongIntFloatDoubleBoolTypeEnum = 4

	UnionNullStringLongIntFloatDoubleBoolTypeEnumDouble UnionNullStringLongIntFloatDoubleBoolTypeEnum = 5

	UnionNullStringLongIntFloatDoubleBoolTypeEnumBool UnionNullStringLongIntFloatDoubleBoolTypeEnum = 6
)

type UnionStringLongIntFloatDoubleNullBool

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

func DeserializeUnionStringLongIntFloatDoubleNullBool

func DeserializeUnionStringLongIntFloatDoubleNullBool(r io.Reader) (*UnionStringLongIntFloatDoubleNullBool, error)

func DeserializeUnionStringLongIntFloatDoubleNullBoolFromSchema

func DeserializeUnionStringLongIntFloatDoubleNullBoolFromSchema(r io.Reader, schema string) (*UnionStringLongIntFloatDoubleNullBool, error)

func NewUnionStringLongIntFloatDoubleNullBool

func NewUnionStringLongIntFloatDoubleNullBool() *UnionStringLongIntFloatDoubleNullBool

func (*UnionStringLongIntFloatDoubleNullBool) AppendArray

func (*UnionStringLongIntFloatDoubleNullBool) AppendMap

func (*UnionStringLongIntFloatDoubleNullBool) Finalize

func (*UnionStringLongIntFloatDoubleNullBool) Get

func (*UnionStringLongIntFloatDoubleNullBool) HintSize

func (*UnionStringLongIntFloatDoubleNullBool) MarshalJSON

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

func (*UnionStringLongIntFloatDoubleNullBool) NullField

func (*UnionStringLongIntFloatDoubleNullBool) Schema

func (*UnionStringLongIntFloatDoubleNullBool) Serialize

func (*UnionStringLongIntFloatDoubleNullBool) SetBoolean

func (*UnionStringLongIntFloatDoubleNullBool) SetBytes

func (*UnionStringLongIntFloatDoubleNullBool) SetDefault

func (_ *UnionStringLongIntFloatDoubleNullBool) SetDefault(i int)

func (*UnionStringLongIntFloatDoubleNullBool) SetDouble

func (*UnionStringLongIntFloatDoubleNullBool) SetFloat

func (*UnionStringLongIntFloatDoubleNullBool) SetInt

func (*UnionStringLongIntFloatDoubleNullBool) SetLong

func (*UnionStringLongIntFloatDoubleNullBool) SetString

func (*UnionStringLongIntFloatDoubleNullBool) UnmarshalJSON

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

type UnionStringLongIntFloatDoubleNullBoolTypeEnum

type UnionStringLongIntFloatDoubleNullBoolTypeEnum int
const (
	UnionStringLongIntFloatDoubleNullBoolTypeEnumString UnionStringLongIntFloatDoubleNullBoolTypeEnum = 0

	UnionStringLongIntFloatDoubleNullBoolTypeEnumLong UnionStringLongIntFloatDoubleNullBoolTypeEnum = 1

	UnionStringLongIntFloatDoubleNullBoolTypeEnumInt UnionStringLongIntFloatDoubleNullBoolTypeEnum = 2

	UnionStringLongIntFloatDoubleNullBoolTypeEnumFloat UnionStringLongIntFloatDoubleNullBoolTypeEnum = 3

	UnionStringLongIntFloatDoubleNullBoolTypeEnumDouble UnionStringLongIntFloatDoubleNullBoolTypeEnum = 4

	UnionStringLongIntFloatDoubleNullBoolTypeEnumBool UnionStringLongIntFloatDoubleNullBoolTypeEnum = 6
)

Directories

Path Synopsis
Code generated by Skaidus.
Code generated by Skaidus.

Jump to

Keyboard shortcuts

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