arrays

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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

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

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

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

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

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

Index

Constants

View Source
const ArraysAvroCRC64Fingerprint = "\x97pH\xcf\x06ˬ)"
View Source
const Info_recordAvroCRC64Fingerprint = "\x1f\xf5\xe3Eʞ\xf31"
View Source
const Parents_recordAvroCRC64Fingerprint = "\xa8\x8e\x82\x87s\xcbB\xc2"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayLongWrapper

type ArrayLongWrapper struct {
	Target *[]int64
}

func (*ArrayLongWrapper) AppendArray

func (r *ArrayLongWrapper) AppendArray() types.Field

func (*ArrayLongWrapper) AppendMap

func (_ *ArrayLongWrapper) AppendMap(key string) types.Field

func (*ArrayLongWrapper) Finalize

func (_ *ArrayLongWrapper) Finalize()

func (*ArrayLongWrapper) Get

func (_ *ArrayLongWrapper) Get(i int) types.Field

func (*ArrayLongWrapper) NullField

func (r *ArrayLongWrapper) NullField(i int)

func (*ArrayLongWrapper) SetBoolean

func (_ *ArrayLongWrapper) SetBoolean(v bool)

func (*ArrayLongWrapper) SetBytes

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

func (*ArrayLongWrapper) SetDefault

func (_ *ArrayLongWrapper) SetDefault(i int)

func (*ArrayLongWrapper) SetDouble

func (_ *ArrayLongWrapper) SetDouble(v float64)

func (*ArrayLongWrapper) SetFloat

func (_ *ArrayLongWrapper) SetFloat(v float32)

func (*ArrayLongWrapper) SetInt

func (_ *ArrayLongWrapper) SetInt(v int32)

func (*ArrayLongWrapper) SetLong

func (_ *ArrayLongWrapper) SetLong(v int64)

func (*ArrayLongWrapper) SetString

func (_ *ArrayLongWrapper) SetString(v string)

func (*ArrayLongWrapper) SetUnionElem

func (_ *ArrayLongWrapper) SetUnionElem(v int64)

type ArrayParents_recordWrapper

type ArrayParents_recordWrapper struct {
	Target *[]*Parents_record
}

func (*ArrayParents_recordWrapper) AppendArray

func (r *ArrayParents_recordWrapper) AppendArray() types.Field

func (*ArrayParents_recordWrapper) AppendMap

func (_ *ArrayParents_recordWrapper) AppendMap(key string) types.Field

func (*ArrayParents_recordWrapper) Finalize

func (_ *ArrayParents_recordWrapper) Finalize()

func (*ArrayParents_recordWrapper) Get

func (*ArrayParents_recordWrapper) NullField

func (r *ArrayParents_recordWrapper) NullField(i int)

func (*ArrayParents_recordWrapper) SetBoolean

func (_ *ArrayParents_recordWrapper) SetBoolean(v bool)

func (*ArrayParents_recordWrapper) SetBytes

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

func (*ArrayParents_recordWrapper) SetDefault

func (_ *ArrayParents_recordWrapper) SetDefault(i int)

func (*ArrayParents_recordWrapper) SetDouble

func (_ *ArrayParents_recordWrapper) SetDouble(v float64)

func (*ArrayParents_recordWrapper) SetFloat

func (_ *ArrayParents_recordWrapper) SetFloat(v float32)

func (*ArrayParents_recordWrapper) SetInt

func (_ *ArrayParents_recordWrapper) SetInt(v int32)

func (*ArrayParents_recordWrapper) SetLong

func (_ *ArrayParents_recordWrapper) SetLong(v int64)

func (*ArrayParents_recordWrapper) SetString

func (_ *ArrayParents_recordWrapper) SetString(v string)

func (*ArrayParents_recordWrapper) SetUnionElem

func (_ *ArrayParents_recordWrapper) SetUnionElem(v int64)

type ArrayStringWrapper

type ArrayStringWrapper struct {
	Target *[]string
}

func (*ArrayStringWrapper) AppendArray

func (r *ArrayStringWrapper) AppendArray() types.Field

func (*ArrayStringWrapper) AppendMap

func (_ *ArrayStringWrapper) AppendMap(key string) types.Field

func (*ArrayStringWrapper) Finalize

func (_ *ArrayStringWrapper) Finalize()

func (*ArrayStringWrapper) Get

func (_ *ArrayStringWrapper) Get(i int) types.Field

func (*ArrayStringWrapper) NullField

func (r *ArrayStringWrapper) NullField(i int)

func (*ArrayStringWrapper) SetBoolean

func (_ *ArrayStringWrapper) SetBoolean(v bool)

func (*ArrayStringWrapper) SetBytes

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

func (*ArrayStringWrapper) SetDefault

func (_ *ArrayStringWrapper) SetDefault(i int)

func (*ArrayStringWrapper) SetDouble

func (_ *ArrayStringWrapper) SetDouble(v float64)

func (*ArrayStringWrapper) SetFloat

func (_ *ArrayStringWrapper) SetFloat(v float32)

func (*ArrayStringWrapper) SetInt

func (_ *ArrayStringWrapper) SetInt(v int32)

func (*ArrayStringWrapper) SetLong

func (_ *ArrayStringWrapper) SetLong(v int64)

func (*ArrayStringWrapper) SetString

func (_ *ArrayStringWrapper) SetString(v string)

func (*ArrayStringWrapper) SetUnionElem

func (_ *ArrayStringWrapper) SetUnionElem(v int64)

type Arrays

type Arrays struct {
	// The timestamp when this avro data is written. Useful for identifying the newest row of data sharing keys.
	AvroWriteTime int64 `json:"AvroWriteTime"`
	// This is set to true when the Avro data is recording a delete in the source data.
	AvroDeleted bool `json:"AvroDeleted"`

	Heights []int64 `json:"heights"`

	Parents []*Parents_record `json:"parents"`
}

func DeserializeArrays

func DeserializeArrays(r io.Reader) (*Arrays, error)

func DeserializeArraysFromSchema

func DeserializeArraysFromSchema(r io.Reader, schema string) (*Arrays, error)

func NewArrays

func NewArrays() *Arrays

func (*Arrays) AppendArray

func (_ *Arrays) AppendArray() types.Field

func (*Arrays) AppendMap

func (_ *Arrays) AppendMap(key string) types.Field

func (*Arrays) AvroCRC64Fingerprint

func (_ *Arrays) AvroCRC64Fingerprint() []byte

func (*Arrays) Finalize

func (_ *Arrays) Finalize()

func (*Arrays) Get

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

func (*Arrays) NullField

func (r *Arrays) NullField(i int)

func (*Arrays) Schema

func (r *Arrays) Schema() string

func (*Arrays) SchemaName

func (r *Arrays) SchemaName() string

func (*Arrays) Serialize

func (r *Arrays) Serialize(w io.Writer) error

func (*Arrays) SetBoolean

func (_ *Arrays) SetBoolean(v bool)

func (*Arrays) SetBytes

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

func (*Arrays) SetDefault

func (r *Arrays) SetDefault(i int)

func (*Arrays) SetDouble

func (_ *Arrays) SetDouble(v float64)

func (*Arrays) SetFloat

func (_ *Arrays) SetFloat(v float32)

func (*Arrays) SetInt

func (_ *Arrays) SetInt(v int32)

func (*Arrays) SetLong

func (_ *Arrays) SetLong(v int64)

func (*Arrays) SetString

func (_ *Arrays) SetString(v string)

func (*Arrays) SetUnionElem

func (_ *Arrays) SetUnionElem(v int64)

type Info_record

type Info_record struct {
	Name string `json:"name"`

	Age int64 `json:"age"`
}

func DeserializeInfo_record

func DeserializeInfo_record(r io.Reader) (*Info_record, error)

func DeserializeInfo_recordFromSchema

func DeserializeInfo_recordFromSchema(r io.Reader, schema string) (*Info_record, error)

func NewInfo_record

func NewInfo_record() *Info_record

func (*Info_record) AppendArray

func (_ *Info_record) AppendArray() types.Field

func (*Info_record) AppendMap

func (_ *Info_record) AppendMap(key string) types.Field

func (*Info_record) AvroCRC64Fingerprint

func (_ *Info_record) AvroCRC64Fingerprint() []byte

func (*Info_record) Finalize

func (_ *Info_record) Finalize()

func (*Info_record) Get

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

func (*Info_record) NullField

func (r *Info_record) NullField(i int)

func (*Info_record) Schema

func (r *Info_record) Schema() string

func (*Info_record) SchemaName

func (r *Info_record) SchemaName() string

func (*Info_record) Serialize

func (r *Info_record) Serialize(w io.Writer) error

func (*Info_record) SetBoolean

func (_ *Info_record) SetBoolean(v bool)

func (*Info_record) SetBytes

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

func (*Info_record) SetDefault

func (r *Info_record) SetDefault(i int)

func (*Info_record) SetDouble

func (_ *Info_record) SetDouble(v float64)

func (*Info_record) SetFloat

func (_ *Info_record) SetFloat(v float32)

func (*Info_record) SetInt

func (_ *Info_record) SetInt(v int32)

func (*Info_record) SetLong

func (_ *Info_record) SetLong(v int64)

func (*Info_record) SetString

func (_ *Info_record) SetString(v string)

func (*Info_record) SetUnionElem

func (_ *Info_record) SetUnionElem(v int64)

type Parents_record

type Parents_record struct {
	Count int64 `json:"count"`

	Children []string `json:"children"`

	Date int64 `json:"date"`

	Info *Info_record `json:"info"`
}

func DeserializeParents_record

func DeserializeParents_record(r io.Reader) (*Parents_record, error)

func DeserializeParents_recordFromSchema

func DeserializeParents_recordFromSchema(r io.Reader, schema string) (*Parents_record, error)

func NewParents_record

func NewParents_record() *Parents_record

func (*Parents_record) AppendArray

func (_ *Parents_record) AppendArray() types.Field

func (*Parents_record) AppendMap

func (_ *Parents_record) AppendMap(key string) types.Field

func (*Parents_record) AvroCRC64Fingerprint

func (_ *Parents_record) AvroCRC64Fingerprint() []byte

func (*Parents_record) Finalize

func (_ *Parents_record) Finalize()

func (*Parents_record) Get

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

func (*Parents_record) NullField

func (r *Parents_record) NullField(i int)

func (*Parents_record) Schema

func (r *Parents_record) Schema() string

func (*Parents_record) SchemaName

func (r *Parents_record) SchemaName() string

func (*Parents_record) Serialize

func (r *Parents_record) Serialize(w io.Writer) error

func (*Parents_record) SetBoolean

func (_ *Parents_record) SetBoolean(v bool)

func (*Parents_record) SetBytes

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

func (*Parents_record) SetDefault

func (r *Parents_record) SetDefault(i int)

func (*Parents_record) SetDouble

func (_ *Parents_record) SetDouble(v float64)

func (*Parents_record) SetFloat

func (_ *Parents_record) SetFloat(v float32)

func (*Parents_record) SetInt

func (_ *Parents_record) SetInt(v int32)

func (*Parents_record) SetLong

func (_ *Parents_record) SetLong(v int64)

func (*Parents_record) SetString

func (_ *Parents_record) SetString(v string)

func (*Parents_record) SetUnionElem

func (_ *Parents_record) SetUnionElem(v int64)

Jump to

Keyboard shortcuts

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