Documentation
¶
Index ¶
- func NewSimpleWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- func NewSomeDateObj_recordWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type ArrayLongWrapper
- func (r *ArrayLongWrapper) AppendArray() types.Field
- func (_ *ArrayLongWrapper) AppendMap(key string) types.Field
- func (_ *ArrayLongWrapper) Finalize()
- func (_ *ArrayLongWrapper) Get(i int) types.Field
- func (_ *ArrayLongWrapper) SetBoolean(v bool)
- func (_ *ArrayLongWrapper) SetBytes(v []byte)
- func (_ *ArrayLongWrapper) SetDefault(i int)
- func (_ *ArrayLongWrapper) SetDouble(v float64)
- func (_ *ArrayLongWrapper) SetFloat(v float32)
- func (_ *ArrayLongWrapper) SetInt(v int32)
- func (_ *ArrayLongWrapper) SetLong(v int64)
- func (_ *ArrayLongWrapper) SetString(v string)
- func (_ *ArrayLongWrapper) SetUnionElem(v int64)
- type ByteWriter
- type Simple
- func (_ *Simple) AppendArray() types.Field
- func (_ *Simple) AppendMap(key string) types.Field
- func (_ *Simple) Finalize()
- func (r *Simple) Get(i int) types.Field
- func (r *Simple) Schema() string
- func (r *Simple) SchemaName() string
- func (r *Simple) Serialize(w io.Writer) error
- func (_ *Simple) SetBoolean(v bool)
- func (_ *Simple) SetBytes(v []byte)
- func (r *Simple) SetDefault(i int)
- func (_ *Simple) SetDouble(v float64)
- func (_ *Simple) SetFloat(v float32)
- func (_ *Simple) SetInt(v int32)
- func (_ *Simple) SetLong(v int64)
- func (_ *Simple) SetString(v string)
- func (_ *Simple) SetUnionElem(v int64)
- type SimpleReader
- type SomeDateObj_record
- func (_ *SomeDateObj_record) AppendArray() types.Field
- func (_ *SomeDateObj_record) AppendMap(key string) types.Field
- func (_ *SomeDateObj_record) Finalize()
- func (r *SomeDateObj_record) Get(i int) types.Field
- func (r *SomeDateObj_record) Schema() string
- func (r *SomeDateObj_record) SchemaName() string
- func (r *SomeDateObj_record) Serialize(w io.Writer) error
- func (_ *SomeDateObj_record) SetBoolean(v bool)
- func (_ *SomeDateObj_record) SetBytes(v []byte)
- func (r *SomeDateObj_record) SetDefault(i int)
- func (_ *SomeDateObj_record) SetDouble(v float64)
- func (_ *SomeDateObj_record) SetFloat(v float32)
- func (_ *SomeDateObj_record) SetInt(v int32)
- func (_ *SomeDateObj_record) SetLong(v int64)
- func (_ *SomeDateObj_record) SetString(v string)
- func (_ *SomeDateObj_record) SetUnionElem(v int64)
- type SomeDateObj_recordReader
- type StringWriter
- type UnionNullDouble
- func (_ *UnionNullDouble) AppendArray() types.Field
- func (_ *UnionNullDouble) AppendMap(key string) types.Field
- func (_ *UnionNullDouble) Finalize()
- func (r *UnionNullDouble) Get(i int) types.Field
- func (_ *UnionNullDouble) SetBoolean(v bool)
- func (_ *UnionNullDouble) SetBytes(v []byte)
- func (_ *UnionNullDouble) SetDefault(i int)
- func (_ *UnionNullDouble) SetDouble(v float64)
- func (_ *UnionNullDouble) SetFloat(v float32)
- func (_ *UnionNullDouble) SetInt(v int32)
- func (r *UnionNullDouble) SetLong(v int64)
- func (_ *UnionNullDouble) SetString(v string)
- type UnionNullDoubleTypeEnum
- type UnionNullLong
- func (_ *UnionNullLong) AppendArray() types.Field
- func (_ *UnionNullLong) AppendMap(key string) types.Field
- func (_ *UnionNullLong) Finalize()
- func (r *UnionNullLong) Get(i int) types.Field
- func (_ *UnionNullLong) SetBoolean(v bool)
- func (_ *UnionNullLong) SetBytes(v []byte)
- func (_ *UnionNullLong) SetDefault(i int)
- func (_ *UnionNullLong) SetDouble(v float64)
- func (_ *UnionNullLong) SetFloat(v float32)
- func (_ *UnionNullLong) SetInt(v int32)
- func (r *UnionNullLong) SetLong(v int64)
- func (_ *UnionNullLong) SetString(v string)
- type UnionNullLongTypeEnum
- type UnionNullSomeDateObj_record
- func (_ *UnionNullSomeDateObj_record) AppendArray() types.Field
- func (_ *UnionNullSomeDateObj_record) AppendMap(key string) types.Field
- func (_ *UnionNullSomeDateObj_record) Finalize()
- func (r *UnionNullSomeDateObj_record) Get(i int) types.Field
- func (_ *UnionNullSomeDateObj_record) SetBoolean(v bool)
- func (_ *UnionNullSomeDateObj_record) SetBytes(v []byte)
- func (_ *UnionNullSomeDateObj_record) SetDefault(i int)
- func (_ *UnionNullSomeDateObj_record) SetDouble(v float64)
- func (_ *UnionNullSomeDateObj_record) SetFloat(v float32)
- func (_ *UnionNullSomeDateObj_record) SetInt(v int32)
- func (r *UnionNullSomeDateObj_record) SetLong(v int64)
- func (_ *UnionNullSomeDateObj_record) SetString(v string)
- type UnionNullSomeDateObj_recordTypeEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSimpleWriter ¶
Types ¶
type ArrayLongWrapper ¶
type ArrayLongWrapper []int64
func (*ArrayLongWrapper) AppendArray ¶
func (r *ArrayLongWrapper) AppendArray() types.Field
func (*ArrayLongWrapper) Finalize ¶
func (_ *ArrayLongWrapper) Finalize()
func (*ArrayLongWrapper) SetBoolean ¶
func (_ *ArrayLongWrapper) SetBoolean(v bool)
func (*ArrayLongWrapper) SetBytes ¶
func (_ *ArrayLongWrapper) SetBytes(v []byte)
func (*ArrayLongWrapper) SetDefault ¶
func (_ *ArrayLongWrapper) SetDefault(i int)
func (*ArrayLongWrapper) SetDouble ¶
func (_ *ArrayLongWrapper) SetDouble(v float64)
func (*ArrayLongWrapper) SetFloat ¶
func (_ *ArrayLongWrapper) SetFloat(v float32)
func (*ArrayLongWrapper) SetInt ¶
func (_ *ArrayLongWrapper) SetInt(v int32)
func (*ArrayLongWrapper) SetLong ¶
func (_ *ArrayLongWrapper) SetLong(v int64)
func (*ArrayLongWrapper) SetString ¶
func (_ *ArrayLongWrapper) SetString(v string)
func (*ArrayLongWrapper) SetUnionElem ¶
func (_ *ArrayLongWrapper) SetUnionElem(v int64)
type ByteWriter ¶
type Simple ¶
type Simple struct {
// The timestamp when this avro data is written. Useful for identifying the newest row of data sharing keys.
AvroWriteTime int64
// This is set to true when the Avro data is recording a delete in the source data.
AvroDeleted bool
Height *UnionNullLong
SomeDateObj *UnionNullSomeDateObj_record
Type string
Visible bool
Width *UnionNullDouble
}
func (*Simple) AppendArray ¶
func (*Simple) SchemaName ¶
func (*Simple) SetBoolean ¶
func (*Simple) SetDefault ¶
func (*Simple) SetUnionElem ¶
type SimpleReader ¶
type SimpleReader struct {
// contains filtered or unexported fields
}
func NewSimpleReader ¶
func NewSimpleReader(r io.Reader) (*SimpleReader, error)
func (*SimpleReader) Read ¶
func (r *SimpleReader) Read() (*Simple, error)
type SomeDateObj_record ¶
type SomeDateObj_record struct {
Dates []int64
}
func DeserializeSomeDateObj_record ¶
func DeserializeSomeDateObj_record(r io.Reader) (*SomeDateObj_record, error)
func NewSomeDateObj_record ¶
func NewSomeDateObj_record() *SomeDateObj_record
func (*SomeDateObj_record) AppendArray ¶
func (_ *SomeDateObj_record) AppendArray() types.Field
func (*SomeDateObj_record) AppendMap ¶
func (_ *SomeDateObj_record) AppendMap(key string) types.Field
func (*SomeDateObj_record) Finalize ¶
func (_ *SomeDateObj_record) Finalize()
func (*SomeDateObj_record) Schema ¶
func (r *SomeDateObj_record) Schema() string
func (*SomeDateObj_record) SchemaName ¶
func (r *SomeDateObj_record) SchemaName() string
func (*SomeDateObj_record) SetBoolean ¶
func (_ *SomeDateObj_record) SetBoolean(v bool)
func (*SomeDateObj_record) SetBytes ¶
func (_ *SomeDateObj_record) SetBytes(v []byte)
func (*SomeDateObj_record) SetDefault ¶
func (r *SomeDateObj_record) SetDefault(i int)
func (*SomeDateObj_record) SetDouble ¶
func (_ *SomeDateObj_record) SetDouble(v float64)
func (*SomeDateObj_record) SetFloat ¶
func (_ *SomeDateObj_record) SetFloat(v float32)
func (*SomeDateObj_record) SetInt ¶
func (_ *SomeDateObj_record) SetInt(v int32)
func (*SomeDateObj_record) SetLong ¶
func (_ *SomeDateObj_record) SetLong(v int64)
func (*SomeDateObj_record) SetString ¶
func (_ *SomeDateObj_record) SetString(v string)
func (*SomeDateObj_record) SetUnionElem ¶
func (_ *SomeDateObj_record) SetUnionElem(v int64)
type SomeDateObj_recordReader ¶
type SomeDateObj_recordReader struct {
// contains filtered or unexported fields
}
func NewSomeDateObj_recordReader ¶
func NewSomeDateObj_recordReader(r io.Reader) (*SomeDateObj_recordReader, error)
func (*SomeDateObj_recordReader) Read ¶
func (r *SomeDateObj_recordReader) Read() (*SomeDateObj_record, error)
type StringWriter ¶
type UnionNullDouble ¶
type UnionNullDouble struct {
Null *types.NullVal
Double float64
UnionType UnionNullDoubleTypeEnum
}
func NewUnionNullDouble ¶
func NewUnionNullDouble() *UnionNullDouble
func (*UnionNullDouble) AppendArray ¶
func (_ *UnionNullDouble) AppendArray() types.Field
func (*UnionNullDouble) Finalize ¶
func (_ *UnionNullDouble) Finalize()
func (*UnionNullDouble) SetBoolean ¶
func (_ *UnionNullDouble) SetBoolean(v bool)
func (*UnionNullDouble) SetBytes ¶
func (_ *UnionNullDouble) SetBytes(v []byte)
func (*UnionNullDouble) SetDefault ¶
func (_ *UnionNullDouble) SetDefault(i int)
func (*UnionNullDouble) SetDouble ¶
func (_ *UnionNullDouble) SetDouble(v float64)
func (*UnionNullDouble) SetFloat ¶
func (_ *UnionNullDouble) SetFloat(v float32)
func (*UnionNullDouble) SetInt ¶
func (_ *UnionNullDouble) SetInt(v int32)
func (*UnionNullDouble) SetLong ¶
func (r *UnionNullDouble) SetLong(v int64)
func (*UnionNullDouble) SetString ¶
func (_ *UnionNullDouble) SetString(v string)
type UnionNullDoubleTypeEnum ¶
type UnionNullDoubleTypeEnum int
const ( UnionNullDoubleTypeEnumNull UnionNullDoubleTypeEnum = 0 UnionNullDoubleTypeEnumDouble UnionNullDoubleTypeEnum = 1 )
type UnionNullLong ¶
type UnionNullLong struct {
Null *types.NullVal
Long int64
UnionType UnionNullLongTypeEnum
}
func NewUnionNullLong ¶
func NewUnionNullLong() *UnionNullLong
func (*UnionNullLong) AppendArray ¶
func (_ *UnionNullLong) AppendArray() types.Field
func (*UnionNullLong) Finalize ¶
func (_ *UnionNullLong) Finalize()
func (*UnionNullLong) SetBoolean ¶
func (_ *UnionNullLong) SetBoolean(v bool)
func (*UnionNullLong) SetBytes ¶
func (_ *UnionNullLong) SetBytes(v []byte)
func (*UnionNullLong) SetDefault ¶
func (_ *UnionNullLong) SetDefault(i int)
func (*UnionNullLong) SetDouble ¶
func (_ *UnionNullLong) SetDouble(v float64)
func (*UnionNullLong) SetFloat ¶
func (_ *UnionNullLong) SetFloat(v float32)
func (*UnionNullLong) SetInt ¶
func (_ *UnionNullLong) SetInt(v int32)
func (*UnionNullLong) SetLong ¶
func (r *UnionNullLong) SetLong(v int64)
func (*UnionNullLong) SetString ¶
func (_ *UnionNullLong) SetString(v string)
type UnionNullLongTypeEnum ¶
type UnionNullLongTypeEnum int
const ( UnionNullLongTypeEnumNull UnionNullLongTypeEnum = 0 UnionNullLongTypeEnumLong UnionNullLongTypeEnum = 1 )
type UnionNullSomeDateObj_record ¶ added in v0.12.9
type UnionNullSomeDateObj_record struct {
Null *types.NullVal
SomeDateObj_record *SomeDateObj_record
UnionType UnionNullSomeDateObj_recordTypeEnum
}
func NewUnionNullSomeDateObj_record ¶ added in v0.12.9
func NewUnionNullSomeDateObj_record() *UnionNullSomeDateObj_record
func (*UnionNullSomeDateObj_record) AppendArray ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) AppendArray() types.Field
func (*UnionNullSomeDateObj_record) AppendMap ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) AppendMap(key string) types.Field
func (*UnionNullSomeDateObj_record) Finalize ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) Finalize()
func (*UnionNullSomeDateObj_record) Get ¶ added in v0.12.9
func (r *UnionNullSomeDateObj_record) Get(i int) types.Field
func (*UnionNullSomeDateObj_record) SetBoolean ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) SetBoolean(v bool)
func (*UnionNullSomeDateObj_record) SetBytes ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) SetBytes(v []byte)
func (*UnionNullSomeDateObj_record) SetDefault ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) SetDefault(i int)
func (*UnionNullSomeDateObj_record) SetDouble ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) SetDouble(v float64)
func (*UnionNullSomeDateObj_record) SetFloat ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) SetFloat(v float32)
func (*UnionNullSomeDateObj_record) SetInt ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) SetInt(v int32)
func (*UnionNullSomeDateObj_record) SetLong ¶ added in v0.12.9
func (r *UnionNullSomeDateObj_record) SetLong(v int64)
func (*UnionNullSomeDateObj_record) SetString ¶ added in v0.12.9
func (_ *UnionNullSomeDateObj_record) SetString(v string)
type UnionNullSomeDateObj_recordTypeEnum ¶ added in v0.12.9
type UnionNullSomeDateObj_recordTypeEnum int
const ( UnionNullSomeDateObj_recordTypeEnumNull UnionNullSomeDateObj_recordTypeEnum = 0 UnionNullSomeDateObj_recordTypeEnumSomeDateObj_record UnionNullSomeDateObj_recordTypeEnum = 1 )
Click to show internal directories.
Click to hide internal directories.