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
Index ¶
- type PrimitiveUnionTestRecord
- func (_ *PrimitiveUnionTestRecord) AppendArray() types.Field
- func (_ *PrimitiveUnionTestRecord) AppendMap(key string) types.Field
- func (_ *PrimitiveUnionTestRecord) Finalize()
- func (r *PrimitiveUnionTestRecord) Get(i int) types.Field
- func (r *PrimitiveUnionTestRecord) Schema() string
- func (r *PrimitiveUnionTestRecord) SchemaName() string
- func (r *PrimitiveUnionTestRecord) Serialize(w io.Writer) error
- func (_ *PrimitiveUnionTestRecord) SetBoolean(v bool)
- func (_ *PrimitiveUnionTestRecord) SetBytes(v []byte)
- func (r *PrimitiveUnionTestRecord) SetDefault(i int)
- func (_ *PrimitiveUnionTestRecord) SetDouble(v float64)
- func (_ *PrimitiveUnionTestRecord) SetFloat(v float32)
- func (_ *PrimitiveUnionTestRecord) SetInt(v int32)
- func (_ *PrimitiveUnionTestRecord) SetLong(v int64)
- func (_ *PrimitiveUnionTestRecord) SetString(v string)
- func (_ *PrimitiveUnionTestRecord) SetUnionElem(v int64)
- type UnionIntLongFloatDoubleStringBoolNull
- func (_ *UnionIntLongFloatDoubleStringBoolNull) AppendArray() types.Field
- func (_ *UnionIntLongFloatDoubleStringBoolNull) AppendMap(key string) types.Field
- func (_ *UnionIntLongFloatDoubleStringBoolNull) Finalize()
- func (r *UnionIntLongFloatDoubleStringBoolNull) Get(i int) types.Field
- func (_ *UnionIntLongFloatDoubleStringBoolNull) SetBoolean(v bool)
- func (_ *UnionIntLongFloatDoubleStringBoolNull) SetBytes(v []byte)
- func (_ *UnionIntLongFloatDoubleStringBoolNull) SetDefault(i int)
- func (_ *UnionIntLongFloatDoubleStringBoolNull) SetDouble(v float64)
- func (_ *UnionIntLongFloatDoubleStringBoolNull) SetFloat(v float32)
- func (_ *UnionIntLongFloatDoubleStringBoolNull) SetInt(v int32)
- func (r *UnionIntLongFloatDoubleStringBoolNull) SetLong(v int64)
- func (_ *UnionIntLongFloatDoubleStringBoolNull) SetString(v string)
- type UnionIntLongFloatDoubleStringBoolNullTypeEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrimitiveUnionTestRecord ¶
type PrimitiveUnionTestRecord struct {
UnionField *UnionIntLongFloatDoubleStringBoolNull
}
func DeserializePrimitiveUnionTestRecord ¶
func DeserializePrimitiveUnionTestRecord(r io.Reader) (*PrimitiveUnionTestRecord, error)
func DeserializePrimitiveUnionTestRecordFromSchema ¶
func DeserializePrimitiveUnionTestRecordFromSchema(r io.Reader, schema string) (*PrimitiveUnionTestRecord, error)
func NewPrimitiveUnionTestRecord ¶
func NewPrimitiveUnionTestRecord() *PrimitiveUnionTestRecord
func (*PrimitiveUnionTestRecord) AppendArray ¶
func (_ *PrimitiveUnionTestRecord) AppendArray() types.Field
func (*PrimitiveUnionTestRecord) AppendMap ¶
func (_ *PrimitiveUnionTestRecord) AppendMap(key string) types.Field
func (*PrimitiveUnionTestRecord) Finalize ¶
func (_ *PrimitiveUnionTestRecord) Finalize()
func (*PrimitiveUnionTestRecord) Schema ¶
func (r *PrimitiveUnionTestRecord) Schema() string
func (*PrimitiveUnionTestRecord) SchemaName ¶
func (r *PrimitiveUnionTestRecord) SchemaName() string
func (*PrimitiveUnionTestRecord) Serialize ¶
func (r *PrimitiveUnionTestRecord) Serialize(w io.Writer) error
func (*PrimitiveUnionTestRecord) SetBoolean ¶
func (_ *PrimitiveUnionTestRecord) SetBoolean(v bool)
func (*PrimitiveUnionTestRecord) SetBytes ¶
func (_ *PrimitiveUnionTestRecord) SetBytes(v []byte)
func (*PrimitiveUnionTestRecord) SetDefault ¶
func (r *PrimitiveUnionTestRecord) SetDefault(i int)
func (*PrimitiveUnionTestRecord) SetDouble ¶
func (_ *PrimitiveUnionTestRecord) SetDouble(v float64)
func (*PrimitiveUnionTestRecord) SetFloat ¶
func (_ *PrimitiveUnionTestRecord) SetFloat(v float32)
func (*PrimitiveUnionTestRecord) SetInt ¶
func (_ *PrimitiveUnionTestRecord) SetInt(v int32)
func (*PrimitiveUnionTestRecord) SetLong ¶
func (_ *PrimitiveUnionTestRecord) SetLong(v int64)
func (*PrimitiveUnionTestRecord) SetString ¶
func (_ *PrimitiveUnionTestRecord) SetString(v string)
func (*PrimitiveUnionTestRecord) SetUnionElem ¶
func (_ *PrimitiveUnionTestRecord) SetUnionElem(v int64)
type UnionIntLongFloatDoubleStringBoolNull ¶
type UnionIntLongFloatDoubleStringBoolNull struct { Int int32 Long int64 Float float32 Double float64 String string Bool bool Null *types.NullVal UnionType UnionIntLongFloatDoubleStringBoolNullTypeEnum }
func NewUnionIntLongFloatDoubleStringBoolNull ¶
func NewUnionIntLongFloatDoubleStringBoolNull() *UnionIntLongFloatDoubleStringBoolNull
func (*UnionIntLongFloatDoubleStringBoolNull) AppendArray ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) AppendArray() types.Field
func (*UnionIntLongFloatDoubleStringBoolNull) AppendMap ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) AppendMap(key string) types.Field
func (*UnionIntLongFloatDoubleStringBoolNull) Finalize ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) Finalize()
func (*UnionIntLongFloatDoubleStringBoolNull) Get ¶
func (r *UnionIntLongFloatDoubleStringBoolNull) Get(i int) types.Field
func (*UnionIntLongFloatDoubleStringBoolNull) SetBoolean ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) SetBoolean(v bool)
func (*UnionIntLongFloatDoubleStringBoolNull) SetBytes ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) SetBytes(v []byte)
func (*UnionIntLongFloatDoubleStringBoolNull) SetDefault ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) SetDefault(i int)
func (*UnionIntLongFloatDoubleStringBoolNull) SetDouble ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) SetDouble(v float64)
func (*UnionIntLongFloatDoubleStringBoolNull) SetFloat ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) SetFloat(v float32)
func (*UnionIntLongFloatDoubleStringBoolNull) SetInt ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) SetInt(v int32)
func (*UnionIntLongFloatDoubleStringBoolNull) SetLong ¶
func (r *UnionIntLongFloatDoubleStringBoolNull) SetLong(v int64)
func (*UnionIntLongFloatDoubleStringBoolNull) SetString ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) SetString(v string)
type UnionIntLongFloatDoubleStringBoolNullTypeEnum ¶
type UnionIntLongFloatDoubleStringBoolNullTypeEnum int
const ( UnionIntLongFloatDoubleStringBoolNullTypeEnumInt UnionIntLongFloatDoubleStringBoolNullTypeEnum = 0 UnionIntLongFloatDoubleStringBoolNullTypeEnumLong UnionIntLongFloatDoubleStringBoolNullTypeEnum = 1 UnionIntLongFloatDoubleStringBoolNullTypeEnumFloat UnionIntLongFloatDoubleStringBoolNullTypeEnum = 2 UnionIntLongFloatDoubleStringBoolNullTypeEnumDouble UnionIntLongFloatDoubleStringBoolNullTypeEnum = 3 UnionIntLongFloatDoubleStringBoolNullTypeEnumString UnionIntLongFloatDoubleStringBoolNullTypeEnum = 4 UnionIntLongFloatDoubleStringBoolNullTypeEnumBool UnionIntLongFloatDoubleStringBoolNullTypeEnum = 5 UnionIntLongFloatDoubleStringBoolNullTypeEnumNull UnionIntLongFloatDoubleStringBoolNullTypeEnum = 6 )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.