staticarray

package
v0.7.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package staticarray defines implementations of flux arrays with static data. It does not support null values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boolean

type Boolean []bool

func (Boolean) BooleanSlice

func (a Boolean) BooleanSlice(start, stop int) array.Boolean

func (Boolean) IsNull

func (a Boolean) IsNull(i int) bool

func (Boolean) IsValid

func (a Boolean) IsValid(i int) bool

func (Boolean) Len

func (a Boolean) Len() int

func (Boolean) NullN

func (a Boolean) NullN() int

func (Boolean) Slice

func (a Boolean) Slice(start, stop int) array.Base

func (Boolean) Value

func (a Boolean) Value(i int) bool

type BooleanBuilder

type BooleanBuilder []bool

func (*BooleanBuilder) Append

func (b *BooleanBuilder) Append(v bool)

func (*BooleanBuilder) AppendNull

func (b *BooleanBuilder) AppendNull()

func (*BooleanBuilder) AppendValues

func (b *BooleanBuilder) AppendValues(v []bool, valid ...[]bool)

func (*BooleanBuilder) BuildArray

func (b *BooleanBuilder) BuildArray() array.Base

func (*BooleanBuilder) BuildBooleanArray

func (b *BooleanBuilder) BuildBooleanArray() array.Boolean

func (*BooleanBuilder) Cap

func (b *BooleanBuilder) Cap() int

func (*BooleanBuilder) Len

func (b *BooleanBuilder) Len() int

func (*BooleanBuilder) Reserve

func (b *BooleanBuilder) Reserve(n int)

type Float

type Float []float64

func (Float) Float64Values

func (a Float) Float64Values() []float64

func (Float) FloatSlice

func (a Float) FloatSlice(start, stop int) array.Float

func (Float) IsNull

func (a Float) IsNull(i int) bool

func (Float) IsValid

func (a Float) IsValid(i int) bool

func (Float) Len

func (a Float) Len() int

func (Float) NullN

func (a Float) NullN() int

func (Float) Slice

func (a Float) Slice(start, stop int) array.Base

func (Float) Value

func (a Float) Value(i int) float64

type FloatBuilder

type FloatBuilder []float64

func (*FloatBuilder) Append

func (b *FloatBuilder) Append(v float64)

func (*FloatBuilder) AppendNull

func (b *FloatBuilder) AppendNull()

func (*FloatBuilder) AppendValues

func (b *FloatBuilder) AppendValues(v []float64, valid ...[]bool)

func (*FloatBuilder) BuildArray

func (b *FloatBuilder) BuildArray() array.Base

func (*FloatBuilder) BuildFloatArray

func (b *FloatBuilder) BuildFloatArray() array.Float

func (*FloatBuilder) Cap

func (b *FloatBuilder) Cap() int

func (*FloatBuilder) Len

func (b *FloatBuilder) Len() int

func (*FloatBuilder) Reserve

func (b *FloatBuilder) Reserve(n int)

type Int

type Int []int64

func (Int) Int64Values

func (a Int) Int64Values() []int64

func (Int) IntSlice

func (a Int) IntSlice(start, stop int) array.Int

func (Int) IsNull

func (a Int) IsNull(i int) bool

func (Int) IsValid

func (a Int) IsValid(i int) bool

func (Int) Len

func (a Int) Len() int

func (Int) NullN

func (a Int) NullN() int

func (Int) Slice

func (a Int) Slice(start, stop int) array.Base

func (Int) Value

func (a Int) Value(i int) int64

type IntBuilder

type IntBuilder []int64

func (*IntBuilder) Append

func (b *IntBuilder) Append(v int64)

func (*IntBuilder) AppendNull

func (b *IntBuilder) AppendNull()

func (*IntBuilder) AppendValues

func (b *IntBuilder) AppendValues(v []int64, valid ...[]bool)

func (*IntBuilder) BuildArray

func (b *IntBuilder) BuildArray() array.Base

func (*IntBuilder) BuildIntArray

func (b *IntBuilder) BuildIntArray() array.Int

func (*IntBuilder) Cap

func (b *IntBuilder) Cap() int

func (*IntBuilder) Len

func (b *IntBuilder) Len() int

func (*IntBuilder) Reserve

func (b *IntBuilder) Reserve(n int)

type String

type String []string

func (String) IsNull

func (a String) IsNull(i int) bool

func (String) IsValid

func (a String) IsValid(i int) bool

func (String) Len

func (a String) Len() int

func (String) NullN

func (a String) NullN() int

func (String) Slice

func (a String) Slice(start, stop int) array.Base

func (String) StringSlice

func (a String) StringSlice(start, stop int) array.String

func (String) Value

func (a String) Value(i int) string

type StringBuilder

type StringBuilder []string

func (*StringBuilder) Append

func (b *StringBuilder) Append(v string)

func (*StringBuilder) AppendNull

func (b *StringBuilder) AppendNull()

func (*StringBuilder) AppendValues

func (b *StringBuilder) AppendValues(v []string, valid ...[]bool)

func (*StringBuilder) BuildArray

func (b *StringBuilder) BuildArray() array.Base

func (*StringBuilder) BuildStringArray

func (b *StringBuilder) BuildStringArray() array.String

func (*StringBuilder) Cap

func (b *StringBuilder) Cap() int

func (*StringBuilder) Len

func (b *StringBuilder) Len() int

func (*StringBuilder) Reserve

func (b *StringBuilder) Reserve(n int)

type Time

type Time []values.Time

func (Time) IsNull

func (a Time) IsNull(i int) bool

func (Time) IsValid

func (a Time) IsValid(i int) bool

func (Time) Len

func (a Time) Len() int

func (Time) NullN

func (a Time) NullN() int

func (Time) Slice

func (a Time) Slice(start, stop int) array.Base

func (Time) TimeSlice

func (a Time) TimeSlice(start, stop int) array.Time

func (Time) TimeValues

func (a Time) TimeValues() []values.Time

func (Time) Value

func (a Time) Value(i int) values.Time

type TimeBuilder

type TimeBuilder []values.Time

func (*TimeBuilder) Append

func (b *TimeBuilder) Append(v values.Time)

func (*TimeBuilder) AppendNull

func (b *TimeBuilder) AppendNull()

func (*TimeBuilder) AppendValues

func (b *TimeBuilder) AppendValues(v []values.Time, valid ...[]bool)

func (*TimeBuilder) BuildArray

func (b *TimeBuilder) BuildArray() array.Base

func (*TimeBuilder) BuildTimeArray

func (b *TimeBuilder) BuildTimeArray() array.Time

func (*TimeBuilder) Cap

func (b *TimeBuilder) Cap() int

func (*TimeBuilder) Len

func (b *TimeBuilder) Len() int

func (*TimeBuilder) Reserve

func (b *TimeBuilder) Reserve(n int)

type UInt

type UInt []uint64

func (UInt) IsNull

func (a UInt) IsNull(i int) bool

func (UInt) IsValid

func (a UInt) IsValid(i int) bool

func (UInt) Len

func (a UInt) Len() int

func (UInt) NullN

func (a UInt) NullN() int

func (UInt) Slice

func (a UInt) Slice(start, stop int) array.Base

func (UInt) UIntSlice

func (a UInt) UIntSlice(start, stop int) array.UInt

func (UInt) Uint64Values

func (a UInt) Uint64Values() []uint64

func (UInt) Value

func (a UInt) Value(i int) uint64

type UIntBuilder

type UIntBuilder []uint64

func (*UIntBuilder) Append

func (b *UIntBuilder) Append(v uint64)

func (*UIntBuilder) AppendNull

func (b *UIntBuilder) AppendNull()

func (*UIntBuilder) AppendValues

func (b *UIntBuilder) AppendValues(v []uint64, valid ...[]bool)

func (*UIntBuilder) BuildArray

func (b *UIntBuilder) BuildArray() array.Base

func (*UIntBuilder) BuildUIntArray

func (b *UIntBuilder) BuildUIntArray() array.UInt

func (*UIntBuilder) Cap

func (b *UIntBuilder) Cap() int

func (*UIntBuilder) Len

func (b *UIntBuilder) Len() int

func (*UIntBuilder) Reserve

func (b *UIntBuilder) Reserve(n int)

Jump to

Keyboard shortcuts

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