Documentation ¶
Overview ¶
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- enum.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- enum.avsc
Index ¶
- Constants
- type EnumTestRecord
- func (_ *EnumTestRecord) AppendArray() types.Field
- func (_ *EnumTestRecord) AppendMap(key string) types.Field
- func (_ *EnumTestRecord) AvroCRC64Fingerprint() []byte
- func (_ *EnumTestRecord) Finalize()
- func (r *EnumTestRecord) Get(i int) types.Field
- func (r *EnumTestRecord) Schema() string
- func (r *EnumTestRecord) SchemaName() string
- func (r *EnumTestRecord) Serialize(w io.Writer) error
- func (_ *EnumTestRecord) SetBoolean(v bool)
- func (_ *EnumTestRecord) SetBytes(v []byte)
- func (r *EnumTestRecord) SetDefault(i int)
- func (_ *EnumTestRecord) SetDouble(v float64)
- func (_ *EnumTestRecord) SetFloat(v float32)
- func (_ *EnumTestRecord) SetInt(v int32)
- func (_ *EnumTestRecord) SetLong(v int64)
- func (_ *EnumTestRecord) SetString(v string)
- func (_ *EnumTestRecord) SetUnionElem(v int64)
- type TestEnumType
Constants ¶
View Source
const EnumTestRecordAvroCRC64Fingerprint = "\x8e\x96\x00̛x3\xfa"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnumTestRecord ¶
type EnumTestRecord struct {
EnumField TestEnumType
}
func DeserializeEnumTestRecord ¶
func DeserializeEnumTestRecord(r io.Reader) (*EnumTestRecord, error)
func DeserializeEnumTestRecordFromSchema ¶
func DeserializeEnumTestRecordFromSchema(r io.Reader, schema string) (*EnumTestRecord, error)
func NewEnumTestRecord ¶
func NewEnumTestRecord() *EnumTestRecord
func (*EnumTestRecord) AppendArray ¶
func (_ *EnumTestRecord) AppendArray() types.Field
func (*EnumTestRecord) AvroCRC64Fingerprint ¶
func (_ *EnumTestRecord) AvroCRC64Fingerprint() []byte
func (*EnumTestRecord) Finalize ¶
func (_ *EnumTestRecord) Finalize()
func (*EnumTestRecord) Schema ¶
func (r *EnumTestRecord) Schema() string
func (*EnumTestRecord) SchemaName ¶
func (r *EnumTestRecord) SchemaName() string
func (*EnumTestRecord) SetBoolean ¶
func (_ *EnumTestRecord) SetBoolean(v bool)
func (*EnumTestRecord) SetBytes ¶
func (_ *EnumTestRecord) SetBytes(v []byte)
func (*EnumTestRecord) SetDefault ¶
func (r *EnumTestRecord) SetDefault(i int)
func (*EnumTestRecord) SetDouble ¶
func (_ *EnumTestRecord) SetDouble(v float64)
func (*EnumTestRecord) SetFloat ¶
func (_ *EnumTestRecord) SetFloat(v float32)
func (*EnumTestRecord) SetInt ¶
func (_ *EnumTestRecord) SetInt(v int32)
func (*EnumTestRecord) SetLong ¶
func (_ *EnumTestRecord) SetLong(v int64)
func (*EnumTestRecord) SetString ¶
func (_ *EnumTestRecord) SetString(v string)
func (*EnumTestRecord) SetUnionElem ¶
func (_ *EnumTestRecord) SetUnionElem(v int64)
type TestEnumType ¶
type TestEnumType int32
const ( TestEnumTypeTestSymbol1 TestEnumType = 0 TestEnumTypeTestSymbol2 TestEnumType = 1 TestEnumTypeTestSymbol3 TestEnumType = 2 )
func NewTestEnumTypeValue ¶
func NewTestEnumTypeValue(raw string) (r TestEnumType, err error)
func (TestEnumType) String ¶
func (e TestEnumType) String() string
Click to show internal directories.
Click to hide internal directories.