Documentation ¶
Overview ¶
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- schema.avsc
Index ¶
- Constants
- func NewMapTestRecordWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type ArrayMapTestRecordWrapper
- func (r ArrayMapTestRecordWrapper) AppendArray() types.Field
- func (_ ArrayMapTestRecordWrapper) AppendMap(key string) types.Field
- func (_ ArrayMapTestRecordWrapper) Finalize()
- func (_ ArrayMapTestRecordWrapper) Get(i int) types.Field
- func (r ArrayMapTestRecordWrapper) HintSize(s int)
- func (r ArrayMapTestRecordWrapper) NullField(i int)
- func (_ ArrayMapTestRecordWrapper) SetBoolean(v bool)
- func (_ ArrayMapTestRecordWrapper) SetBytes(v []byte)
- func (_ ArrayMapTestRecordWrapper) SetDefault(i int)
- func (_ ArrayMapTestRecordWrapper) SetDouble(v float64)
- func (_ ArrayMapTestRecordWrapper) SetFloat(v float32)
- func (_ ArrayMapTestRecordWrapper) SetInt(v int32)
- func (_ ArrayMapTestRecordWrapper) SetLong(v int64)
- func (_ ArrayMapTestRecordWrapper) SetString(v string)
- func (_ ArrayMapTestRecordWrapper) SetUnionElem(v int64)
- type MapArrayMapTestRecordWrapper
- func (_ *MapArrayMapTestRecordWrapper) AppendArray() types.Field
- func (r *MapArrayMapTestRecordWrapper) AppendMap(key string) types.Field
- func (r *MapArrayMapTestRecordWrapper) Finalize()
- func (_ *MapArrayMapTestRecordWrapper) Get(i int) types.Field
- func (r *MapArrayMapTestRecordWrapper) HintSize(s int)
- func (r *MapArrayMapTestRecordWrapper) NullField(_ int)
- func (_ *MapArrayMapTestRecordWrapper) SetBoolean(v bool)
- func (_ *MapArrayMapTestRecordWrapper) SetBytes(v []byte)
- func (_ *MapArrayMapTestRecordWrapper) SetDefault(i int)
- func (_ *MapArrayMapTestRecordWrapper) SetDouble(v float64)
- func (_ *MapArrayMapTestRecordWrapper) SetFloat(v float32)
- func (_ *MapArrayMapTestRecordWrapper) SetInt(v int32)
- func (_ *MapArrayMapTestRecordWrapper) SetLong(v int64)
- func (_ *MapArrayMapTestRecordWrapper) SetString(v string)
- func (_ *MapArrayMapTestRecordWrapper) SetUnionElem(v int64)
- type MapTestRecord
- func (_ MapTestRecord) AppendArray() types.Field
- func (_ MapTestRecord) AppendMap(key string) types.Field
- func (_ MapTestRecord) AvroCRC64Fingerprint() []byte
- func (_ MapTestRecord) Finalize()
- func (r *MapTestRecord) Get(i int) types.Field
- func (_ MapTestRecord) HintSize(int)
- func (r MapTestRecord) MarshalJSON() ([]byte, error)
- func (r *MapTestRecord) NullField(i int)
- func (r MapTestRecord) Schema() string
- func (r MapTestRecord) SchemaName() string
- func (r MapTestRecord) Serialize(w io.Writer) error
- func (_ MapTestRecord) SetBoolean(v bool)
- func (_ MapTestRecord) SetBytes(v []byte)
- func (r *MapTestRecord) SetDefault(i int)
- func (_ MapTestRecord) SetDouble(v float64)
- func (_ MapTestRecord) SetFloat(v float32)
- func (_ MapTestRecord) SetInt(v int32)
- func (_ MapTestRecord) SetLong(v int64)
- func (_ MapTestRecord) SetString(v string)
- func (_ MapTestRecord) SetUnionElem(v int64)
- func (r *MapTestRecord) UnmarshalJSON(data []byte) error
- type MapTestRecordReader
Constants ¶
View Source
const MapTestRecordAvroCRC64Fingerprint = "\xda\x03h\x1a\xd2,\xe4\x9f"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArrayMapTestRecordWrapper ¶
type ArrayMapTestRecordWrapper struct {
Target *[]MapTestRecord
}
func (ArrayMapTestRecordWrapper) AppendArray ¶
func (r ArrayMapTestRecordWrapper) AppendArray() types.Field
func (ArrayMapTestRecordWrapper) AppendMap ¶
func (_ ArrayMapTestRecordWrapper) AppendMap(key string) types.Field
func (ArrayMapTestRecordWrapper) Finalize ¶
func (_ ArrayMapTestRecordWrapper) Finalize()
func (ArrayMapTestRecordWrapper) HintSize ¶
func (r ArrayMapTestRecordWrapper) HintSize(s int)
func (ArrayMapTestRecordWrapper) NullField ¶
func (r ArrayMapTestRecordWrapper) NullField(i int)
func (ArrayMapTestRecordWrapper) SetBoolean ¶
func (_ ArrayMapTestRecordWrapper) SetBoolean(v bool)
func (ArrayMapTestRecordWrapper) SetBytes ¶
func (_ ArrayMapTestRecordWrapper) SetBytes(v []byte)
func (ArrayMapTestRecordWrapper) SetDefault ¶
func (_ ArrayMapTestRecordWrapper) SetDefault(i int)
func (ArrayMapTestRecordWrapper) SetDouble ¶
func (_ ArrayMapTestRecordWrapper) SetDouble(v float64)
func (ArrayMapTestRecordWrapper) SetFloat ¶
func (_ ArrayMapTestRecordWrapper) SetFloat(v float32)
func (ArrayMapTestRecordWrapper) SetInt ¶
func (_ ArrayMapTestRecordWrapper) SetInt(v int32)
func (ArrayMapTestRecordWrapper) SetLong ¶
func (_ ArrayMapTestRecordWrapper) SetLong(v int64)
func (ArrayMapTestRecordWrapper) SetString ¶
func (_ ArrayMapTestRecordWrapper) SetString(v string)
func (ArrayMapTestRecordWrapper) SetUnionElem ¶
func (_ ArrayMapTestRecordWrapper) SetUnionElem(v int64)
type MapArrayMapTestRecordWrapper ¶
type MapArrayMapTestRecordWrapper struct { Target *map[string][]MapTestRecord // contains filtered or unexported fields }
func (*MapArrayMapTestRecordWrapper) AppendArray ¶
func (_ *MapArrayMapTestRecordWrapper) AppendArray() types.Field
func (*MapArrayMapTestRecordWrapper) AppendMap ¶
func (r *MapArrayMapTestRecordWrapper) AppendMap(key string) types.Field
func (*MapArrayMapTestRecordWrapper) Finalize ¶
func (r *MapArrayMapTestRecordWrapper) Finalize()
func (*MapArrayMapTestRecordWrapper) Get ¶
func (_ *MapArrayMapTestRecordWrapper) Get(i int) types.Field
func (*MapArrayMapTestRecordWrapper) HintSize ¶
func (r *MapArrayMapTestRecordWrapper) HintSize(s int)
func (*MapArrayMapTestRecordWrapper) NullField ¶
func (r *MapArrayMapTestRecordWrapper) NullField(_ int)
func (*MapArrayMapTestRecordWrapper) SetBoolean ¶
func (_ *MapArrayMapTestRecordWrapper) SetBoolean(v bool)
func (*MapArrayMapTestRecordWrapper) SetBytes ¶
func (_ *MapArrayMapTestRecordWrapper) SetBytes(v []byte)
func (*MapArrayMapTestRecordWrapper) SetDefault ¶
func (_ *MapArrayMapTestRecordWrapper) SetDefault(i int)
func (*MapArrayMapTestRecordWrapper) SetDouble ¶
func (_ *MapArrayMapTestRecordWrapper) SetDouble(v float64)
func (*MapArrayMapTestRecordWrapper) SetFloat ¶
func (_ *MapArrayMapTestRecordWrapper) SetFloat(v float32)
func (*MapArrayMapTestRecordWrapper) SetInt ¶
func (_ *MapArrayMapTestRecordWrapper) SetInt(v int32)
func (*MapArrayMapTestRecordWrapper) SetLong ¶
func (_ *MapArrayMapTestRecordWrapper) SetLong(v int64)
func (*MapArrayMapTestRecordWrapper) SetString ¶
func (_ *MapArrayMapTestRecordWrapper) SetString(v string)
func (*MapArrayMapTestRecordWrapper) SetUnionElem ¶
func (_ *MapArrayMapTestRecordWrapper) SetUnionElem(v int64)
type MapTestRecord ¶
type MapTestRecord struct { Text string `json:"text"` RecursiveField map[string][]MapTestRecord `json:"RecursiveField"` }
func DeserializeMapTestRecord ¶
func DeserializeMapTestRecord(r io.Reader) (MapTestRecord, error)
func DeserializeMapTestRecordFromSchema ¶
func DeserializeMapTestRecordFromSchema(r io.Reader, schema string) (MapTestRecord, error)
func NewMapTestRecord ¶
func NewMapTestRecord() MapTestRecord
func (MapTestRecord) AppendArray ¶
func (_ MapTestRecord) AppendArray() types.Field
func (MapTestRecord) AvroCRC64Fingerprint ¶
func (_ MapTestRecord) AvroCRC64Fingerprint() []byte
func (MapTestRecord) Finalize ¶
func (_ MapTestRecord) Finalize()
func (MapTestRecord) HintSize ¶
func (_ MapTestRecord) HintSize(int)
func (MapTestRecord) MarshalJSON ¶
func (r MapTestRecord) MarshalJSON() ([]byte, error)
func (*MapTestRecord) NullField ¶
func (r *MapTestRecord) NullField(i int)
func (MapTestRecord) Schema ¶
func (r MapTestRecord) Schema() string
func (MapTestRecord) SchemaName ¶
func (r MapTestRecord) SchemaName() string
func (MapTestRecord) SetBoolean ¶
func (_ MapTestRecord) SetBoolean(v bool)
func (MapTestRecord) SetBytes ¶
func (_ MapTestRecord) SetBytes(v []byte)
func (*MapTestRecord) SetDefault ¶
func (r *MapTestRecord) SetDefault(i int)
func (MapTestRecord) SetDouble ¶
func (_ MapTestRecord) SetDouble(v float64)
func (MapTestRecord) SetFloat ¶
func (_ MapTestRecord) SetFloat(v float32)
func (MapTestRecord) SetInt ¶
func (_ MapTestRecord) SetInt(v int32)
func (MapTestRecord) SetLong ¶
func (_ MapTestRecord) SetLong(v int64)
func (MapTestRecord) SetString ¶
func (_ MapTestRecord) SetString(v string)
func (MapTestRecord) SetUnionElem ¶
func (_ MapTestRecord) SetUnionElem(v int64)
func (*MapTestRecord) UnmarshalJSON ¶
func (r *MapTestRecord) UnmarshalJSON(data []byte) error
type MapTestRecordReader ¶
type MapTestRecordReader struct {
// contains filtered or unexported fields
}
container reader
func NewMapTestRecordReader ¶
func NewMapTestRecordReader(r io.Reader) (*MapTestRecordReader, error)
func (MapTestRecordReader) Read ¶
func (r MapTestRecordReader) Read() (MapTestRecord, error)
Click to show internal directories.
Click to hide internal directories.