Documentation ¶
Overview ¶
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCES:
- child.avsc
- parent.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCES:
- child.avsc
- parent.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCES:
- child.avsc
- parent.avsc
Index ¶
- Constants
- type ArrayChildWrapper
- func (r *ArrayChildWrapper) AppendArray() types.Field
- func (_ *ArrayChildWrapper) AppendMap(key string) types.Field
- func (_ *ArrayChildWrapper) Finalize()
- func (_ *ArrayChildWrapper) Get(i int) types.Field
- func (_ *ArrayChildWrapper) SetBoolean(v bool)
- func (_ *ArrayChildWrapper) SetBytes(v []byte)
- func (_ *ArrayChildWrapper) SetDefault(i int)
- func (_ *ArrayChildWrapper) SetDouble(v float64)
- func (_ *ArrayChildWrapper) SetFloat(v float32)
- func (_ *ArrayChildWrapper) SetInt(v int32)
- func (_ *ArrayChildWrapper) SetLong(v int64)
- func (_ *ArrayChildWrapper) SetString(v string)
- func (_ *ArrayChildWrapper) SetUnionElem(v int64)
- type Child
- func (_ *Child) AppendArray() types.Field
- func (_ *Child) AppendMap(key string) types.Field
- func (_ *Child) AvroCRC64Fingerprint() []byte
- func (_ *Child) Finalize()
- func (r *Child) Get(i int) types.Field
- func (r *Child) Schema() string
- func (r *Child) SchemaName() string
- func (r *Child) Serialize(w io.Writer) error
- func (_ *Child) SetBoolean(v bool)
- func (_ *Child) SetBytes(v []byte)
- func (r *Child) SetDefault(i int)
- func (_ *Child) SetDouble(v float64)
- func (_ *Child) SetFloat(v float32)
- func (_ *Child) SetInt(v int32)
- func (_ *Child) SetLong(v int64)
- func (_ *Child) SetString(v string)
- func (_ *Child) SetUnionElem(v int64)
- type Parent
- func (_ *Parent) AppendArray() types.Field
- func (_ *Parent) AppendMap(key string) types.Field
- func (_ *Parent) AvroCRC64Fingerprint() []byte
- func (_ *Parent) Finalize()
- func (r *Parent) Get(i int) types.Field
- func (r *Parent) Schema() string
- func (r *Parent) SchemaName() string
- func (r *Parent) Serialize(w io.Writer) error
- func (_ *Parent) SetBoolean(v bool)
- func (_ *Parent) SetBytes(v []byte)
- func (r *Parent) SetDefault(i int)
- func (_ *Parent) SetDouble(v float64)
- func (_ *Parent) SetFloat(v float32)
- func (_ *Parent) SetInt(v int32)
- func (_ *Parent) SetLong(v int64)
- func (_ *Parent) SetString(v string)
- func (_ *Parent) SetUnionElem(v int64)
Constants ¶
View Source
const ChildAvroCRC64Fingerprint = "\x9c\xc0\xb2WF֤\xff"
View Source
const ParentAvroCRC64Fingerprint = "T\x88\xc0l-\xc3?\xca"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayChildWrapper ¶
type ArrayChildWrapper []*Child
func (*ArrayChildWrapper) AppendArray ¶
func (r *ArrayChildWrapper) AppendArray() types.Field
func (*ArrayChildWrapper) Finalize ¶
func (_ *ArrayChildWrapper) Finalize()
func (*ArrayChildWrapper) SetBoolean ¶
func (_ *ArrayChildWrapper) SetBoolean(v bool)
func (*ArrayChildWrapper) SetBytes ¶
func (_ *ArrayChildWrapper) SetBytes(v []byte)
func (*ArrayChildWrapper) SetDefault ¶
func (_ *ArrayChildWrapper) SetDefault(i int)
func (*ArrayChildWrapper) SetDouble ¶
func (_ *ArrayChildWrapper) SetDouble(v float64)
func (*ArrayChildWrapper) SetFloat ¶
func (_ *ArrayChildWrapper) SetFloat(v float32)
func (*ArrayChildWrapper) SetInt ¶
func (_ *ArrayChildWrapper) SetInt(v int32)
func (*ArrayChildWrapper) SetLong ¶
func (_ *ArrayChildWrapper) SetLong(v int64)
func (*ArrayChildWrapper) SetString ¶
func (_ *ArrayChildWrapper) SetString(v string)
func (*ArrayChildWrapper) SetUnionElem ¶
func (_ *ArrayChildWrapper) SetUnionElem(v int64)
type Child ¶
type Child struct {
Name string
}
func (*Child) AppendArray ¶
func (*Child) AvroCRC64Fingerprint ¶ added in v6.5.0
func (*Child) SchemaName ¶
func (*Child) SetBoolean ¶
func (*Child) SetDefault ¶
func (*Child) SetUnionElem ¶
type Parent ¶
type Parent struct {
Children []*Child
}
func (*Parent) AppendArray ¶
func (*Parent) AvroCRC64Fingerprint ¶ added in v6.5.0
func (*Parent) SchemaName ¶
func (*Parent) SetBoolean ¶
func (*Parent) SetDefault ¶
func (*Parent) SetUnionElem ¶
Click to show internal directories.
Click to hide internal directories.