Documentation ¶
Overview ¶
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Index ¶
- Constants
- func NewChildWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- func NewParentWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- 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 (r ArrayChildWrapper) HintSize(s int)
- func (r ArrayChildWrapper) NullField(i int)
- 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 (_ Child) HintSize(int)
- func (r Child) MarshalJSON() ([]byte, error)
- func (r *Child) NullField(i int)
- 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)
- func (r *Child) UnmarshalJSON(data []byte) error
- type ChildReader
- 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 (_ Parent) HintSize(int)
- func (r Parent) MarshalJSON() ([]byte, error)
- func (r *Parent) NullField(i int)
- 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)
- func (r *Parent) UnmarshalJSON(data []byte) error
- type ParentReader
Constants ¶
View Source
const ChildAvroCRC64Fingerprint = "\xad$C\xb1bU\xc0\x12"
View Source
const ParentAvroCRC64Fingerprint = "p\x9fn\xf8\x11i\x98\x9b"
Variables ¶
This section is empty.
Functions ¶
func NewChildWriter ¶
Types ¶
type ArrayChildWrapper ¶
type ArrayChildWrapper struct {
Target *[]Child
}
func (ArrayChildWrapper) AppendArray ¶
func (r ArrayChildWrapper) AppendArray() types.Field
func (ArrayChildWrapper) Finalize ¶
func (_ ArrayChildWrapper) Finalize()
func (ArrayChildWrapper) HintSize ¶
func (r ArrayChildWrapper) HintSize(s int)
func (ArrayChildWrapper) NullField ¶
func (r ArrayChildWrapper) NullField(i int)
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 `json:"name"`
}
func (Child) AppendArray ¶
func (Child) AvroCRC64Fingerprint ¶
func (Child) MarshalJSON ¶
func (Child) SchemaName ¶
func (Child) SetBoolean ¶
func (*Child) SetDefault ¶
func (Child) SetUnionElem ¶
func (*Child) UnmarshalJSON ¶
type ChildReader ¶
type ChildReader struct {
// contains filtered or unexported fields
}
container reader
func NewChildReader ¶
func NewChildReader(r io.Reader) (*ChildReader, error)
func (ChildReader) Read ¶
func (r ChildReader) Read() (Child, error)
type Parent ¶
type Parent struct {
Children []Child `json:"Children"`
}
func (Parent) AppendArray ¶
func (Parent) AvroCRC64Fingerprint ¶
func (Parent) MarshalJSON ¶
func (Parent) SchemaName ¶
func (Parent) SetBoolean ¶
func (*Parent) SetDefault ¶
func (Parent) SetUnionElem ¶
func (*Parent) UnmarshalJSON ¶
type ParentReader ¶
type ParentReader struct {
// contains filtered or unexported fields
}
container reader
func NewParentReader ¶
func NewParentReader(r io.Reader) (*ParentReader, error)
func (ParentReader) Read ¶
func (r ParentReader) Read() (Parent, error)
Click to show internal directories.
Click to hide internal directories.