timespointers

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: 6 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.

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

Index

Constants

View Source
const AppearanceURLs_recordAvroCRC64Fingerprint = "\x9e\xacb⊴\xc7\xda"
View Source
const FactCheckClaims_recordAvroCRC64Fingerprint = "\xa2YuPD\x84\xc4,"
View Source
const TimesPointersAvroCRC64Fingerprint = "D{$\x8c\xf3'^\xa0"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppearanceURLs_record

type AppearanceURLs_record struct {
	Original bool `json:"original"`

	Url string `json:"url"`
}

func DeserializeAppearanceURLs_record

func DeserializeAppearanceURLs_record(r io.Reader) (*AppearanceURLs_record, error)

func DeserializeAppearanceURLs_recordFromSchema

func DeserializeAppearanceURLs_recordFromSchema(r io.Reader, schema string) (*AppearanceURLs_record, error)

func NewAppearanceURLs_record

func NewAppearanceURLs_record() *AppearanceURLs_record

func (*AppearanceURLs_record) AppendArray

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

func (*AppearanceURLs_record) AppendMap

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

func (*AppearanceURLs_record) AvroCRC64Fingerprint

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

func (*AppearanceURLs_record) Finalize

func (_ *AppearanceURLs_record) Finalize()

func (*AppearanceURLs_record) Get

func (*AppearanceURLs_record) NullField

func (r *AppearanceURLs_record) NullField(i int)

func (*AppearanceURLs_record) Schema

func (r *AppearanceURLs_record) Schema() string

func (*AppearanceURLs_record) SchemaName

func (r *AppearanceURLs_record) SchemaName() string

func (*AppearanceURLs_record) Serialize

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

func (*AppearanceURLs_record) SetBoolean

func (_ *AppearanceURLs_record) SetBoolean(v bool)

func (*AppearanceURLs_record) SetBytes

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

func (*AppearanceURLs_record) SetDefault

func (r *AppearanceURLs_record) SetDefault(i int)

func (*AppearanceURLs_record) SetDouble

func (_ *AppearanceURLs_record) SetDouble(v float64)

func (*AppearanceURLs_record) SetFloat

func (_ *AppearanceURLs_record) SetFloat(v float32)

func (*AppearanceURLs_record) SetInt

func (_ *AppearanceURLs_record) SetInt(v int32)

func (*AppearanceURLs_record) SetLong

func (_ *AppearanceURLs_record) SetLong(v int64)

func (*AppearanceURLs_record) SetString

func (_ *AppearanceURLs_record) SetString(v string)

func (*AppearanceURLs_record) SetUnionElem

func (_ *AppearanceURLs_record) SetUnionElem(v int64)

type ArrayAppearanceURLs_recordWrapper

type ArrayAppearanceURLs_recordWrapper struct {
	Target *[]*AppearanceURLs_record
}

func (*ArrayAppearanceURLs_recordWrapper) AppendArray

func (*ArrayAppearanceURLs_recordWrapper) AppendMap

func (*ArrayAppearanceURLs_recordWrapper) Finalize

func (_ *ArrayAppearanceURLs_recordWrapper) Finalize()

func (*ArrayAppearanceURLs_recordWrapper) Get

func (*ArrayAppearanceURLs_recordWrapper) NullField

func (r *ArrayAppearanceURLs_recordWrapper) NullField(i int)

func (*ArrayAppearanceURLs_recordWrapper) SetBoolean

func (_ *ArrayAppearanceURLs_recordWrapper) SetBoolean(v bool)

func (*ArrayAppearanceURLs_recordWrapper) SetBytes

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

func (*ArrayAppearanceURLs_recordWrapper) SetDefault

func (_ *ArrayAppearanceURLs_recordWrapper) SetDefault(i int)

func (*ArrayAppearanceURLs_recordWrapper) SetDouble

func (*ArrayAppearanceURLs_recordWrapper) SetFloat

func (*ArrayAppearanceURLs_recordWrapper) SetInt

func (*ArrayAppearanceURLs_recordWrapper) SetLong

func (*ArrayAppearanceURLs_recordWrapper) SetString

func (_ *ArrayAppearanceURLs_recordWrapper) SetString(v string)

func (*ArrayAppearanceURLs_recordWrapper) SetUnionElem

func (_ *ArrayAppearanceURLs_recordWrapper) SetUnionElem(v int64)

type ArrayFactCheckClaims_recordWrapper

type ArrayFactCheckClaims_recordWrapper struct {
	Target *[]*FactCheckClaims_record
}

func (*ArrayFactCheckClaims_recordWrapper) AppendArray

func (*ArrayFactCheckClaims_recordWrapper) AppendMap

func (*ArrayFactCheckClaims_recordWrapper) Finalize

func (_ *ArrayFactCheckClaims_recordWrapper) Finalize()

func (*ArrayFactCheckClaims_recordWrapper) Get

func (*ArrayFactCheckClaims_recordWrapper) NullField

func (r *ArrayFactCheckClaims_recordWrapper) NullField(i int)

func (*ArrayFactCheckClaims_recordWrapper) SetBoolean

func (_ *ArrayFactCheckClaims_recordWrapper) SetBoolean(v bool)

func (*ArrayFactCheckClaims_recordWrapper) SetBytes

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

func (*ArrayFactCheckClaims_recordWrapper) SetDefault

func (_ *ArrayFactCheckClaims_recordWrapper) SetDefault(i int)

func (*ArrayFactCheckClaims_recordWrapper) SetDouble

func (*ArrayFactCheckClaims_recordWrapper) SetFloat

func (*ArrayFactCheckClaims_recordWrapper) SetInt

func (*ArrayFactCheckClaims_recordWrapper) SetLong

func (*ArrayFactCheckClaims_recordWrapper) SetString

func (*ArrayFactCheckClaims_recordWrapper) SetUnionElem

func (_ *ArrayFactCheckClaims_recordWrapper) SetUnionElem(v int64)

type FactCheckClaims_record

type FactCheckClaims_record struct {
	AppearanceURLs []*AppearanceURLs_record `json:"appearanceURLs"`

	Author *UnionNullString `json:"author"`

	Claim *UnionNullString `json:"claim"`

	Date *UnionNullString `json:"date"`

	Rating *UnionNullString `json:"rating"`
}

func DeserializeFactCheckClaims_record

func DeserializeFactCheckClaims_record(r io.Reader) (*FactCheckClaims_record, error)

func DeserializeFactCheckClaims_recordFromSchema

func DeserializeFactCheckClaims_recordFromSchema(r io.Reader, schema string) (*FactCheckClaims_record, error)

func NewFactCheckClaims_record

func NewFactCheckClaims_record() *FactCheckClaims_record

func (*FactCheckClaims_record) AppendArray

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

func (*FactCheckClaims_record) AppendMap

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

func (*FactCheckClaims_record) AvroCRC64Fingerprint

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

func (*FactCheckClaims_record) Finalize

func (_ *FactCheckClaims_record) Finalize()

func (*FactCheckClaims_record) Get

func (*FactCheckClaims_record) NullField

func (r *FactCheckClaims_record) NullField(i int)

func (*FactCheckClaims_record) Schema

func (r *FactCheckClaims_record) Schema() string

func (*FactCheckClaims_record) SchemaName

func (r *FactCheckClaims_record) SchemaName() string

func (*FactCheckClaims_record) Serialize

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

func (*FactCheckClaims_record) SetBoolean

func (_ *FactCheckClaims_record) SetBoolean(v bool)

func (*FactCheckClaims_record) SetBytes

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

func (*FactCheckClaims_record) SetDefault

func (r *FactCheckClaims_record) SetDefault(i int)

func (*FactCheckClaims_record) SetDouble

func (_ *FactCheckClaims_record) SetDouble(v float64)

func (*FactCheckClaims_record) SetFloat

func (_ *FactCheckClaims_record) SetFloat(v float32)

func (*FactCheckClaims_record) SetInt

func (_ *FactCheckClaims_record) SetInt(v int32)

func (*FactCheckClaims_record) SetLong

func (_ *FactCheckClaims_record) SetLong(v int64)

func (*FactCheckClaims_record) SetString

func (_ *FactCheckClaims_record) SetString(v string)

func (*FactCheckClaims_record) SetUnionElem

func (_ *FactCheckClaims_record) SetUnionElem(v int64)

type TimesPointers

type TimesPointers 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"`

	FactCheckClaims []*FactCheckClaims_record `json:"factCheckClaims"`

	NonRequiredDate *UnionNullLong `json:"nonRequiredDate"`

	RequiredDate int64 `json:"requiredDate"`
}

func DeserializeTimesPointers

func DeserializeTimesPointers(r io.Reader) (*TimesPointers, error)

func DeserializeTimesPointersFromSchema

func DeserializeTimesPointersFromSchema(r io.Reader, schema string) (*TimesPointers, error)

func NewTimesPointers

func NewTimesPointers() *TimesPointers

func (*TimesPointers) AppendArray

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

func (*TimesPointers) AppendMap

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

func (*TimesPointers) AvroCRC64Fingerprint

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

func (*TimesPointers) Finalize

func (_ *TimesPointers) Finalize()

func (*TimesPointers) Get

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

func (*TimesPointers) NullField

func (r *TimesPointers) NullField(i int)

func (*TimesPointers) Schema

func (r *TimesPointers) Schema() string

func (*TimesPointers) SchemaName

func (r *TimesPointers) SchemaName() string

func (*TimesPointers) Serialize

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

func (*TimesPointers) SetBoolean

func (_ *TimesPointers) SetBoolean(v bool)

func (*TimesPointers) SetBytes

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

func (*TimesPointers) SetDefault

func (r *TimesPointers) SetDefault(i int)

func (*TimesPointers) SetDouble

func (_ *TimesPointers) SetDouble(v float64)

func (*TimesPointers) SetFloat

func (_ *TimesPointers) SetFloat(v float32)

func (*TimesPointers) SetInt

func (_ *TimesPointers) SetInt(v int32)

func (*TimesPointers) SetLong

func (_ *TimesPointers) SetLong(v int64)

func (*TimesPointers) SetString

func (_ *TimesPointers) SetString(v string)

func (*TimesPointers) SetUnionElem

func (_ *TimesPointers) SetUnionElem(v int64)

type UnionNullLong

type UnionNullLong struct {
	Null      *types.NullVal
	Long      int64
	UnionType UnionNullLongTypeEnum
}

func NewUnionNullLong

func NewUnionNullLong() *UnionNullLong

func (*UnionNullLong) AppendArray

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

func (*UnionNullLong) AppendMap

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

func (*UnionNullLong) Finalize

func (_ *UnionNullLong) Finalize()

func (*UnionNullLong) Get

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

func (*UnionNullLong) MarshalJSON

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

func (*UnionNullLong) NullField

func (_ *UnionNullLong) NullField(i int)

func (*UnionNullLong) SetBoolean

func (_ *UnionNullLong) SetBoolean(v bool)

func (*UnionNullLong) SetBytes

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

func (*UnionNullLong) SetDefault

func (_ *UnionNullLong) SetDefault(i int)

func (*UnionNullLong) SetDouble

func (_ *UnionNullLong) SetDouble(v float64)

func (*UnionNullLong) SetFloat

func (_ *UnionNullLong) SetFloat(v float32)

func (*UnionNullLong) SetInt

func (_ *UnionNullLong) SetInt(v int32)

func (*UnionNullLong) SetLong

func (r *UnionNullLong) SetLong(v int64)

func (*UnionNullLong) SetString

func (_ *UnionNullLong) SetString(v string)

func (*UnionNullLong) UnmarshalJSON

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

type UnionNullLongTypeEnum

type UnionNullLongTypeEnum int
const (
	UnionNullLongTypeEnumLong UnionNullLongTypeEnum = 1
)

type UnionNullString

type UnionNullString struct {
	Null      *types.NullVal
	String    string
	UnionType UnionNullStringTypeEnum
}

func NewUnionNullString

func NewUnionNullString() *UnionNullString

func (*UnionNullString) AppendArray

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

func (*UnionNullString) AppendMap

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

func (*UnionNullString) Finalize

func (_ *UnionNullString) Finalize()

func (*UnionNullString) Get

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

func (*UnionNullString) MarshalJSON

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

func (*UnionNullString) NullField

func (_ *UnionNullString) NullField(i int)

func (*UnionNullString) SetBoolean

func (_ *UnionNullString) SetBoolean(v bool)

func (*UnionNullString) SetBytes

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

func (*UnionNullString) SetDefault

func (_ *UnionNullString) SetDefault(i int)

func (*UnionNullString) SetDouble

func (_ *UnionNullString) SetDouble(v float64)

func (*UnionNullString) SetFloat

func (_ *UnionNullString) SetFloat(v float32)

func (*UnionNullString) SetInt

func (_ *UnionNullString) SetInt(v int32)

func (*UnionNullString) SetLong

func (r *UnionNullString) SetLong(v int64)

func (*UnionNullString) SetString

func (_ *UnionNullString) SetString(v string)

func (*UnionNullString) UnmarshalJSON

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

type UnionNullStringTypeEnum

type UnionNullStringTypeEnum int
const (
	UnionNullStringTypeEnumString UnionNullStringTypeEnum = 1
)

Jump to

Keyboard shortcuts

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