avro

package
v4.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

* CODE GENERATED AUTOMATICALLY WITH github.com/alanctgardner/gogen-avro * THIS FILE SHOULD NOT BE EDITED BY HAND * * SOURCE: * nested.avsc

* CODE GENERATED AUTOMATICALLY WITH github.com/alanctgardner/gogen-avro * THIS FILE SHOULD NOT BE EDITED BY HAND * * SOURCE: * nested.avsc

* CODE GENERATED AUTOMATICALLY WITH github.com/alanctgardner/gogen-avro * THIS FILE SHOULD NOT BE EDITED BY HAND * * SOURCE: * nested.avsc

* CODE GENERATED AUTOMATICALLY WITH github.com/alanctgardner/gogen-avro * THIS FILE SHOULD NOT BE EDITED BY HAND * * SOURCE: * nested.avsc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteReader

type ByteReader interface {
	ReadByte() (byte, error)
}

type ByteWriter

type ByteWriter interface {
	Grow(int)
	WriteByte(byte) error
}

type NestedRecord

type NestedRecord struct {
	StringField string
	BoolField   bool
	BytesField  []byte
}

func DeserializeNestedRecord

func DeserializeNestedRecord(r io.Reader) (*NestedRecord, error)

func (*NestedRecord) Schema

func (r *NestedRecord) Schema() string

func (*NestedRecord) Serialize

func (r *NestedRecord) Serialize(w io.Writer) error

type NestedTestRecord

type NestedTestRecord struct {
	NumberField *NumberRecord
	OtherField  *NestedRecord
}

func DeserializeNestedTestRecord

func DeserializeNestedTestRecord(r io.Reader) (*NestedTestRecord, error)

func (*NestedTestRecord) Schema

func (r *NestedTestRecord) Schema() string

func (*NestedTestRecord) Serialize

func (r *NestedTestRecord) Serialize(w io.Writer) error

type NumberRecord

type NumberRecord struct {
	IntField    int32
	LongField   int64
	FloatField  float32
	DoubleField float64
}

func DeserializeNumberRecord

func DeserializeNumberRecord(r io.Reader) (*NumberRecord, error)

func (*NumberRecord) Schema

func (r *NumberRecord) Schema() string

func (*NumberRecord) Serialize

func (r *NumberRecord) Serialize(w io.Writer) error

type StringWriter

type StringWriter interface {
	WriteString(string) (int, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL