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 NewPrimitiveUnionTestRecordWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type PrimitiveUnionTestRecord
- func (_ PrimitiveUnionTestRecord) AppendArray() types.Field
- func (_ PrimitiveUnionTestRecord) AppendMap(key string) types.Field
- func (_ PrimitiveUnionTestRecord) AvroCRC64Fingerprint() []byte
- func (_ PrimitiveUnionTestRecord) Finalize()
- func (r *PrimitiveUnionTestRecord) Get(i int) types.Field
- func (_ PrimitiveUnionTestRecord) HintSize(int)
- func (r PrimitiveUnionTestRecord) MarshalJSON() ([]byte, error)
- func (r *PrimitiveUnionTestRecord) NullField(i int)
- 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)
- func (r *PrimitiveUnionTestRecord) UnmarshalJSON(data []byte) error
- type PrimitiveUnionTestRecordReader
- type UnionIntLongFloatDoubleStringBoolNull
- func DeserializeUnionIntLongFloatDoubleStringBoolNull(r io.Reader) (*UnionIntLongFloatDoubleStringBoolNull, error)
- func DeserializeUnionIntLongFloatDoubleStringBoolNullFromSchema(r io.Reader, schema string) (*UnionIntLongFloatDoubleStringBoolNull, error)
- func NewUnionIntLongFloatDoubleStringBoolNull() *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) HintSize(i int)
- func (r *UnionIntLongFloatDoubleStringBoolNull) MarshalJSON() ([]byte, error)
- func (_ *UnionIntLongFloatDoubleStringBoolNull) NullField(i int)
- func (r *UnionIntLongFloatDoubleStringBoolNull) Schema() string
- func (r *UnionIntLongFloatDoubleStringBoolNull) Serialize(w io.Writer) error
- 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)
- func (r *UnionIntLongFloatDoubleStringBoolNull) UnmarshalJSON(data []byte) error
- type UnionIntLongFloatDoubleStringBoolNullTypeEnum
Constants ¶
View Source
const PrimitiveUnionTestRecordAvroCRC64Fingerprint = "hSK\xb5\xb2ۗ]"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrimitiveUnionTestRecord ¶
type PrimitiveUnionTestRecord struct {
UnionField *UnionIntLongFloatDoubleStringBoolNull `json:"UnionField"`
}
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) AvroCRC64Fingerprint ¶
func (_ PrimitiveUnionTestRecord) AvroCRC64Fingerprint() []byte
func (PrimitiveUnionTestRecord) Finalize ¶
func (_ PrimitiveUnionTestRecord) Finalize()
func (PrimitiveUnionTestRecord) HintSize ¶
func (_ PrimitiveUnionTestRecord) HintSize(int)
func (PrimitiveUnionTestRecord) MarshalJSON ¶
func (r PrimitiveUnionTestRecord) MarshalJSON() ([]byte, error)
func (*PrimitiveUnionTestRecord) NullField ¶
func (r *PrimitiveUnionTestRecord) NullField(i int)
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)
func (*PrimitiveUnionTestRecord) UnmarshalJSON ¶
func (r *PrimitiveUnionTestRecord) UnmarshalJSON(data []byte) error
type PrimitiveUnionTestRecordReader ¶
type PrimitiveUnionTestRecordReader struct {
// contains filtered or unexported fields
}
container reader
func NewPrimitiveUnionTestRecordReader ¶
func NewPrimitiveUnionTestRecordReader(r io.Reader) (*PrimitiveUnionTestRecordReader, error)
func (PrimitiveUnionTestRecordReader) Read ¶
func (r PrimitiveUnionTestRecordReader) Read() (PrimitiveUnionTestRecord, error)
type UnionIntLongFloatDoubleStringBoolNull ¶
type UnionIntLongFloatDoubleStringBoolNull struct { Int int32 Long int64 Float float32 Double float64 String string Bool bool Null *types.NullVal UnionType UnionIntLongFloatDoubleStringBoolNullTypeEnum }
func DeserializeUnionIntLongFloatDoubleStringBoolNull ¶
func DeserializeUnionIntLongFloatDoubleStringBoolNull(r io.Reader) (*UnionIntLongFloatDoubleStringBoolNull, error)
func DeserializeUnionIntLongFloatDoubleStringBoolNullFromSchema ¶
func DeserializeUnionIntLongFloatDoubleStringBoolNullFromSchema(r io.Reader, schema string) (*UnionIntLongFloatDoubleStringBoolNull, error)
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) HintSize ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) HintSize(i int)
func (*UnionIntLongFloatDoubleStringBoolNull) MarshalJSON ¶
func (r *UnionIntLongFloatDoubleStringBoolNull) MarshalJSON() ([]byte, error)
func (*UnionIntLongFloatDoubleStringBoolNull) NullField ¶
func (_ *UnionIntLongFloatDoubleStringBoolNull) NullField(i int)
func (*UnionIntLongFloatDoubleStringBoolNull) Schema ¶
func (r *UnionIntLongFloatDoubleStringBoolNull) Schema() string
func (*UnionIntLongFloatDoubleStringBoolNull) Serialize ¶
func (r *UnionIntLongFloatDoubleStringBoolNull) Serialize(w io.Writer) error
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)
func (*UnionIntLongFloatDoubleStringBoolNull) UnmarshalJSON ¶
func (r *UnionIntLongFloatDoubleStringBoolNull) UnmarshalJSON(data []byte) error
type UnionIntLongFloatDoubleStringBoolNullTypeEnum ¶
type UnionIntLongFloatDoubleStringBoolNullTypeEnum int
const ( UnionIntLongFloatDoubleStringBoolNullTypeEnumInt UnionIntLongFloatDoubleStringBoolNullTypeEnum = 0 UnionIntLongFloatDoubleStringBoolNullTypeEnumLong UnionIntLongFloatDoubleStringBoolNullTypeEnum = 1 UnionIntLongFloatDoubleStringBoolNullTypeEnumFloat UnionIntLongFloatDoubleStringBoolNullTypeEnum = 2 UnionIntLongFloatDoubleStringBoolNullTypeEnumDouble UnionIntLongFloatDoubleStringBoolNullTypeEnum = 3 UnionIntLongFloatDoubleStringBoolNullTypeEnumString UnionIntLongFloatDoubleStringBoolNullTypeEnum = 4 UnionIntLongFloatDoubleStringBoolNullTypeEnumBool UnionIntLongFloatDoubleStringBoolNullTypeEnum = 5 )
Click to show internal directories.
Click to hide internal directories.