Documentation ¶
Overview ¶
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Index ¶
- Constants
- 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 (_ Event) AvroCRC64Fingerprint() []byte
- func (_ Event) Finalize()
- func (r *Event) Get(i int) types.Field
- func (_ Event) HintSize(int)
- func (r Event) MarshalJSON() ([]byte, error)
- func (r *Event) NullField(i int)
- 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)
- func (r *Event) UnmarshalJSON(data []byte) error
- type EventReader
Constants ¶
View Source
const EventAvroCRC64Fingerprint = "\xe8\x8cH,\xc2W\x8a\xe0"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { // Unique ID for this event. Id string `json:"id"` }
func (Event) AppendArray ¶
func (Event) AvroCRC64Fingerprint ¶
func (Event) MarshalJSON ¶
func (Event) SchemaName ¶
func (Event) SetBoolean ¶
func (*Event) SetDefault ¶
func (Event) SetUnionElem ¶
func (*Event) UnmarshalJSON ¶
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() (Event, error)
Click to show internal directories.
Click to hide internal directories.