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
Index ¶
- Constants
- func NewFixedTestRecordWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type FixedTestRecord
- func (_ FixedTestRecord) AppendArray() types.Field
- func (_ FixedTestRecord) AppendMap(key string) types.Field
- func (_ FixedTestRecord) AvroCRC64Fingerprint() []byte
- func (_ FixedTestRecord) Finalize()
- func (r *FixedTestRecord) Get(i int) types.Field
- func (_ FixedTestRecord) HintSize(int)
- func (r FixedTestRecord) MarshalJSON() ([]byte, error)
- func (r *FixedTestRecord) NullField(i int)
- func (r FixedTestRecord) Schema() string
- func (r FixedTestRecord) SchemaName() string
- func (r FixedTestRecord) Serialize(w io.Writer) error
- func (_ FixedTestRecord) SetBoolean(v bool)
- func (_ FixedTestRecord) SetBytes(v []byte)
- func (r *FixedTestRecord) SetDefault(i int)
- func (_ FixedTestRecord) SetDouble(v float64)
- func (_ FixedTestRecord) SetFloat(v float32)
- func (_ FixedTestRecord) SetInt(v int32)
- func (_ FixedTestRecord) SetLong(v int64)
- func (_ FixedTestRecord) SetString(v string)
- func (_ FixedTestRecord) SetUnionElem(v int64)
- func (r *FixedTestRecord) UnmarshalJSON(data []byte) error
- type FixedTestRecordReader
- type TestFixedType
- type TestFixedTypeWrapper
- func (_ TestFixedTypeWrapper) AppendArray() types.Field
- func (_ TestFixedTypeWrapper) AppendMap(key string) types.Field
- func (_ TestFixedTypeWrapper) Finalize()
- func (_ TestFixedTypeWrapper) Get(i int) types.Field
- func (_ TestFixedTypeWrapper) HintSize(int)
- func (_ TestFixedTypeWrapper) NullField(int)
- func (_ TestFixedTypeWrapper) SetBoolean(v bool)
- func (r TestFixedTypeWrapper) SetBytes(v []byte)
- func (_ TestFixedTypeWrapper) SetDefault(i int)
- func (_ TestFixedTypeWrapper) SetDouble(v float64)
- func (_ TestFixedTypeWrapper) SetFloat(v float32)
- func (_ TestFixedTypeWrapper) SetInt(v int32)
- func (_ TestFixedTypeWrapper) SetLong(v int64)
- func (_ TestFixedTypeWrapper) SetString(v string)
- func (_ TestFixedTypeWrapper) SetUnionElem(v int64)
Constants ¶
View Source
const FixedTestRecordAvroCRC64Fingerprint = "\xbaK\xf9~\x1f\xc0\xf1R"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FixedTestRecord ¶
type FixedTestRecord struct { FixedField TestFixedType `json:"FixedField"` AnotherFixed TestFixedType `json:"AnotherFixed"` }
func DeserializeFixedTestRecord ¶
func DeserializeFixedTestRecord(r io.Reader) (FixedTestRecord, error)
func DeserializeFixedTestRecordFromSchema ¶
func DeserializeFixedTestRecordFromSchema(r io.Reader, schema string) (FixedTestRecord, error)
func NewFixedTestRecord ¶
func NewFixedTestRecord() FixedTestRecord
func (FixedTestRecord) AppendArray ¶
func (_ FixedTestRecord) AppendArray() types.Field
func (FixedTestRecord) AvroCRC64Fingerprint ¶
func (_ FixedTestRecord) AvroCRC64Fingerprint() []byte
func (FixedTestRecord) Finalize ¶
func (_ FixedTestRecord) Finalize()
func (FixedTestRecord) HintSize ¶
func (_ FixedTestRecord) HintSize(int)
func (FixedTestRecord) MarshalJSON ¶
func (r FixedTestRecord) MarshalJSON() ([]byte, error)
func (*FixedTestRecord) NullField ¶
func (r *FixedTestRecord) NullField(i int)
func (FixedTestRecord) Schema ¶
func (r FixedTestRecord) Schema() string
func (FixedTestRecord) SchemaName ¶
func (r FixedTestRecord) SchemaName() string
func (FixedTestRecord) SetBoolean ¶
func (_ FixedTestRecord) SetBoolean(v bool)
func (FixedTestRecord) SetBytes ¶
func (_ FixedTestRecord) SetBytes(v []byte)
func (*FixedTestRecord) SetDefault ¶
func (r *FixedTestRecord) SetDefault(i int)
func (FixedTestRecord) SetDouble ¶
func (_ FixedTestRecord) SetDouble(v float64)
func (FixedTestRecord) SetFloat ¶
func (_ FixedTestRecord) SetFloat(v float32)
func (FixedTestRecord) SetInt ¶
func (_ FixedTestRecord) SetInt(v int32)
func (FixedTestRecord) SetLong ¶
func (_ FixedTestRecord) SetLong(v int64)
func (FixedTestRecord) SetString ¶
func (_ FixedTestRecord) SetString(v string)
func (FixedTestRecord) SetUnionElem ¶
func (_ FixedTestRecord) SetUnionElem(v int64)
func (*FixedTestRecord) UnmarshalJSON ¶
func (r *FixedTestRecord) UnmarshalJSON(data []byte) error
type FixedTestRecordReader ¶
type FixedTestRecordReader struct {
// contains filtered or unexported fields
}
container reader
func NewFixedTestRecordReader ¶
func NewFixedTestRecordReader(r io.Reader) (*FixedTestRecordReader, error)
func (FixedTestRecordReader) Read ¶
func (r FixedTestRecordReader) Read() (FixedTestRecord, error)
type TestFixedType ¶
type TestFixedType [12]byte
func (TestFixedType) MarshalJSON ¶
func (b TestFixedType) MarshalJSON() ([]byte, error)
func (*TestFixedType) UnmarshalJSON ¶
func (b *TestFixedType) UnmarshalJSON(data []byte) error
type TestFixedTypeWrapper ¶
type TestFixedTypeWrapper struct {
Target *TestFixedType
}
func (TestFixedTypeWrapper) AppendArray ¶
func (_ TestFixedTypeWrapper) AppendArray() types.Field
func (TestFixedTypeWrapper) AppendMap ¶
func (_ TestFixedTypeWrapper) AppendMap(key string) types.Field
func (TestFixedTypeWrapper) Finalize ¶
func (_ TestFixedTypeWrapper) Finalize()
func (TestFixedTypeWrapper) HintSize ¶
func (_ TestFixedTypeWrapper) HintSize(int)
func (TestFixedTypeWrapper) NullField ¶
func (_ TestFixedTypeWrapper) NullField(int)
func (TestFixedTypeWrapper) SetBoolean ¶
func (_ TestFixedTypeWrapper) SetBoolean(v bool)
func (TestFixedTypeWrapper) SetBytes ¶
func (r TestFixedTypeWrapper) SetBytes(v []byte)
func (TestFixedTypeWrapper) SetDefault ¶
func (_ TestFixedTypeWrapper) SetDefault(i int)
func (TestFixedTypeWrapper) SetDouble ¶
func (_ TestFixedTypeWrapper) SetDouble(v float64)
func (TestFixedTypeWrapper) SetFloat ¶
func (_ TestFixedTypeWrapper) SetFloat(v float32)
func (TestFixedTypeWrapper) SetInt ¶
func (_ TestFixedTypeWrapper) SetInt(v int32)
func (TestFixedTypeWrapper) SetLong ¶
func (_ TestFixedTypeWrapper) SetLong(v int64)
func (TestFixedTypeWrapper) SetString ¶
func (_ TestFixedTypeWrapper) SetString(v string)
func (TestFixedTypeWrapper) SetUnionElem ¶
func (_ TestFixedTypeWrapper) SetUnionElem(v int64)
Click to show internal directories.
Click to hide internal directories.