avro

package
v1.0.157 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

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

  • SOURCE:
  • record.avsc

Index

Constants

View Source
const BinaryGeometryAvroCRC64Fingerprint = "\x00#\xcdGo#\xb7\x13"
View Source
const BinaryObjectAvroCRC64Fingerprint = "b\xc0\x12\xb4s|}\xe2"
View Source
const CharacterAvroCRC64Fingerprint = "\f\x1f\x172\xf6\v\x15{"
View Source
const DateTimeAvroCRC64Fingerprint = "\x05\x8b\x81\xd7fe\xd6%"
View Source
const DecimalAvroCRC64Fingerprint = "\x04@N\xc5\x03t#\x90"
View Source
const FieldAvroCRC64Fingerprint = "i\xfc&\x96l\xff\xf8\x9c"
View Source
const FloatAvroCRC64Fingerprint = "o\xe4\x9f+$3;\xb3"
View Source
const IntegerAvroCRC64Fingerprint = "\xb1\xecI\xa1`\x8cBw"
View Source
const RecordAvroCRC64Fingerprint = "\x0f9q.9\x9d\xea\xfc"
View Source
const SourceAvroCRC64Fingerprint = "\xf0>U\x15,f\xc6E"
View Source
const TextGeometryAvroCRC64Fingerprint = "\xfd\x9c\x1d6@\u0602h"
View Source
const TextObjectAvroCRC64Fingerprint = "צ:\r\xf9\xbd\xb8\xc4"
View Source
const TimestampAvroCRC64Fingerprint = "ݜv}\v\x9aV\x04"
View Source
const TimestampWithTimeZoneAvroCRC64Fingerprint = "l\x0f\x14\x9fV\xba\x9b\xcf"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayFieldWrapper

type ArrayFieldWrapper struct {
	Target *[]Field
}

func (ArrayFieldWrapper) AppendArray

func (r ArrayFieldWrapper) AppendArray() types.Field

func (ArrayFieldWrapper) AppendMap

func (_ ArrayFieldWrapper) AppendMap(key string) types.Field

func (ArrayFieldWrapper) Finalize

func (_ ArrayFieldWrapper) Finalize()

func (ArrayFieldWrapper) Get

func (_ ArrayFieldWrapper) Get(i int) types.Field

func (ArrayFieldWrapper) HintSize

func (r ArrayFieldWrapper) HintSize(s int)

func (ArrayFieldWrapper) NullField

func (r ArrayFieldWrapper) NullField(i int)

func (ArrayFieldWrapper) SetBoolean

func (_ ArrayFieldWrapper) SetBoolean(v bool)

func (ArrayFieldWrapper) SetBytes

func (_ ArrayFieldWrapper) SetBytes(v []byte)

func (ArrayFieldWrapper) SetDefault

func (_ ArrayFieldWrapper) SetDefault(i int)

func (ArrayFieldWrapper) SetDouble

func (_ ArrayFieldWrapper) SetDouble(v float64)

func (ArrayFieldWrapper) SetFloat

func (_ ArrayFieldWrapper) SetFloat(v float32)

func (ArrayFieldWrapper) SetInt

func (_ ArrayFieldWrapper) SetInt(v int32)

func (ArrayFieldWrapper) SetLong

func (_ ArrayFieldWrapper) SetLong(v int64)

func (ArrayFieldWrapper) SetString

func (_ ArrayFieldWrapper) SetString(v string)

func (ArrayFieldWrapper) SetUnionElem

func (_ ArrayFieldWrapper) SetUnionElem(v int64)

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) HintSize

func (r ArrayLongWrapper) HintSize(s int)

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 ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper

type ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper struct {
	Target *[]*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject
}

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) AppendArray

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) AppendMap

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) Finalize

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) Get

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) HintSize

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) NullField

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetBoolean

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetBytes

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetDefault

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetDouble

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetFloat

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetInt

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetLong

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetString

func (ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectWrapper) SetUnionElem

type BinaryGeometry

type BinaryGeometry struct {
	Type string `json:"type"`

	Value Bytes `json:"value"`
}

func DeserializeBinaryGeometry

func DeserializeBinaryGeometry(r io.Reader) (BinaryGeometry, error)

func DeserializeBinaryGeometryFromSchema

func DeserializeBinaryGeometryFromSchema(r io.Reader, schema string) (BinaryGeometry, error)

func NewBinaryGeometry

func NewBinaryGeometry() BinaryGeometry

func (BinaryGeometry) AppendArray

func (_ BinaryGeometry) AppendArray() types.Field

func (BinaryGeometry) AppendMap

func (_ BinaryGeometry) AppendMap(key string) types.Field

func (BinaryGeometry) AvroCRC64Fingerprint

func (_ BinaryGeometry) AvroCRC64Fingerprint() []byte

func (BinaryGeometry) Finalize

func (_ BinaryGeometry) Finalize()

func (*BinaryGeometry) Get

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

func (BinaryGeometry) HintSize

func (_ BinaryGeometry) HintSize(int)

func (BinaryGeometry) MarshalJSON

func (r BinaryGeometry) MarshalJSON() ([]byte, error)

func (*BinaryGeometry) NullField

func (r *BinaryGeometry) NullField(i int)

func (BinaryGeometry) Schema

func (r BinaryGeometry) Schema() string

func (BinaryGeometry) SchemaName

func (r BinaryGeometry) SchemaName() string

func (BinaryGeometry) Serialize

func (r BinaryGeometry) Serialize(w io.Writer) error

func (BinaryGeometry) SetBoolean

func (_ BinaryGeometry) SetBoolean(v bool)

func (BinaryGeometry) SetBytes

func (_ BinaryGeometry) SetBytes(v []byte)

func (*BinaryGeometry) SetDefault

func (r *BinaryGeometry) SetDefault(i int)

func (BinaryGeometry) SetDouble

func (_ BinaryGeometry) SetDouble(v float64)

func (BinaryGeometry) SetFloat

func (_ BinaryGeometry) SetFloat(v float32)

func (BinaryGeometry) SetInt

func (_ BinaryGeometry) SetInt(v int32)

func (BinaryGeometry) SetLong

func (_ BinaryGeometry) SetLong(v int64)

func (BinaryGeometry) SetString

func (_ BinaryGeometry) SetString(v string)

func (BinaryGeometry) SetUnionElem

func (_ BinaryGeometry) SetUnionElem(v int64)

func (*BinaryGeometry) UnmarshalJSON

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

type BinaryObject

type BinaryObject struct {
	Type string `json:"type"`

	Value Bytes `json:"value"`
}

func DeserializeBinaryObject

func DeserializeBinaryObject(r io.Reader) (BinaryObject, error)

func DeserializeBinaryObjectFromSchema

func DeserializeBinaryObjectFromSchema(r io.Reader, schema string) (BinaryObject, error)

func NewBinaryObject

func NewBinaryObject() BinaryObject

func (BinaryObject) AppendArray

func (_ BinaryObject) AppendArray() types.Field

func (BinaryObject) AppendMap

func (_ BinaryObject) AppendMap(key string) types.Field

func (BinaryObject) AvroCRC64Fingerprint

func (_ BinaryObject) AvroCRC64Fingerprint() []byte

func (BinaryObject) Finalize

func (_ BinaryObject) Finalize()

func (*BinaryObject) Get

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

func (BinaryObject) HintSize

func (_ BinaryObject) HintSize(int)

func (BinaryObject) MarshalJSON

func (r BinaryObject) MarshalJSON() ([]byte, error)

func (*BinaryObject) NullField

func (r *BinaryObject) NullField(i int)

func (BinaryObject) Schema

func (r BinaryObject) Schema() string

func (BinaryObject) SchemaName

func (r BinaryObject) SchemaName() string

func (BinaryObject) Serialize

func (r BinaryObject) Serialize(w io.Writer) error

func (BinaryObject) SetBoolean

func (_ BinaryObject) SetBoolean(v bool)

func (BinaryObject) SetBytes

func (_ BinaryObject) SetBytes(v []byte)

func (*BinaryObject) SetDefault

func (r *BinaryObject) SetDefault(i int)

func (BinaryObject) SetDouble

func (_ BinaryObject) SetDouble(v float64)

func (BinaryObject) SetFloat

func (_ BinaryObject) SetFloat(v float32)

func (BinaryObject) SetInt

func (_ BinaryObject) SetInt(v int32)

func (BinaryObject) SetLong

func (_ BinaryObject) SetLong(v int64)

func (BinaryObject) SetString

func (_ BinaryObject) SetString(v string)

func (BinaryObject) SetUnionElem

func (_ BinaryObject) SetUnionElem(v int64)

func (*BinaryObject) UnmarshalJSON

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

type Bytes

type Bytes []byte

func (Bytes) MarshalJSON

func (b Bytes) MarshalJSON() ([]byte, error)

func (*Bytes) UnmarshalJSON

func (b *Bytes) UnmarshalJSON(data []byte) error

type BytesWrapper

type BytesWrapper struct {
	Target *Bytes
}

func (BytesWrapper) AppendArray

func (b BytesWrapper) AppendArray() types.Field

func (BytesWrapper) AppendMap

func (b BytesWrapper) AppendMap(key string) types.Field

func (BytesWrapper) Finalize

func (b BytesWrapper) Finalize()

func (BytesWrapper) Get

func (b BytesWrapper) Get(i int) types.Field

func (BytesWrapper) HintSize

func (b BytesWrapper) HintSize(int)

func (BytesWrapper) NullField

func (b BytesWrapper) NullField(int)

func (BytesWrapper) SetBoolean

func (b BytesWrapper) SetBoolean(v bool)

func (BytesWrapper) SetBytes

func (b BytesWrapper) SetBytes(v []byte)

func (BytesWrapper) SetDefault

func (b BytesWrapper) SetDefault(i int)

func (BytesWrapper) SetDouble

func (b BytesWrapper) SetDouble(v float64)

func (BytesWrapper) SetFloat

func (b BytesWrapper) SetFloat(v float32)

func (BytesWrapper) SetInt

func (b BytesWrapper) SetInt(v int32)

func (BytesWrapper) SetLong

func (b BytesWrapper) SetLong(v int64)

func (BytesWrapper) SetString

func (b BytesWrapper) SetString(v string)

func (BytesWrapper) SetUnionElem

func (b BytesWrapper) SetUnionElem(v int64)

type Character

type Character struct {
	Charset string `json:"charset"`

	Value Bytes `json:"value"`
}

func DeserializeCharacter

func DeserializeCharacter(r io.Reader) (Character, error)

func DeserializeCharacterFromSchema

func DeserializeCharacterFromSchema(r io.Reader, schema string) (Character, error)

func NewCharacter

func NewCharacter() Character

func (Character) AppendArray

func (_ Character) AppendArray() types.Field

func (Character) AppendMap

func (_ Character) AppendMap(key string) types.Field

func (Character) AvroCRC64Fingerprint

func (_ Character) AvroCRC64Fingerprint() []byte

func (Character) Finalize

func (_ Character) Finalize()

func (*Character) Get

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

func (Character) HintSize

func (_ Character) HintSize(int)

func (Character) MarshalJSON

func (r Character) MarshalJSON() ([]byte, error)

func (*Character) NullField

func (r *Character) NullField(i int)

func (Character) Schema

func (r Character) Schema() string

func (Character) SchemaName

func (r Character) SchemaName() string

func (Character) Serialize

func (r Character) Serialize(w io.Writer) error

func (Character) SetBoolean

func (_ Character) SetBoolean(v bool)

func (Character) SetBytes

func (_ Character) SetBytes(v []byte)

func (*Character) SetDefault

func (r *Character) SetDefault(i int)

func (Character) SetDouble

func (_ Character) SetDouble(v float64)

func (Character) SetFloat

func (_ Character) SetFloat(v float32)

func (Character) SetInt

func (_ Character) SetInt(v int32)

func (Character) SetLong

func (_ Character) SetLong(v int64)

func (Character) SetString

func (_ Character) SetString(v string)

func (Character) SetUnionElem

func (_ Character) SetUnionElem(v int64)

func (*Character) UnmarshalJSON

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

type DateTime

type DateTime struct {
	Year *UnionNullInt `json:"year"`

	Month *UnionNullInt `json:"month"`

	Day *UnionNullInt `json:"day"`

	Hour *UnionNullInt `json:"hour"`

	Minute *UnionNullInt `json:"minute"`

	Second *UnionNullInt `json:"second"`

	Millis *UnionNullInt `json:"millis"`
}

func DeserializeDateTime

func DeserializeDateTime(r io.Reader) (DateTime, error)

func DeserializeDateTimeFromSchema

func DeserializeDateTimeFromSchema(r io.Reader, schema string) (DateTime, error)

func NewDateTime

func NewDateTime() DateTime

func (DateTime) AppendArray

func (_ DateTime) AppendArray() types.Field

func (DateTime) AppendMap

func (_ DateTime) AppendMap(key string) types.Field

func (DateTime) AvroCRC64Fingerprint

func (_ DateTime) AvroCRC64Fingerprint() []byte

func (DateTime) Finalize

func (_ DateTime) Finalize()

func (*DateTime) Get

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

func (DateTime) HintSize

func (_ DateTime) HintSize(int)

func (DateTime) MarshalJSON

func (r DateTime) MarshalJSON() ([]byte, error)

func (*DateTime) NullField

func (r *DateTime) NullField(i int)

func (DateTime) Schema

func (r DateTime) Schema() string

func (DateTime) SchemaName

func (r DateTime) SchemaName() string

func (DateTime) Serialize

func (r DateTime) Serialize(w io.Writer) error

func (DateTime) SetBoolean

func (_ DateTime) SetBoolean(v bool)

func (DateTime) SetBytes

func (_ DateTime) SetBytes(v []byte)

func (*DateTime) SetDefault

func (r *DateTime) SetDefault(i int)

func (DateTime) SetDouble

func (_ DateTime) SetDouble(v float64)

func (DateTime) SetFloat

func (_ DateTime) SetFloat(v float32)

func (DateTime) SetInt

func (_ DateTime) SetInt(v int32)

func (DateTime) SetLong

func (_ DateTime) SetLong(v int64)

func (DateTime) SetString

func (_ DateTime) SetString(v string)

func (DateTime) SetUnionElem

func (_ DateTime) SetUnionElem(v int64)

func (*DateTime) UnmarshalJSON

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

type Decimal

type Decimal struct {
	Value string `json:"value"`

	Precision int32 `json:"precision"`

	Scale int32 `json:"scale"`
}

func DeserializeDecimal

func DeserializeDecimal(r io.Reader) (Decimal, error)

func DeserializeDecimalFromSchema

func DeserializeDecimalFromSchema(r io.Reader, schema string) (Decimal, error)

func NewDecimal

func NewDecimal() Decimal

func (Decimal) AppendArray

func (_ Decimal) AppendArray() types.Field

func (Decimal) AppendMap

func (_ Decimal) AppendMap(key string) types.Field

func (Decimal) AvroCRC64Fingerprint

func (_ Decimal) AvroCRC64Fingerprint() []byte

func (Decimal) Finalize

func (_ Decimal) Finalize()

func (*Decimal) Get

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

func (Decimal) HintSize

func (_ Decimal) HintSize(int)

func (Decimal) MarshalJSON

func (r Decimal) MarshalJSON() ([]byte, error)

func (*Decimal) NullField

func (r *Decimal) NullField(i int)

func (Decimal) Schema

func (r Decimal) Schema() string

func (Decimal) SchemaName

func (r Decimal) SchemaName() string

func (Decimal) Serialize

func (r Decimal) Serialize(w io.Writer) error

func (Decimal) SetBoolean

func (_ Decimal) SetBoolean(v bool)

func (Decimal) SetBytes

func (_ Decimal) SetBytes(v []byte)

func (*Decimal) SetDefault

func (r *Decimal) SetDefault(i int)

func (Decimal) SetDouble

func (_ Decimal) SetDouble(v float64)

func (Decimal) SetFloat

func (_ Decimal) SetFloat(v float32)

func (Decimal) SetInt

func (_ Decimal) SetInt(v int32)

func (Decimal) SetLong

func (_ Decimal) SetLong(v int64)

func (Decimal) SetString

func (_ Decimal) SetString(v string)

func (Decimal) SetUnionElem

func (_ Decimal) SetUnionElem(v int64)

func (*Decimal) UnmarshalJSON

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

type EmptyObject

type EmptyObject int32
const (
	EmptyObjectNULL EmptyObject = 0
	EmptyObjectNONE EmptyObject = 1
)

func NewEmptyObjectValue

func NewEmptyObjectValue(raw string) (r EmptyObject, err error)

func (EmptyObject) MarshalJSON

func (b EmptyObject) MarshalJSON() ([]byte, error)

func (EmptyObject) String

func (e EmptyObject) String() string

func (*EmptyObject) UnmarshalJSON

func (b *EmptyObject) UnmarshalJSON(data []byte) error

type EmptyObjectWrapper

type EmptyObjectWrapper struct {
	Target *EmptyObject
}

func (EmptyObjectWrapper) AppendArray

func (b EmptyObjectWrapper) AppendArray() types.Field

func (EmptyObjectWrapper) AppendMap

func (b EmptyObjectWrapper) AppendMap(key string) types.Field

func (EmptyObjectWrapper) Finalize

func (b EmptyObjectWrapper) Finalize()

func (EmptyObjectWrapper) Get

func (b EmptyObjectWrapper) Get(i int) types.Field

func (EmptyObjectWrapper) HintSize

func (b EmptyObjectWrapper) HintSize(int)

func (EmptyObjectWrapper) NullField

func (b EmptyObjectWrapper) NullField(int)

func (EmptyObjectWrapper) SetBoolean

func (b EmptyObjectWrapper) SetBoolean(v bool)

func (EmptyObjectWrapper) SetBytes

func (b EmptyObjectWrapper) SetBytes(v []byte)

func (EmptyObjectWrapper) SetDefault

func (b EmptyObjectWrapper) SetDefault(i int)

func (EmptyObjectWrapper) SetDouble

func (b EmptyObjectWrapper) SetDouble(v float64)

func (EmptyObjectWrapper) SetFloat

func (b EmptyObjectWrapper) SetFloat(v float32)

func (EmptyObjectWrapper) SetInt

func (b EmptyObjectWrapper) SetInt(v int32)

func (EmptyObjectWrapper) SetLong

func (b EmptyObjectWrapper) SetLong(v int64)

func (EmptyObjectWrapper) SetString

func (b EmptyObjectWrapper) SetString(v string)

func (EmptyObjectWrapper) SetUnionElem

func (b EmptyObjectWrapper) SetUnionElem(v int64)

type Field

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

	DataTypeNumber int32 `json:"dataTypeNumber"`
}

func DeserializeField

func DeserializeField(r io.Reader) (Field, error)

func DeserializeFieldFromSchema

func DeserializeFieldFromSchema(r io.Reader, schema string) (Field, error)

func NewField

func NewField() Field

func (Field) AppendArray

func (_ Field) AppendArray() types.Field

func (Field) AppendMap

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

func (Field) AvroCRC64Fingerprint

func (_ Field) AvroCRC64Fingerprint() []byte

func (Field) Finalize

func (_ Field) Finalize()

func (*Field) Get

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

func (Field) HintSize

func (_ Field) HintSize(int)

func (Field) MarshalJSON

func (r Field) MarshalJSON() ([]byte, error)

func (*Field) NullField

func (r *Field) NullField(i int)

func (Field) Schema

func (r Field) Schema() string

func (Field) SchemaName

func (r Field) SchemaName() string

func (Field) Serialize

func (r Field) Serialize(w io.Writer) error

func (Field) SetBoolean

func (_ Field) SetBoolean(v bool)

func (Field) SetBytes

func (_ Field) SetBytes(v []byte)

func (*Field) SetDefault

func (r *Field) SetDefault(i int)

func (Field) SetDouble

func (_ Field) SetDouble(v float64)

func (Field) SetFloat

func (_ Field) SetFloat(v float32)

func (Field) SetInt

func (_ Field) SetInt(v int32)

func (Field) SetLong

func (_ Field) SetLong(v int64)

func (Field) SetString

func (_ Field) SetString(v string)

func (Field) SetUnionElem

func (_ Field) SetUnionElem(v int64)

func (*Field) UnmarshalJSON

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

type Float

type Float struct {
	Value float64 `json:"value"`

	Precision int32 `json:"precision"`

	Scale int32 `json:"scale"`
}

func DeserializeFloat

func DeserializeFloat(r io.Reader) (Float, error)

func DeserializeFloatFromSchema

func DeserializeFloatFromSchema(r io.Reader, schema string) (Float, error)

func NewFloat

func NewFloat() Float

func (Float) AppendArray

func (_ Float) AppendArray() types.Field

func (Float) AppendMap

func (_ Float) AppendMap(key string) types.Field

func (Float) AvroCRC64Fingerprint

func (_ Float) AvroCRC64Fingerprint() []byte

func (Float) Finalize

func (_ Float) Finalize()

func (*Float) Get

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

func (Float) HintSize

func (_ Float) HintSize(int)

func (Float) MarshalJSON

func (r Float) MarshalJSON() ([]byte, error)

func (*Float) NullField

func (r *Float) NullField(i int)

func (Float) Schema

func (r Float) Schema() string

func (Float) SchemaName

func (r Float) SchemaName() string

func (Float) Serialize

func (r Float) Serialize(w io.Writer) error

func (Float) SetBoolean

func (_ Float) SetBoolean(v bool)

func (Float) SetBytes

func (_ Float) SetBytes(v []byte)

func (*Float) SetDefault

func (r *Float) SetDefault(i int)

func (Float) SetDouble

func (_ Float) SetDouble(v float64)

func (Float) SetFloat

func (_ Float) SetFloat(v float32)

func (Float) SetInt

func (_ Float) SetInt(v int32)

func (Float) SetLong

func (_ Float) SetLong(v int64)

func (Float) SetString

func (_ Float) SetString(v string)

func (Float) SetUnionElem

func (_ Float) SetUnionElem(v int64)

func (*Float) UnmarshalJSON

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

type Integer

type Integer struct {
	Precision int32 `json:"precision"`

	Value string `json:"value"`
}

func DeserializeInteger

func DeserializeInteger(r io.Reader) (Integer, error)

func DeserializeIntegerFromSchema

func DeserializeIntegerFromSchema(r io.Reader, schema string) (Integer, error)

func NewInteger

func NewInteger() Integer

func (Integer) AppendArray

func (_ Integer) AppendArray() types.Field

func (Integer) AppendMap

func (_ Integer) AppendMap(key string) types.Field

func (Integer) AvroCRC64Fingerprint

func (_ Integer) AvroCRC64Fingerprint() []byte

func (Integer) Finalize

func (_ Integer) Finalize()

func (*Integer) Get

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

func (Integer) HintSize

func (_ Integer) HintSize(int)

func (Integer) MarshalJSON

func (r Integer) MarshalJSON() ([]byte, error)

func (*Integer) NullField

func (r *Integer) NullField(i int)

func (Integer) Schema

func (r Integer) Schema() string

func (Integer) SchemaName

func (r Integer) SchemaName() string

func (Integer) Serialize

func (r Integer) Serialize(w io.Writer) error

func (Integer) SetBoolean

func (_ Integer) SetBoolean(v bool)

func (Integer) SetBytes

func (_ Integer) SetBytes(v []byte)

func (*Integer) SetDefault

func (r *Integer) SetDefault(i int)

func (Integer) SetDouble

func (_ Integer) SetDouble(v float64)

func (Integer) SetFloat

func (_ Integer) SetFloat(v float32)

func (Integer) SetInt

func (_ Integer) SetInt(v int32)

func (Integer) SetLong

func (_ Integer) SetLong(v int64)

func (Integer) SetString

func (_ Integer) SetString(v string)

func (Integer) SetUnionElem

func (_ Integer) SetUnionElem(v int64)

func (*Integer) UnmarshalJSON

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

type MapStringWrapper

type MapStringWrapper struct {
	Target *map[string]string
	// contains filtered or unexported fields
}

func (*MapStringWrapper) AppendArray

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

func (*MapStringWrapper) AppendMap

func (r *MapStringWrapper) AppendMap(key string) types.Field

func (*MapStringWrapper) Finalize

func (r *MapStringWrapper) Finalize()

func (*MapStringWrapper) Get

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

func (*MapStringWrapper) HintSize

func (r *MapStringWrapper) HintSize(s int)

func (*MapStringWrapper) NullField

func (r *MapStringWrapper) NullField(_ int)

func (*MapStringWrapper) SetBoolean

func (_ *MapStringWrapper) SetBoolean(v bool)

func (*MapStringWrapper) SetBytes

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

func (*MapStringWrapper) SetDefault

func (_ *MapStringWrapper) SetDefault(i int)

func (*MapStringWrapper) SetDouble

func (_ *MapStringWrapper) SetDouble(v float64)

func (*MapStringWrapper) SetFloat

func (_ *MapStringWrapper) SetFloat(v float32)

func (*MapStringWrapper) SetInt

func (_ *MapStringWrapper) SetInt(v int32)

func (*MapStringWrapper) SetLong

func (_ *MapStringWrapper) SetLong(v int64)

func (*MapStringWrapper) SetString

func (_ *MapStringWrapper) SetString(v string)

func (*MapStringWrapper) SetUnionElem

func (_ *MapStringWrapper) SetUnionElem(v int64)

type Operation

type Operation int32
const (
	OperationINSERT     Operation = 0
	OperationUPDATE     Operation = 1
	OperationDELETE     Operation = 2
	OperationDDL        Operation = 3
	OperationBEGIN      Operation = 4
	OperationCOMMIT     Operation = 5
	OperationROLLBACK   Operation = 6
	OperationABORT      Operation = 7
	OperationHEARTBEAT  Operation = 8
	OperationCHECKPOINT Operation = 9
	OperationCOMMAND    Operation = 10
	OperationFILL       Operation = 11
	OperationFINISH     Operation = 12
	OperationCONTROL    Operation = 13
	OperationRDB        Operation = 14
	OperationNOOP       Operation = 15
	OperationINIT       Operation = 16
)

func NewOperationValue

func NewOperationValue(raw string) (r Operation, err error)

func (Operation) MarshalJSON

func (b Operation) MarshalJSON() ([]byte, error)

func (Operation) String

func (e Operation) String() string

func (*Operation) UnmarshalJSON

func (b *Operation) UnmarshalJSON(data []byte) error

type OperationWrapper

type OperationWrapper struct {
	Target *Operation
}

func (OperationWrapper) AppendArray

func (b OperationWrapper) AppendArray() types.Field

func (OperationWrapper) AppendMap

func (b OperationWrapper) AppendMap(key string) types.Field

func (OperationWrapper) Finalize

func (b OperationWrapper) Finalize()

func (OperationWrapper) Get

func (b OperationWrapper) Get(i int) types.Field

func (OperationWrapper) HintSize

func (b OperationWrapper) HintSize(int)

func (OperationWrapper) NullField

func (b OperationWrapper) NullField(int)

func (OperationWrapper) SetBoolean

func (b OperationWrapper) SetBoolean(v bool)

func (OperationWrapper) SetBytes

func (b OperationWrapper) SetBytes(v []byte)

func (OperationWrapper) SetDefault

func (b OperationWrapper) SetDefault(i int)

func (OperationWrapper) SetDouble

func (b OperationWrapper) SetDouble(v float64)

func (OperationWrapper) SetFloat

func (b OperationWrapper) SetFloat(v float32)

func (OperationWrapper) SetInt

func (b OperationWrapper) SetInt(v int32)

func (OperationWrapper) SetLong

func (b OperationWrapper) SetLong(v int64)

func (OperationWrapper) SetString

func (b OperationWrapper) SetString(v string)

func (OperationWrapper) SetUnionElem

func (b OperationWrapper) SetUnionElem(v int64)

type Record

type Record struct {
	// version infomation
	Version int32 `json:"version"`
	// unique id of this record in the whole stream
	Id int64 `json:"id"`
	// record log timestamp
	SourceTimestamp int64 `json:"sourceTimestamp"`
	// record source location information
	SourcePosition string `json:"sourcePosition"`
	// safe record source location information, use to recovery.
	SafeSourcePosition string `json:"safeSourcePosition"`
	// record transation id
	SourceTxid string `json:"sourceTxid"`
	// source dataource
	Source Source `json:"source"`

	Operation Operation `json:"operation"`

	ObjectName *UnionNullString `json:"objectName"`
	// time when this record is processed along the stream dataflow
	ProcessTimestamps *UnionNullArrayLong `json:"processTimestamps"`
	// tags to identify properties of this record
	Tags map[string]string `json:"tags"`

	Fields *UnionNullStringArrayField `json:"fields"`

	BeforeImages *UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject `json:"beforeImages"`

	AfterImages *UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject `json:"afterImages"`
	// the timestamp in unit of millisecond that record is born in source
	BornTimestamp int64 `json:"bornTimestamp"`
}

func DeserializeRecord

func DeserializeRecord(r io.Reader) (Record, error)

func DeserializeRecordFromSchema

func DeserializeRecordFromSchema(r io.Reader, schema string) (Record, error)

func NewRecord

func NewRecord() Record

func (Record) AppendArray

func (_ Record) AppendArray() types.Field

func (Record) AppendMap

func (_ Record) AppendMap(key string) types.Field

func (Record) AvroCRC64Fingerprint

func (_ Record) AvroCRC64Fingerprint() []byte

func (Record) Finalize

func (_ Record) Finalize()

func (*Record) Get

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

func (Record) HintSize

func (_ Record) HintSize(int)

func (Record) MarshalJSON

func (r Record) MarshalJSON() ([]byte, error)

func (*Record) NullField

func (r *Record) NullField(i int)

func (Record) Schema

func (r Record) Schema() string

func (Record) SchemaName

func (r Record) SchemaName() string

func (Record) Serialize

func (r Record) Serialize(w io.Writer) error

func (Record) SetBoolean

func (_ Record) SetBoolean(v bool)

func (Record) SetBytes

func (_ Record) SetBytes(v []byte)

func (*Record) SetDefault

func (r *Record) SetDefault(i int)

func (Record) SetDouble

func (_ Record) SetDouble(v float64)

func (Record) SetFloat

func (_ Record) SetFloat(v float32)

func (Record) SetInt

func (_ Record) SetInt(v int32)

func (Record) SetLong

func (_ Record) SetLong(v int64)

func (Record) SetString

func (_ Record) SetString(v string)

func (Record) SetUnionElem

func (_ Record) SetUnionElem(v int64)

func (*Record) UnmarshalJSON

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

type Source

type Source struct {
	SourceType SourceType `json:"sourceType"`
	// source datasource version information
	Version string `json:"version"`
}

func DeserializeSource

func DeserializeSource(r io.Reader) (Source, error)

func DeserializeSourceFromSchema

func DeserializeSourceFromSchema(r io.Reader, schema string) (Source, error)

func NewSource

func NewSource() Source

func (Source) AppendArray

func (_ Source) AppendArray() types.Field

func (Source) AppendMap

func (_ Source) AppendMap(key string) types.Field

func (Source) AvroCRC64Fingerprint

func (_ Source) AvroCRC64Fingerprint() []byte

func (Source) Finalize

func (_ Source) Finalize()

func (*Source) Get

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

func (Source) HintSize

func (_ Source) HintSize(int)

func (Source) MarshalJSON

func (r Source) MarshalJSON() ([]byte, error)

func (*Source) NullField

func (r *Source) NullField(i int)

func (Source) Schema

func (r Source) Schema() string

func (Source) SchemaName

func (r Source) SchemaName() string

func (Source) Serialize

func (r Source) Serialize(w io.Writer) error

func (Source) SetBoolean

func (_ Source) SetBoolean(v bool)

func (Source) SetBytes

func (_ Source) SetBytes(v []byte)

func (*Source) SetDefault

func (r *Source) SetDefault(i int)

func (Source) SetDouble

func (_ Source) SetDouble(v float64)

func (Source) SetFloat

func (_ Source) SetFloat(v float32)

func (Source) SetInt

func (_ Source) SetInt(v int32)

func (Source) SetLong

func (_ Source) SetLong(v int64)

func (Source) SetString

func (_ Source) SetString(v string)

func (Source) SetUnionElem

func (_ Source) SetUnionElem(v int64)

func (*Source) UnmarshalJSON

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

type SourceType

type SourceType int32
const (
	SourceTypeMySQL      SourceType = 0
	SourceTypeOracle     SourceType = 1
	SourceTypeSQLServer  SourceType = 2
	SourceTypePostgreSQL SourceType = 3
	SourceTypeMongoDB    SourceType = 4
	SourceTypeRedis      SourceType = 5
	SourceTypeDB2        SourceType = 6
	SourceTypePPAS       SourceType = 7
	SourceTypeDRDS       SourceType = 8
	SourceTypeHBASE      SourceType = 9
	SourceTypeHDFS       SourceType = 10
	SourceTypeFILE       SourceType = 11
	SourceTypeOTHER      SourceType = 12
)

func NewSourceTypeValue

func NewSourceTypeValue(raw string) (r SourceType, err error)

func (SourceType) MarshalJSON

func (b SourceType) MarshalJSON() ([]byte, error)

func (SourceType) String

func (e SourceType) String() string

func (*SourceType) UnmarshalJSON

func (b *SourceType) UnmarshalJSON(data []byte) error

type SourceTypeWrapper

type SourceTypeWrapper struct {
	Target *SourceType
}

func (SourceTypeWrapper) AppendArray

func (b SourceTypeWrapper) AppendArray() types.Field

func (SourceTypeWrapper) AppendMap

func (b SourceTypeWrapper) AppendMap(key string) types.Field

func (SourceTypeWrapper) Finalize

func (b SourceTypeWrapper) Finalize()

func (SourceTypeWrapper) Get

func (b SourceTypeWrapper) Get(i int) types.Field

func (SourceTypeWrapper) HintSize

func (b SourceTypeWrapper) HintSize(int)

func (SourceTypeWrapper) NullField

func (b SourceTypeWrapper) NullField(int)

func (SourceTypeWrapper) SetBoolean

func (b SourceTypeWrapper) SetBoolean(v bool)

func (SourceTypeWrapper) SetBytes

func (b SourceTypeWrapper) SetBytes(v []byte)

func (SourceTypeWrapper) SetDefault

func (b SourceTypeWrapper) SetDefault(i int)

func (SourceTypeWrapper) SetDouble

func (b SourceTypeWrapper) SetDouble(v float64)

func (SourceTypeWrapper) SetFloat

func (b SourceTypeWrapper) SetFloat(v float32)

func (SourceTypeWrapper) SetInt

func (b SourceTypeWrapper) SetInt(v int32)

func (SourceTypeWrapper) SetLong

func (b SourceTypeWrapper) SetLong(v int64)

func (SourceTypeWrapper) SetString

func (b SourceTypeWrapper) SetString(v string)

func (SourceTypeWrapper) SetUnionElem

func (b SourceTypeWrapper) SetUnionElem(v int64)

type TextGeometry

type TextGeometry struct {
	Type string `json:"type"`

	Value string `json:"value"`
}

func DeserializeTextGeometry

func DeserializeTextGeometry(r io.Reader) (TextGeometry, error)

func DeserializeTextGeometryFromSchema

func DeserializeTextGeometryFromSchema(r io.Reader, schema string) (TextGeometry, error)

func NewTextGeometry

func NewTextGeometry() TextGeometry

func (TextGeometry) AppendArray

func (_ TextGeometry) AppendArray() types.Field

func (TextGeometry) AppendMap

func (_ TextGeometry) AppendMap(key string) types.Field

func (TextGeometry) AvroCRC64Fingerprint

func (_ TextGeometry) AvroCRC64Fingerprint() []byte

func (TextGeometry) Finalize

func (_ TextGeometry) Finalize()

func (*TextGeometry) Get

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

func (TextGeometry) HintSize

func (_ TextGeometry) HintSize(int)

func (TextGeometry) MarshalJSON

func (r TextGeometry) MarshalJSON() ([]byte, error)

func (*TextGeometry) NullField

func (r *TextGeometry) NullField(i int)

func (TextGeometry) Schema

func (r TextGeometry) Schema() string

func (TextGeometry) SchemaName

func (r TextGeometry) SchemaName() string

func (TextGeometry) Serialize

func (r TextGeometry) Serialize(w io.Writer) error

func (TextGeometry) SetBoolean

func (_ TextGeometry) SetBoolean(v bool)

func (TextGeometry) SetBytes

func (_ TextGeometry) SetBytes(v []byte)

func (*TextGeometry) SetDefault

func (r *TextGeometry) SetDefault(i int)

func (TextGeometry) SetDouble

func (_ TextGeometry) SetDouble(v float64)

func (TextGeometry) SetFloat

func (_ TextGeometry) SetFloat(v float32)

func (TextGeometry) SetInt

func (_ TextGeometry) SetInt(v int32)

func (TextGeometry) SetLong

func (_ TextGeometry) SetLong(v int64)

func (TextGeometry) SetString

func (_ TextGeometry) SetString(v string)

func (TextGeometry) SetUnionElem

func (_ TextGeometry) SetUnionElem(v int64)

func (*TextGeometry) UnmarshalJSON

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

type TextObject

type TextObject struct {
	Type string `json:"type"`

	Value string `json:"value"`
}

func DeserializeTextObject

func DeserializeTextObject(r io.Reader) (TextObject, error)

func DeserializeTextObjectFromSchema

func DeserializeTextObjectFromSchema(r io.Reader, schema string) (TextObject, error)

func NewTextObject

func NewTextObject() TextObject

func (TextObject) AppendArray

func (_ TextObject) AppendArray() types.Field

func (TextObject) AppendMap

func (_ TextObject) AppendMap(key string) types.Field

func (TextObject) AvroCRC64Fingerprint

func (_ TextObject) AvroCRC64Fingerprint() []byte

func (TextObject) Finalize

func (_ TextObject) Finalize()

func (*TextObject) Get

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

func (TextObject) HintSize

func (_ TextObject) HintSize(int)

func (TextObject) MarshalJSON

func (r TextObject) MarshalJSON() ([]byte, error)

func (*TextObject) NullField

func (r *TextObject) NullField(i int)

func (TextObject) Schema

func (r TextObject) Schema() string

func (TextObject) SchemaName

func (r TextObject) SchemaName() string

func (TextObject) Serialize

func (r TextObject) Serialize(w io.Writer) error

func (TextObject) SetBoolean

func (_ TextObject) SetBoolean(v bool)

func (TextObject) SetBytes

func (_ TextObject) SetBytes(v []byte)

func (*TextObject) SetDefault

func (r *TextObject) SetDefault(i int)

func (TextObject) SetDouble

func (_ TextObject) SetDouble(v float64)

func (TextObject) SetFloat

func (_ TextObject) SetFloat(v float32)

func (TextObject) SetInt

func (_ TextObject) SetInt(v int32)

func (TextObject) SetLong

func (_ TextObject) SetLong(v int64)

func (TextObject) SetString

func (_ TextObject) SetString(v string)

func (TextObject) SetUnionElem

func (_ TextObject) SetUnionElem(v int64)

func (*TextObject) UnmarshalJSON

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

type Timestamp

type Timestamp struct {
	Timestamp int64 `json:"timestamp"`

	Millis int32 `json:"millis"`
}

func DeserializeTimestamp

func DeserializeTimestamp(r io.Reader) (Timestamp, error)

func DeserializeTimestampFromSchema

func DeserializeTimestampFromSchema(r io.Reader, schema string) (Timestamp, error)

func NewTimestamp

func NewTimestamp() Timestamp

func (Timestamp) AppendArray

func (_ Timestamp) AppendArray() types.Field

func (Timestamp) AppendMap

func (_ Timestamp) AppendMap(key string) types.Field

func (Timestamp) AvroCRC64Fingerprint

func (_ Timestamp) AvroCRC64Fingerprint() []byte

func (Timestamp) Finalize

func (_ Timestamp) Finalize()

func (*Timestamp) Get

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

func (Timestamp) HintSize

func (_ Timestamp) HintSize(int)

func (Timestamp) MarshalJSON

func (r Timestamp) MarshalJSON() ([]byte, error)

func (*Timestamp) NullField

func (r *Timestamp) NullField(i int)

func (Timestamp) Schema

func (r Timestamp) Schema() string

func (Timestamp) SchemaName

func (r Timestamp) SchemaName() string

func (Timestamp) Serialize

func (r Timestamp) Serialize(w io.Writer) error

func (Timestamp) SetBoolean

func (_ Timestamp) SetBoolean(v bool)

func (Timestamp) SetBytes

func (_ Timestamp) SetBytes(v []byte)

func (*Timestamp) SetDefault

func (r *Timestamp) SetDefault(i int)

func (Timestamp) SetDouble

func (_ Timestamp) SetDouble(v float64)

func (Timestamp) SetFloat

func (_ Timestamp) SetFloat(v float32)

func (Timestamp) SetInt

func (_ Timestamp) SetInt(v int32)

func (Timestamp) SetLong

func (_ Timestamp) SetLong(v int64)

func (Timestamp) SetString

func (_ Timestamp) SetString(v string)

func (Timestamp) SetUnionElem

func (_ Timestamp) SetUnionElem(v int64)

func (*Timestamp) UnmarshalJSON

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

type TimestampWithTimeZone

type TimestampWithTimeZone struct {
	Value DateTime `json:"value"`

	Timezone string `json:"timezone"`
}

func DeserializeTimestampWithTimeZone

func DeserializeTimestampWithTimeZone(r io.Reader) (TimestampWithTimeZone, error)

func DeserializeTimestampWithTimeZoneFromSchema

func DeserializeTimestampWithTimeZoneFromSchema(r io.Reader, schema string) (TimestampWithTimeZone, error)

func NewTimestampWithTimeZone

func NewTimestampWithTimeZone() TimestampWithTimeZone

func (TimestampWithTimeZone) AppendArray

func (_ TimestampWithTimeZone) AppendArray() types.Field

func (TimestampWithTimeZone) AppendMap

func (_ TimestampWithTimeZone) AppendMap(key string) types.Field

func (TimestampWithTimeZone) AvroCRC64Fingerprint

func (_ TimestampWithTimeZone) AvroCRC64Fingerprint() []byte

func (TimestampWithTimeZone) Finalize

func (_ TimestampWithTimeZone) Finalize()

func (*TimestampWithTimeZone) Get

func (TimestampWithTimeZone) HintSize

func (_ TimestampWithTimeZone) HintSize(int)

func (TimestampWithTimeZone) MarshalJSON

func (r TimestampWithTimeZone) MarshalJSON() ([]byte, error)

func (*TimestampWithTimeZone) NullField

func (r *TimestampWithTimeZone) NullField(i int)

func (TimestampWithTimeZone) Schema

func (r TimestampWithTimeZone) Schema() string

func (TimestampWithTimeZone) SchemaName

func (r TimestampWithTimeZone) SchemaName() string

func (TimestampWithTimeZone) Serialize

func (r TimestampWithTimeZone) Serialize(w io.Writer) error

func (TimestampWithTimeZone) SetBoolean

func (_ TimestampWithTimeZone) SetBoolean(v bool)

func (TimestampWithTimeZone) SetBytes

func (_ TimestampWithTimeZone) SetBytes(v []byte)

func (*TimestampWithTimeZone) SetDefault

func (r *TimestampWithTimeZone) SetDefault(i int)

func (TimestampWithTimeZone) SetDouble

func (_ TimestampWithTimeZone) SetDouble(v float64)

func (TimestampWithTimeZone) SetFloat

func (_ TimestampWithTimeZone) SetFloat(v float32)

func (TimestampWithTimeZone) SetInt

func (_ TimestampWithTimeZone) SetInt(v int32)

func (TimestampWithTimeZone) SetLong

func (_ TimestampWithTimeZone) SetLong(v int64)

func (TimestampWithTimeZone) SetString

func (_ TimestampWithTimeZone) SetString(v string)

func (TimestampWithTimeZone) SetUnionElem

func (_ TimestampWithTimeZone) SetUnionElem(v int64)

func (*TimestampWithTimeZone) UnmarshalJSON

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

type UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord

type UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord struct {
	Field                 Field
	Integer               Integer
	Character             Character
	Float                 Float
	Decimal               Decimal
	Timestamp             Timestamp
	DateTime              DateTime
	TimestampWithTimeZone TimestampWithTimeZone
	BinaryGeometry        BinaryGeometry
	TextGeometry          TextGeometry
	BinaryObject          BinaryObject
	TextObject            TextObject
	EmptyObject           EmptyObject
	Record                Record
	UnionType             UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum
}

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) AppendArray

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) AppendMap

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) Finalize

func (*UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) Get

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) HintSize

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) MarshalJSON

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) NullField

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) Schema

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) Serialize

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetBoolean

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetBytes

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetDefault

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetDouble

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetFloat

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetInt

func (*UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetLong

func (UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) SetString

func (*UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecord) UnmarshalJSON

type UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum

type UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum int
const (
	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumField UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 0

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumInteger UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 1

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumCharacter UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 2

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumFloat UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 3

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumDecimal UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 4

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumTimestamp UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 5

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumDateTime UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 6

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumTimestampWithTimeZone UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 7

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumBinaryGeometry UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 8

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumTextGeometry UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 9

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumBinaryObject UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 10

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumTextObject UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 11

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumEmptyObject UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 12

	UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnumRecord UnionFieldIntegerCharacterFloatDecimalTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectRecordTypeEnum = 13
)

type UnionNullArrayLong

type UnionNullArrayLong struct {
	Null      *types.NullVal
	ArrayLong []int64
	UnionType UnionNullArrayLongTypeEnum
}

func DeserializeUnionNullArrayLong

func DeserializeUnionNullArrayLong(r io.Reader) (*UnionNullArrayLong, error)

func DeserializeUnionNullArrayLongFromSchema

func DeserializeUnionNullArrayLongFromSchema(r io.Reader, schema string) (*UnionNullArrayLong, error)

func NewUnionNullArrayLong

func NewUnionNullArrayLong() *UnionNullArrayLong

func (*UnionNullArrayLong) AppendArray

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

func (*UnionNullArrayLong) AppendMap

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

func (*UnionNullArrayLong) Finalize

func (_ *UnionNullArrayLong) Finalize()

func (*UnionNullArrayLong) Get

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

func (*UnionNullArrayLong) HintSize

func (_ *UnionNullArrayLong) HintSize(i int)

func (*UnionNullArrayLong) MarshalJSON

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

func (*UnionNullArrayLong) NullField

func (_ *UnionNullArrayLong) NullField(i int)

func (*UnionNullArrayLong) Schema

func (r *UnionNullArrayLong) Schema() string

func (*UnionNullArrayLong) Serialize

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

func (*UnionNullArrayLong) SetBoolean

func (_ *UnionNullArrayLong) SetBoolean(v bool)

func (*UnionNullArrayLong) SetBytes

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

func (*UnionNullArrayLong) SetDefault

func (_ *UnionNullArrayLong) SetDefault(i int)

func (*UnionNullArrayLong) SetDouble

func (_ *UnionNullArrayLong) SetDouble(v float64)

func (*UnionNullArrayLong) SetFloat

func (_ *UnionNullArrayLong) SetFloat(v float32)

func (*UnionNullArrayLong) SetInt

func (_ *UnionNullArrayLong) SetInt(v int32)

func (*UnionNullArrayLong) SetLong

func (r *UnionNullArrayLong) SetLong(v int64)

func (*UnionNullArrayLong) SetString

func (_ *UnionNullArrayLong) SetString(v string)

func (*UnionNullArrayLong) UnmarshalJSON

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

type UnionNullArrayLongTypeEnum

type UnionNullArrayLongTypeEnum int
const (
	UnionNullArrayLongTypeEnumArrayLong UnionNullArrayLongTypeEnum = 1
)

type UnionNullInt

type UnionNullInt struct {
	Null      *types.NullVal
	Int       int32
	UnionType UnionNullIntTypeEnum
}

func DeserializeUnionNullInt

func DeserializeUnionNullInt(r io.Reader) (*UnionNullInt, error)

func DeserializeUnionNullIntFromSchema

func DeserializeUnionNullIntFromSchema(r io.Reader, schema string) (*UnionNullInt, error)

func NewUnionNullInt

func NewUnionNullInt() *UnionNullInt

func (*UnionNullInt) AppendArray

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

func (*UnionNullInt) AppendMap

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

func (*UnionNullInt) Finalize

func (_ *UnionNullInt) Finalize()

func (*UnionNullInt) Get

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

func (*UnionNullInt) HintSize

func (_ *UnionNullInt) HintSize(i int)

func (*UnionNullInt) MarshalJSON

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

func (*UnionNullInt) NullField

func (_ *UnionNullInt) NullField(i int)

func (*UnionNullInt) Schema

func (r *UnionNullInt) Schema() string

func (*UnionNullInt) Serialize

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

func (*UnionNullInt) SetBoolean

func (_ *UnionNullInt) SetBoolean(v bool)

func (*UnionNullInt) SetBytes

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

func (*UnionNullInt) SetDefault

func (_ *UnionNullInt) SetDefault(i int)

func (*UnionNullInt) SetDouble

func (_ *UnionNullInt) SetDouble(v float64)

func (*UnionNullInt) SetFloat

func (_ *UnionNullInt) SetFloat(v float32)

func (*UnionNullInt) SetInt

func (_ *UnionNullInt) SetInt(v int32)

func (*UnionNullInt) SetLong

func (r *UnionNullInt) SetLong(v int64)

func (*UnionNullInt) SetString

func (_ *UnionNullInt) SetString(v string)

func (*UnionNullInt) UnmarshalJSON

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

type UnionNullIntTypeEnum

type UnionNullIntTypeEnum int
const (
	UnionNullIntTypeEnumInt UnionNullIntTypeEnum = 1
)

type UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject

type UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject struct {
	Null                  *types.NullVal
	Integer               Integer
	Character             Character
	Decimal               Decimal
	Float                 Float
	Timestamp             Timestamp
	DateTime              DateTime
	TimestampWithTimeZone TimestampWithTimeZone
	BinaryGeometry        BinaryGeometry
	TextGeometry          TextGeometry
	BinaryObject          BinaryObject
	TextObject            TextObject
	EmptyObject           EmptyObject
	UnionType             UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum
}

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) AppendArray

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) AppendMap

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Finalize

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Get

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) HintSize

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) MarshalJSON

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) NullField

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Schema

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Serialize

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetBoolean

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetBytes

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetDefault

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetDouble

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetFloat

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetInt

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetLong

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetString

func (*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) UnmarshalJSON

type UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum

type UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum int
const (
	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumInteger UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 1

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumCharacter UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 2

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumDecimal UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 3

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumFloat UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 4

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumTimestamp UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 5

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumDateTime UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 6

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumTimestampWithTimeZone UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 7

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumBinaryGeometry UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 8

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumTextGeometry UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 9

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumBinaryObject UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 10

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumTextObject UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 11

	UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumEmptyObject UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 12
)

type UnionNullString

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

func DeserializeUnionNullString

func DeserializeUnionNullString(r io.Reader) (*UnionNullString, error)

func DeserializeUnionNullStringFromSchema

func DeserializeUnionNullStringFromSchema(r io.Reader, schema string) (*UnionNullString, error)

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) HintSize

func (_ *UnionNullString) HintSize(i int)

func (*UnionNullString) MarshalJSON

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

func (*UnionNullString) NullField

func (_ *UnionNullString) NullField(i int)

func (*UnionNullString) Schema

func (r *UnionNullString) Schema() string

func (*UnionNullString) Serialize

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

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 UnionNullStringArrayField

type UnionNullStringArrayField struct {
	Null       *types.NullVal
	String     string
	ArrayField []Field
	UnionType  UnionNullStringArrayFieldTypeEnum
}

func DeserializeUnionNullStringArrayField

func DeserializeUnionNullStringArrayField(r io.Reader) (*UnionNullStringArrayField, error)

func DeserializeUnionNullStringArrayFieldFromSchema

func DeserializeUnionNullStringArrayFieldFromSchema(r io.Reader, schema string) (*UnionNullStringArrayField, error)

func NewUnionNullStringArrayField

func NewUnionNullStringArrayField() *UnionNullStringArrayField

func (*UnionNullStringArrayField) AppendArray

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

func (*UnionNullStringArrayField) AppendMap

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

func (*UnionNullStringArrayField) Finalize

func (_ *UnionNullStringArrayField) Finalize()

func (*UnionNullStringArrayField) Get

func (*UnionNullStringArrayField) HintSize

func (_ *UnionNullStringArrayField) HintSize(i int)

func (*UnionNullStringArrayField) MarshalJSON

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

func (*UnionNullStringArrayField) NullField

func (_ *UnionNullStringArrayField) NullField(i int)

func (*UnionNullStringArrayField) Schema

func (r *UnionNullStringArrayField) Schema() string

func (*UnionNullStringArrayField) Serialize

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

func (*UnionNullStringArrayField) SetBoolean

func (_ *UnionNullStringArrayField) SetBoolean(v bool)

func (*UnionNullStringArrayField) SetBytes

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

func (*UnionNullStringArrayField) SetDefault

func (_ *UnionNullStringArrayField) SetDefault(i int)

func (*UnionNullStringArrayField) SetDouble

func (_ *UnionNullStringArrayField) SetDouble(v float64)

func (*UnionNullStringArrayField) SetFloat

func (_ *UnionNullStringArrayField) SetFloat(v float32)

func (*UnionNullStringArrayField) SetInt

func (_ *UnionNullStringArrayField) SetInt(v int32)

func (*UnionNullStringArrayField) SetLong

func (r *UnionNullStringArrayField) SetLong(v int64)

func (*UnionNullStringArrayField) SetString

func (_ *UnionNullStringArrayField) SetString(v string)

func (*UnionNullStringArrayField) UnmarshalJSON

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

type UnionNullStringArrayFieldTypeEnum

type UnionNullStringArrayFieldTypeEnum int
const (
	UnionNullStringArrayFieldTypeEnumString UnionNullStringArrayFieldTypeEnum = 1

	UnionNullStringArrayFieldTypeEnumArrayField UnionNullStringArrayFieldTypeEnum = 2
)

type UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject

type UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject struct {
	Null                                                                                                                                        *types.NullVal
	String                                                                                                                                      string
	ArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject []*UnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject
	UnionType                                                                                                                                   UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum
}

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) AppendArray

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) AppendMap

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Finalize

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Get

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) HintSize

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) MarshalJSON

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) NullField

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Schema

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) Serialize

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetBoolean

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetBytes

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetDefault

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetDouble

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetFloat

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetInt

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetLong

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) SetString

func (*UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject) UnmarshalJSON

type UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum

type UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum int
const (
	UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumString UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 1

	UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnumArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObject UnionNullStringArrayUnionNullIntegerCharacterDecimalFloatTimestampDateTimeTimestampWithTimeZoneBinaryGeometryTextGeometryBinaryObjectTextObjectEmptyObjectTypeEnum = 2
)

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