Documentation ¶
Overview ¶
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- union.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- union.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- union.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- union.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- union.avsc
Index ¶
- type ArrayInt
- func (r *ArrayInt) AppendArray() types.Field
- func (_ *ArrayInt) AppendMap(key string) types.Field
- func (_ *ArrayInt) Clear(i int)
- func (_ *ArrayInt) Finalize()
- func (_ *ArrayInt) Get(i int) types.Field
- func (_ *ArrayInt) SetBoolean(v bool)
- func (_ *ArrayInt) SetBytes(v []byte)
- func (_ *ArrayInt) SetDefault(i int)
- func (_ *ArrayInt) SetDouble(v float64)
- func (_ *ArrayInt) SetFloat(v float32)
- func (_ *ArrayInt) SetInt(v int32)
- func (_ *ArrayInt) SetLong(v int64)
- func (_ *ArrayInt) SetString(v string)
- func (_ *ArrayInt) SetUnionElem(v int64)
- type ComplexUnionTestRecord
- func (_ *ComplexUnionTestRecord) AppendArray() types.Field
- func (_ *ComplexUnionTestRecord) AppendMap(key string) types.Field
- func (r *ComplexUnionTestRecord) Clear(i int)
- func (_ *ComplexUnionTestRecord) Finalize()
- func (r *ComplexUnionTestRecord) Get(i int) types.Field
- func (r ComplexUnionTestRecord) Schema() string
- func (r ComplexUnionTestRecord) SchemaName() string
- func (r ComplexUnionTestRecord) Serialize(w io.Writer) error
- func (_ *ComplexUnionTestRecord) SetBoolean(v bool)
- func (_ *ComplexUnionTestRecord) SetBytes(v []byte)
- func (r *ComplexUnionTestRecord) SetDefault(i int)
- func (_ *ComplexUnionTestRecord) SetDouble(v float64)
- func (_ *ComplexUnionTestRecord) SetFloat(v float32)
- func (_ *ComplexUnionTestRecord) SetInt(v int32)
- func (_ *ComplexUnionTestRecord) SetLong(v int64)
- func (_ *ComplexUnionTestRecord) SetString(v string)
- func (_ *ComplexUnionTestRecord) SetUnionElem(v int64)
- type MapInt
- func (_ *MapInt) AppendArray() types.Field
- func (r *MapInt) AppendMap(key string) types.Field
- func (r *MapInt) Clear(i int)
- func (r *MapInt) Finalize()
- func (_ *MapInt) Get(i int) types.Field
- func (_ *MapInt) SetBoolean(v bool)
- func (_ *MapInt) SetBytes(v []byte)
- func (_ *MapInt) SetDefault(i int)
- func (_ *MapInt) SetDouble(v float64)
- func (_ *MapInt) SetFloat(v float32)
- func (_ *MapInt) SetInt(v int32)
- func (_ *MapInt) SetLong(v int64)
- func (_ *MapInt) SetString(v string)
- func (_ *MapInt) SetUnionElem(v int64)
- type NestedUnionRecord
- func (_ *NestedUnionRecord) AppendArray() types.Field
- func (_ *NestedUnionRecord) AppendMap(key string) types.Field
- func (r *NestedUnionRecord) Clear(i int)
- func (_ *NestedUnionRecord) Finalize()
- func (r *NestedUnionRecord) Get(i int) types.Field
- func (r NestedUnionRecord) Schema() string
- func (r NestedUnionRecord) SchemaName() string
- func (r NestedUnionRecord) Serialize(w io.Writer) error
- func (_ *NestedUnionRecord) SetBoolean(v bool)
- func (_ *NestedUnionRecord) SetBytes(v []byte)
- func (r *NestedUnionRecord) SetDefault(i int)
- func (_ *NestedUnionRecord) SetDouble(v float64)
- func (_ *NestedUnionRecord) SetFloat(v float32)
- func (_ *NestedUnionRecord) SetInt(v int32)
- func (_ *NestedUnionRecord) SetLong(v int64)
- func (_ *NestedUnionRecord) SetString(v string)
- func (_ *NestedUnionRecord) SetUnionElem(v int64)
- type UnionNullArrayIntMapIntNestedUnionRecord
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) AppendArray() types.Field
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) AppendMap(key string) types.Field
- func (r *UnionNullArrayIntMapIntNestedUnionRecord) Clear(i int)
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) Finalize()
- func (r *UnionNullArrayIntMapIntNestedUnionRecord) Get(i int) types.Field
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetBoolean(v bool)
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetBytes(v []byte)
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetDefault(i int)
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetDouble(v float64)
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetFloat(v float32)
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetInt(v int32)
- func (r *UnionNullArrayIntMapIntNestedUnionRecord) SetLong(v int64)
- func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetString(v string)
- type UnionNullArrayIntMapIntNestedUnionRecordTypeEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayInt ¶
type ArrayInt []int32
func (*ArrayInt) AppendArray ¶
func (*ArrayInt) SetBoolean ¶
func (*ArrayInt) SetDefault ¶
func (*ArrayInt) SetUnionElem ¶
type ComplexUnionTestRecord ¶
type ComplexUnionTestRecord struct {
UnionField *UnionNullArrayIntMapIntNestedUnionRecord
}
func DeserializeComplexUnionTestRecord ¶
func DeserializeComplexUnionTestRecord(r io.Reader) (t ComplexUnionTestRecord, err error)
func DeserializeComplexUnionTestRecordFromSchema ¶
func DeserializeComplexUnionTestRecordFromSchema(r io.Reader, schema string) (t ComplexUnionTestRecord, err error)
func (*ComplexUnionTestRecord) AppendArray ¶
func (_ *ComplexUnionTestRecord) AppendArray() types.Field
func (*ComplexUnionTestRecord) AppendMap ¶
func (_ *ComplexUnionTestRecord) AppendMap(key string) types.Field
func (*ComplexUnionTestRecord) Clear ¶
func (r *ComplexUnionTestRecord) Clear(i int)
func (*ComplexUnionTestRecord) Finalize ¶
func (_ *ComplexUnionTestRecord) Finalize()
func (ComplexUnionTestRecord) Schema ¶
func (r ComplexUnionTestRecord) Schema() string
func (ComplexUnionTestRecord) SchemaName ¶
func (r ComplexUnionTestRecord) SchemaName() string
func (ComplexUnionTestRecord) Serialize ¶
func (r ComplexUnionTestRecord) Serialize(w io.Writer) error
func (*ComplexUnionTestRecord) SetBoolean ¶
func (_ *ComplexUnionTestRecord) SetBoolean(v bool)
func (*ComplexUnionTestRecord) SetBytes ¶
func (_ *ComplexUnionTestRecord) SetBytes(v []byte)
func (*ComplexUnionTestRecord) SetDefault ¶
func (r *ComplexUnionTestRecord) SetDefault(i int)
func (*ComplexUnionTestRecord) SetDouble ¶
func (_ *ComplexUnionTestRecord) SetDouble(v float64)
func (*ComplexUnionTestRecord) SetFloat ¶
func (_ *ComplexUnionTestRecord) SetFloat(v float32)
func (*ComplexUnionTestRecord) SetInt ¶
func (_ *ComplexUnionTestRecord) SetInt(v int32)
func (*ComplexUnionTestRecord) SetLong ¶
func (_ *ComplexUnionTestRecord) SetLong(v int64)
func (*ComplexUnionTestRecord) SetString ¶
func (_ *ComplexUnionTestRecord) SetString(v string)
func (*ComplexUnionTestRecord) SetUnionElem ¶
func (_ *ComplexUnionTestRecord) SetUnionElem(v int64)
type MapInt ¶
func (*MapInt) AppendArray ¶
func (*MapInt) SetBoolean ¶
func (*MapInt) SetDefault ¶
func (*MapInt) SetUnionElem ¶
type NestedUnionRecord ¶
type NestedUnionRecord struct {
IntField int32
}
func DeserializeNestedUnionRecord ¶
func DeserializeNestedUnionRecord(r io.Reader) (t NestedUnionRecord, err error)
func DeserializeNestedUnionRecordFromSchema ¶
func DeserializeNestedUnionRecordFromSchema(r io.Reader, schema string) (t NestedUnionRecord, err error)
func (*NestedUnionRecord) AppendArray ¶
func (_ *NestedUnionRecord) AppendArray() types.Field
func (*NestedUnionRecord) Clear ¶
func (r *NestedUnionRecord) Clear(i int)
func (*NestedUnionRecord) Finalize ¶
func (_ *NestedUnionRecord) Finalize()
func (NestedUnionRecord) Schema ¶
func (r NestedUnionRecord) Schema() string
func (NestedUnionRecord) SchemaName ¶
func (r NestedUnionRecord) SchemaName() string
func (*NestedUnionRecord) SetBoolean ¶
func (_ *NestedUnionRecord) SetBoolean(v bool)
func (*NestedUnionRecord) SetBytes ¶
func (_ *NestedUnionRecord) SetBytes(v []byte)
func (*NestedUnionRecord) SetDefault ¶
func (r *NestedUnionRecord) SetDefault(i int)
func (*NestedUnionRecord) SetDouble ¶
func (_ *NestedUnionRecord) SetDouble(v float64)
func (*NestedUnionRecord) SetFloat ¶
func (_ *NestedUnionRecord) SetFloat(v float32)
func (*NestedUnionRecord) SetInt ¶
func (_ *NestedUnionRecord) SetInt(v int32)
func (*NestedUnionRecord) SetLong ¶
func (_ *NestedUnionRecord) SetLong(v int64)
func (*NestedUnionRecord) SetString ¶
func (_ *NestedUnionRecord) SetString(v string)
func (*NestedUnionRecord) SetUnionElem ¶
func (_ *NestedUnionRecord) SetUnionElem(v int64)
type UnionNullArrayIntMapIntNestedUnionRecord ¶
type UnionNullArrayIntMapIntNestedUnionRecord struct { ArrayInt []int32 MapInt MapInt NestedUnionRecord NestedUnionRecord UnionType UnionNullArrayIntMapIntNestedUnionRecordTypeEnum }
func (*UnionNullArrayIntMapIntNestedUnionRecord) AppendArray ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) AppendArray() types.Field
func (*UnionNullArrayIntMapIntNestedUnionRecord) AppendMap ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) AppendMap(key string) types.Field
func (*UnionNullArrayIntMapIntNestedUnionRecord) Clear ¶
func (r *UnionNullArrayIntMapIntNestedUnionRecord) Clear(i int)
func (*UnionNullArrayIntMapIntNestedUnionRecord) Finalize ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) Finalize()
func (*UnionNullArrayIntMapIntNestedUnionRecord) Get ¶
func (r *UnionNullArrayIntMapIntNestedUnionRecord) Get(i int) types.Field
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetBoolean ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetBoolean(v bool)
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetBytes ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetBytes(v []byte)
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetDefault ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetDefault(i int)
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetDouble ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetDouble(v float64)
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetFloat ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetFloat(v float32)
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetInt ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetInt(v int32)
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetLong ¶
func (r *UnionNullArrayIntMapIntNestedUnionRecord) SetLong(v int64)
func (*UnionNullArrayIntMapIntNestedUnionRecord) SetString ¶
func (_ *UnionNullArrayIntMapIntNestedUnionRecord) SetString(v string)
type UnionNullArrayIntMapIntNestedUnionRecordTypeEnum ¶
type UnionNullArrayIntMapIntNestedUnionRecordTypeEnum int
const ( UnionNullArrayIntMapIntNestedUnionRecordTypeEnumArrayInt UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 1 UnionNullArrayIntMapIntNestedUnionRecordTypeEnumMapInt UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 2 UnionNullArrayIntMapIntNestedUnionRecordTypeEnumNestedUnionRecord UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 3 )
Click to show internal directories.
Click to hide internal directories.