avro

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BinaryType = reflect.TypeOf(&Binary{})
View Source
var GenericRecordType = reflect.TypeOf(&avro.GenericRecord{})
View Source
var KVBinaryType = reflect.TypeOf(&KVBinary{})

Functions

This section is empty.

Types

type Binary

type Binary struct {
	Schema avro.Schema
	Data   []byte
}

type GenericDecoder

type GenericDecoder struct{}

func (*GenericDecoder) InType

func (d *GenericDecoder) InType() reflect.Type

func (*GenericDecoder) Materialize

func (d *GenericDecoder) Materialize() func(input interface{}) interface{}

func (*GenericDecoder) OutType

func (d *GenericDecoder) OutType() reflect.Type

type GenericEncoder

type GenericEncoder struct{}

func (*GenericEncoder) InType

func (e *GenericEncoder) InType() reflect.Type

func (*GenericEncoder) Materialize

func (e *GenericEncoder) Materialize() func(input interface{}) interface{}

func (*GenericEncoder) OutType

func (e *GenericEncoder) OutType() reflect.Type

type GenericProjector

type GenericProjector struct {
	TargetSchema avrolib.Schema
}

func (*GenericProjector) InType

func (p *GenericProjector) InType() reflect.Type

func (*GenericProjector) Materialize

func (p *GenericProjector) Materialize() func(input interface{}) interface{}

func (*GenericProjector) OutType

func (p *GenericProjector) OutType() reflect.Type

type JsonEncoder

type JsonEncoder struct{}

func (*JsonEncoder) InType

func (e *JsonEncoder) InType() reflect.Type

func (*JsonEncoder) Materialize

func (e *JsonEncoder) Materialize() func(input interface{}) interface{}

func (*JsonEncoder) OutType

func (e *JsonEncoder) OutType() reflect.Type

type KVBinary

type KVBinary struct {
	// contains filtered or unexported fields
}

type SchemaRegistryDecoder

type SchemaRegistryDecoder struct {
	Url string
}

func (*SchemaRegistryDecoder) InType

func (cf *SchemaRegistryDecoder) InType() reflect.Type

func (*SchemaRegistryDecoder) Materialize

func (cf *SchemaRegistryDecoder) Materialize() func(input interface{}) interface{}

func (*SchemaRegistryDecoder) OutType

func (cf *SchemaRegistryDecoder) OutType() reflect.Type

type SchemaRegistryEncoder

type SchemaRegistryEncoder struct {
	Url     string
	Subject string
}

func (*SchemaRegistryEncoder) InType

func (cf *SchemaRegistryEncoder) InType() reflect.Type

func (*SchemaRegistryEncoder) Materialize

func (cf *SchemaRegistryEncoder) Materialize() func(input interface{}) interface{}

func (*SchemaRegistryEncoder) OutType

func (cf *SchemaRegistryEncoder) OutType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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