avro

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteWriter

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

type ComplexUnionTestRecord

type ComplexUnionTestRecord struct {
	UnionField UnionNullArrayIntMapIntNestedUnionRecord
}

func DeserializeComplexUnionTestRecord

func DeserializeComplexUnionTestRecord(r io.Reader) (*ComplexUnionTestRecord, error)

func (ComplexUnionTestRecord) Serialize

func (r ComplexUnionTestRecord) Serialize(w io.Writer) error

type NestedUnionRecord

type NestedUnionRecord struct {
	IntField int32
}

func DeserializeNestedUnionRecord

func DeserializeNestedUnionRecord(r io.Reader) (*NestedUnionRecord, error)

func (NestedUnionRecord) Serialize

func (r NestedUnionRecord) Serialize(w io.Writer) error

type StringWriter

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

type UnionNullArrayIntMapIntNestedUnionRecord

type UnionNullArrayIntMapIntNestedUnionRecord struct {
	Null              interface{}
	ArrayInt          []int32
	MapInt            map[string]int32
	NestedUnionRecord *NestedUnionRecord
	UnionType         UnionNullArrayIntMapIntNestedUnionRecordTypeEnum
}

type UnionNullArrayIntMapIntNestedUnionRecordTypeEnum

type UnionNullArrayIntMapIntNestedUnionRecordTypeEnum int
const (
	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumNull              UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 0
	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumArrayInt          UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 1
	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumMapInt            UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 2
	UnionNullArrayIntMapIntNestedUnionRecordTypeEnumNestedUnionRecord UnionNullArrayIntMapIntNestedUnionRecordTypeEnum = 3
)

Jump to

Keyboard shortcuts

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