Documentation
¶
Overview ¶
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- avro_java_string.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- avro_java_string.avsc
Index ¶
- func NewEventWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type Event
- func (_ *Event) AppendArray() types.Field
- func (_ *Event) AppendMap(key string) types.Field
- func (r *Event) Clear(i int)
- func (_ *Event) Finalize()
- func (r *Event) Get(i int) types.Field
- func (r Event) Schema() string
- func (r Event) SchemaName() string
- func (r Event) Serialize(w io.Writer) error
- func (_ *Event) SetBoolean(v bool)
- func (_ *Event) SetBytes(v []byte)
- func (r *Event) SetDefault(i int)
- func (_ *Event) SetDouble(v float64)
- func (_ *Event) SetFloat(v float32)
- func (_ *Event) SetInt(v int32)
- func (_ *Event) SetLong(v int64)
- func (_ *Event) SetString(v string)
- func (_ *Event) SetUnionElem(v int64)
- type EventReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct {
Id string
}
func (*Event) AppendArray ¶
func (Event) SchemaName ¶
func (*Event) SetBoolean ¶
func (*Event) SetDefault ¶
func (*Event) SetUnionElem ¶
type EventReader ¶
type EventReader struct {
// contains filtered or unexported fields
}
container reader
func NewEventReader ¶
func NewEventReader(r io.Reader) (*EventReader, error)
func (EventReader) Read ¶
func (r EventReader) Read() (t Event, err error)
Click to show internal directories.
Click to hide internal directories.