Documentation ¶
Overview ¶
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Index ¶
- Constants
- func NewUnionRecWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- func NewUnionRecordWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type UnionNullString
- func (_ *UnionNullString) AppendArray() types.Field
- func (_ *UnionNullString) AppendMap(key string) types.Field
- func (_ *UnionNullString) Finalize()
- func (r *UnionNullString) Get(i int) types.Field
- func (_ *UnionNullString) HintSize(i int)
- func (r *UnionNullString) MarshalJSON() ([]byte, error)
- func (_ *UnionNullString) NullField(i int)
- func (r *UnionNullString) Schema() string
- func (r *UnionNullString) Serialize(w io.Writer) error
- func (_ *UnionNullString) SetBoolean(v bool)
- func (_ *UnionNullString) SetBytes(v []byte)
- func (_ *UnionNullString) SetDefault(i int)
- func (_ *UnionNullString) SetDouble(v float64)
- func (_ *UnionNullString) SetFloat(v float32)
- func (_ *UnionNullString) SetInt(v int32)
- func (r *UnionNullString) SetLong(v int64)
- func (_ *UnionNullString) SetString(v string)
- func (r *UnionNullString) UnmarshalJSON(data []byte) error
- type UnionNullStringTypeEnum
- type UnionRec
- func (_ UnionRec) AppendArray() types.Field
- func (_ UnionRec) AppendMap(key string) types.Field
- func (_ UnionRec) AvroCRC64Fingerprint() []byte
- func (_ UnionRec) Finalize()
- func (r *UnionRec) Get(i int) types.Field
- func (_ UnionRec) HintSize(int)
- func (r UnionRec) MarshalJSON() ([]byte, error)
- func (r *UnionRec) NullField(i int)
- func (r UnionRec) Schema() string
- func (r UnionRec) SchemaName() string
- func (r UnionRec) Serialize(w io.Writer) error
- func (_ UnionRec) SetBoolean(v bool)
- func (_ UnionRec) SetBytes(v []byte)
- func (r *UnionRec) SetDefault(i int)
- func (_ UnionRec) SetDouble(v float64)
- func (_ UnionRec) SetFloat(v float32)
- func (_ UnionRec) SetInt(v int32)
- func (_ UnionRec) SetLong(v int64)
- func (_ UnionRec) SetString(v string)
- func (_ UnionRec) SetUnionElem(v int64)
- func (r *UnionRec) UnmarshalJSON(data []byte) error
- type UnionRecReader
- type UnionRecord
- func (_ UnionRecord) AppendArray() types.Field
- func (_ UnionRecord) AppendMap(key string) types.Field
- func (_ UnionRecord) AvroCRC64Fingerprint() []byte
- func (_ UnionRecord) Finalize()
- func (r *UnionRecord) Get(i int) types.Field
- func (_ UnionRecord) HintSize(int)
- func (r UnionRecord) MarshalJSON() ([]byte, error)
- func (r *UnionRecord) NullField(i int)
- func (r UnionRecord) Schema() string
- func (r UnionRecord) SchemaName() string
- func (r UnionRecord) Serialize(w io.Writer) error
- func (_ UnionRecord) SetBoolean(v bool)
- func (_ UnionRecord) SetBytes(v []byte)
- func (r *UnionRecord) SetDefault(i int)
- func (_ UnionRecord) SetDouble(v float64)
- func (_ UnionRecord) SetFloat(v float32)
- func (_ UnionRecord) SetInt(v int32)
- func (_ UnionRecord) SetLong(v int64)
- func (_ UnionRecord) SetString(v string)
- func (_ UnionRecord) SetUnionElem(v int64)
- func (r *UnionRecord) UnmarshalJSON(data []byte) error
- type UnionRecordReader
- type UnionStringInt
- func (_ UnionStringInt) AppendArray() types.Field
- func (_ UnionStringInt) AppendMap(key string) types.Field
- func (_ UnionStringInt) Finalize()
- func (r *UnionStringInt) Get(i int) types.Field
- func (_ UnionStringInt) HintSize(i int)
- func (r UnionStringInt) MarshalJSON() ([]byte, error)
- func (_ UnionStringInt) NullField(i int)
- func (r UnionStringInt) Schema() string
- func (r UnionStringInt) Serialize(w io.Writer) error
- func (_ UnionStringInt) SetBoolean(v bool)
- func (_ UnionStringInt) SetBytes(v []byte)
- func (_ UnionStringInt) SetDefault(i int)
- func (_ UnionStringInt) SetDouble(v float64)
- func (_ UnionStringInt) SetFloat(v float32)
- func (_ UnionStringInt) SetInt(v int32)
- func (r *UnionStringInt) SetLong(v int64)
- func (_ UnionStringInt) SetString(v string)
- func (r *UnionStringInt) UnmarshalJSON(data []byte) error
- type UnionStringIntTypeEnum
- type UnionUnionRecString
- func (_ UnionUnionRecString) AppendArray() types.Field
- func (_ UnionUnionRecString) AppendMap(key string) types.Field
- func (_ UnionUnionRecString) Finalize()
- func (r *UnionUnionRecString) Get(i int) types.Field
- func (_ UnionUnionRecString) HintSize(i int)
- func (r UnionUnionRecString) MarshalJSON() ([]byte, error)
- func (_ UnionUnionRecString) NullField(i int)
- func (r UnionUnionRecString) Schema() string
- func (r UnionUnionRecString) Serialize(w io.Writer) error
- func (_ UnionUnionRecString) SetBoolean(v bool)
- func (_ UnionUnionRecString) SetBytes(v []byte)
- func (_ UnionUnionRecString) SetDefault(i int)
- func (_ UnionUnionRecString) SetDouble(v float64)
- func (_ UnionUnionRecString) SetFloat(v float32)
- func (_ UnionUnionRecString) SetInt(v int32)
- func (r *UnionUnionRecString) SetLong(v int64)
- func (_ UnionUnionRecString) SetString(v string)
- func (r *UnionUnionRecString) UnmarshalJSON(data []byte) error
- type UnionUnionRecStringTypeEnum
Constants ¶
View Source
const UnionRecAvroCRC64Fingerprint = "1\xf9\xae\xb7W\x80#\xf9"
View Source
const UnionRecordAvroCRC64Fingerprint = "q\x867|8\xab\u070f"
Variables ¶
This section is empty.
Functions ¶
func NewUnionRecWriter ¶
Types ¶
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) Finalize ¶
func (_ *UnionNullString) Finalize()
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) 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
)
type UnionRec ¶
type UnionRec struct {
A int32 `json:"a"`
}
func NewUnionRec ¶
func NewUnionRec() UnionRec
func (UnionRec) AppendArray ¶
func (UnionRec) AvroCRC64Fingerprint ¶
func (UnionRec) MarshalJSON ¶
func (UnionRec) SchemaName ¶
func (UnionRec) SetBoolean ¶
func (*UnionRec) SetDefault ¶
func (UnionRec) SetUnionElem ¶
func (*UnionRec) UnmarshalJSON ¶
type UnionRecReader ¶
type UnionRecReader struct {
// contains filtered or unexported fields
}
container reader
func NewUnionRecReader ¶
func NewUnionRecReader(r io.Reader) (*UnionRecReader, error)
func (UnionRecReader) Read ¶
func (r UnionRecReader) Read() (UnionRec, error)
type UnionRecord ¶
type UnionRecord struct { Id string `json:"id"` UnionNull *UnionNullString `json:"unionNull"` UnionString UnionStringInt `json:"unionString"` UnionRecord UnionUnionRecString `json:"unionRecord"` }
func DeserializeUnionRecord ¶
func DeserializeUnionRecord(r io.Reader) (UnionRecord, error)
func DeserializeUnionRecordFromSchema ¶
func DeserializeUnionRecordFromSchema(r io.Reader, schema string) (UnionRecord, error)
func NewUnionRecord ¶
func NewUnionRecord() UnionRecord
func (UnionRecord) AppendArray ¶
func (_ UnionRecord) AppendArray() types.Field
func (UnionRecord) AvroCRC64Fingerprint ¶
func (_ UnionRecord) AvroCRC64Fingerprint() []byte
func (UnionRecord) Finalize ¶
func (_ UnionRecord) Finalize()
func (UnionRecord) HintSize ¶
func (_ UnionRecord) HintSize(int)
func (UnionRecord) MarshalJSON ¶
func (r UnionRecord) MarshalJSON() ([]byte, error)
func (*UnionRecord) NullField ¶
func (r *UnionRecord) NullField(i int)
func (UnionRecord) Schema ¶
func (r UnionRecord) Schema() string
func (UnionRecord) SchemaName ¶
func (r UnionRecord) SchemaName() string
func (UnionRecord) SetBoolean ¶
func (_ UnionRecord) SetBoolean(v bool)
func (UnionRecord) SetBytes ¶
func (_ UnionRecord) SetBytes(v []byte)
func (*UnionRecord) SetDefault ¶
func (r *UnionRecord) SetDefault(i int)
func (UnionRecord) SetDouble ¶
func (_ UnionRecord) SetDouble(v float64)
func (UnionRecord) SetFloat ¶
func (_ UnionRecord) SetFloat(v float32)
func (UnionRecord) SetInt ¶
func (_ UnionRecord) SetInt(v int32)
func (UnionRecord) SetLong ¶
func (_ UnionRecord) SetLong(v int64)
func (UnionRecord) SetString ¶
func (_ UnionRecord) SetString(v string)
func (UnionRecord) SetUnionElem ¶
func (_ UnionRecord) SetUnionElem(v int64)
func (*UnionRecord) UnmarshalJSON ¶
func (r *UnionRecord) UnmarshalJSON(data []byte) error
type UnionRecordReader ¶
type UnionRecordReader struct {
// contains filtered or unexported fields
}
container reader
func NewUnionRecordReader ¶
func NewUnionRecordReader(r io.Reader) (*UnionRecordReader, error)
func (UnionRecordReader) Read ¶
func (r UnionRecordReader) Read() (UnionRecord, error)
type UnionStringInt ¶
type UnionStringInt struct { String string Int int32 UnionType UnionStringIntTypeEnum }
func DeserializeUnionStringInt ¶
func DeserializeUnionStringInt(r io.Reader) (UnionStringInt, error)
func DeserializeUnionStringIntFromSchema ¶
func DeserializeUnionStringIntFromSchema(r io.Reader, schema string) (UnionStringInt, error)
func NewUnionStringInt ¶
func NewUnionStringInt() UnionStringInt
func (UnionStringInt) AppendArray ¶
func (_ UnionStringInt) AppendArray() types.Field
func (UnionStringInt) Finalize ¶
func (_ UnionStringInt) Finalize()
func (UnionStringInt) HintSize ¶
func (_ UnionStringInt) HintSize(i int)
func (UnionStringInt) MarshalJSON ¶
func (r UnionStringInt) MarshalJSON() ([]byte, error)
func (UnionStringInt) NullField ¶
func (_ UnionStringInt) NullField(i int)
func (UnionStringInt) Schema ¶
func (r UnionStringInt) Schema() string
func (UnionStringInt) SetBoolean ¶
func (_ UnionStringInt) SetBoolean(v bool)
func (UnionStringInt) SetBytes ¶
func (_ UnionStringInt) SetBytes(v []byte)
func (UnionStringInt) SetDefault ¶
func (_ UnionStringInt) SetDefault(i int)
func (UnionStringInt) SetDouble ¶
func (_ UnionStringInt) SetDouble(v float64)
func (UnionStringInt) SetFloat ¶
func (_ UnionStringInt) SetFloat(v float32)
func (UnionStringInt) SetInt ¶
func (_ UnionStringInt) SetInt(v int32)
func (*UnionStringInt) SetLong ¶
func (r *UnionStringInt) SetLong(v int64)
func (UnionStringInt) SetString ¶
func (_ UnionStringInt) SetString(v string)
func (*UnionStringInt) UnmarshalJSON ¶
func (r *UnionStringInt) UnmarshalJSON(data []byte) error
type UnionStringIntTypeEnum ¶
type UnionStringIntTypeEnum int
const ( UnionStringIntTypeEnumString UnionStringIntTypeEnum = 0 UnionStringIntTypeEnumInt UnionStringIntTypeEnum = 1 )
type UnionUnionRecString ¶
type UnionUnionRecString struct { UnionRec UnionRec String string UnionType UnionUnionRecStringTypeEnum }
func DeserializeUnionUnionRecString ¶
func DeserializeUnionUnionRecString(r io.Reader) (UnionUnionRecString, error)
func DeserializeUnionUnionRecStringFromSchema ¶
func DeserializeUnionUnionRecStringFromSchema(r io.Reader, schema string) (UnionUnionRecString, error)
func NewUnionUnionRecString ¶
func NewUnionUnionRecString() UnionUnionRecString
func (UnionUnionRecString) AppendArray ¶
func (_ UnionUnionRecString) AppendArray() types.Field
func (UnionUnionRecString) AppendMap ¶
func (_ UnionUnionRecString) AppendMap(key string) types.Field
func (UnionUnionRecString) Finalize ¶
func (_ UnionUnionRecString) Finalize()
func (UnionUnionRecString) HintSize ¶
func (_ UnionUnionRecString) HintSize(i int)
func (UnionUnionRecString) MarshalJSON ¶
func (r UnionUnionRecString) MarshalJSON() ([]byte, error)
func (UnionUnionRecString) NullField ¶
func (_ UnionUnionRecString) NullField(i int)
func (UnionUnionRecString) Schema ¶
func (r UnionUnionRecString) Schema() string
func (UnionUnionRecString) SetBoolean ¶
func (_ UnionUnionRecString) SetBoolean(v bool)
func (UnionUnionRecString) SetBytes ¶
func (_ UnionUnionRecString) SetBytes(v []byte)
func (UnionUnionRecString) SetDefault ¶
func (_ UnionUnionRecString) SetDefault(i int)
func (UnionUnionRecString) SetDouble ¶
func (_ UnionUnionRecString) SetDouble(v float64)
func (UnionUnionRecString) SetFloat ¶
func (_ UnionUnionRecString) SetFloat(v float32)
func (UnionUnionRecString) SetInt ¶
func (_ UnionUnionRecString) SetInt(v int32)
func (*UnionUnionRecString) SetLong ¶
func (r *UnionUnionRecString) SetLong(v int64)
func (UnionUnionRecString) SetString ¶
func (_ UnionUnionRecString) SetString(v string)
func (*UnionUnionRecString) UnmarshalJSON ¶
func (r *UnionUnionRecString) UnmarshalJSON(data []byte) error
type UnionUnionRecStringTypeEnum ¶
type UnionUnionRecStringTypeEnum int
const ( UnionUnionRecStringTypeEnumUnionRec UnionUnionRecStringTypeEnum = 0 UnionUnionRecStringTypeEnumString UnionUnionRecStringTypeEnum = 1 )
Click to show internal directories.
Click to hide internal directories.