arrow

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendBools added in v0.12.0

func AppendBools(tbl TableAppender, j int, vs *array.Boolean) error

func AppendFloats added in v0.12.0

func AppendFloats(tbl TableAppender, j int, vs *array.Float64) error

func AppendInts added in v0.12.0

func AppendInts(tbl TableAppender, j int, vs *array.Int64) error

func AppendStrings added in v0.12.0

func AppendStrings(tbl TableAppender, j int, vs *array.Binary) error

func AppendTimes added in v0.12.0

func AppendTimes(tbl TableAppender, j int, vs *array.Int64) error

func AppendUInts added in v0.12.0

func AppendUInts(tbl TableAppender, j int, vs *array.Uint64) error

func BoolSlice added in v0.12.0

func BoolSlice(arr *array.Boolean, i, j int) *array.Boolean

func ColReader added in v0.11.0

func ColReader(cr flux.ArrowColReader) flux.ColReader

ColReader creates a wrapper around an ArrowColReader that will implement the flux.ColReader interface. If the relevant type cannot be returned directly from the arrow array, this reader will lazily memoize a copy of the array as a slice.

This method will be removed when the flux.ColReader interface is replaced by the flux.ArrowColReader interface.

func FloatSlice added in v0.12.0

func FloatSlice(arr *array.Float64, i, j int) *array.Float64

func IntSlice added in v0.12.0

func IntSlice(arr *array.Int64, i, j int) *array.Int64

func NewBool added in v0.11.0

func NewBool(vs []bool, alloc *memory.Allocator) *array.Boolean

func NewBoolBuilder

func NewBoolBuilder(a *memory.Allocator) *array.BooleanBuilder

func NewFloat added in v0.11.0

func NewFloat(vs []float64, alloc *memory.Allocator) *array.Float64

func NewFloatBuilder

func NewFloatBuilder(a *memory.Allocator) *array.Float64Builder

func NewInt added in v0.11.0

func NewInt(vs []int64, alloc *memory.Allocator) *array.Int64

func NewIntBuilder

func NewIntBuilder(a *memory.Allocator) *array.Int64Builder

func NewString added in v0.11.0

func NewString(vs []string, alloc *memory.Allocator) *array.Binary

func NewStringBuilder

func NewStringBuilder(a *memory.Allocator) *array.BinaryBuilder

func NewUint added in v0.11.0

func NewUint(vs []uint64, alloc *memory.Allocator) *array.Uint64

func NewUintBuilder

func NewUintBuilder(a *memory.Allocator) *array.Uint64Builder

func StringSlice added in v0.12.0

func StringSlice(arr *array.Binary, i, j int) *array.Binary

func UintSlice added in v0.12.0

func UintSlice(arr *array.Uint64, i, j int) *array.Uint64

Types

type TableAppender added in v0.12.0

type TableAppender interface {
	AppendBools(j int, values []bool) error
	AppendInts(j int, values []int64) error
	AppendUInts(j int, values []uint64) error
	AppendFloats(j int, values []float64) error
	AppendStrings(j int, values []string) error
	AppendTimes(j int, values []values.Time) error
}

Jump to

Keyboard shortcuts

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