data

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Float32SizeBytes specifies the number of bytes required to store a single float32 in memory
	Float32SizeBytes = int(unsafe.Sizeof(float32(0)))
)
View Source
const (
	// Float64SizeBytes specifies the number of bytes required to store a single float64 in memory
	Float64SizeBytes = int(unsafe.Sizeof(float64(0)))
)
View Source
const (
	// Int16SizeBytes specifies the number of bytes required to store a single int16 in memory
	Int16SizeBytes = int(unsafe.Sizeof(int16(0)))
)
View Source
const (
	// Int32SizeBytes specifies the number of bytes required to store a single int32 in memory
	Int32SizeBytes = int(unsafe.Sizeof(int32(0)))
)
View Source
const (
	// Int64SizeBytes specifies the number of bytes required to store a single int64 in memory
	Int64SizeBytes = int(unsafe.Sizeof(int64(0)))
)
View Source
const (
	// Int8SizeBytes specifies the number of bytes required to store a single int8 in memory
	Int8SizeBytes = int(unsafe.Sizeof(int8(0)))
)
View Source
const (
	// Uint16SizeBytes specifies the number of bytes required to store a single uint16 in memory
	Uint16SizeBytes = int(unsafe.Sizeof(uint16(0)))
)
View Source
const (
	// Uint32SizeBytes specifies the number of bytes required to store a single uint32 in memory
	Uint32SizeBytes = int(unsafe.Sizeof(uint32(0)))
)
View Source
const (
	// Uint64SizeBytes specifies the number of bytes required to store a single uint64 in memory
	Uint64SizeBytes = int(unsafe.Sizeof(uint64(0)))
)
View Source
const (
	// Uint8SizeBytes specifies the number of bytes required to store a single uint8 in memory
	Uint8SizeBytes = int(unsafe.Sizeof(uint8(0)))
)

Variables

View Source
var (
	Decimal28DenseTraits  decimal28DenseTraits
	Decimal38DenseTraits  decimal38DenseTraits
	Decimal28SparseTraits decimal28SparseTraits
	Decimal38SparseTraits decimal38SparseTraits
)
View Source
var (
	Int64Traits   int64Traits
	Int32Traits   int32Traits
	Float64Traits float64Traits
	Uint64Traits  uint64Traits
	Uint32Traits  uint32Traits
	Float32Traits float32Traits
	Int16Traits   int16Traits
	Uint16Traits  uint16Traits
	Int8Traits    int8Traits
	Uint8Traits   uint8Traits
)

Functions

func ArrowTypeToReflect

func ArrowTypeToReflect(typ arrow.DataType) reflect.Type

ArrowTypeToReflect will get the reflection type from the arrow datatype.

TODO: handle decimal types properly

func NewArrowArray

func NewArrowArray(rawData []byte, meta *shared.SerializedField) (ret array.Interface)

NewArrowArray constructs an arrow.Interface array from the given raw data and serialized metadata as a zero-copy array.

TODO: Handle decimal types properly

func NewIntervalDayVector

func NewIntervalDayVector(data []byte, meta *shared.SerializedField) *intervalVector

func NewIntervalVector

func NewIntervalVector(data []byte, meta *shared.SerializedField) *intervalVector

func NewIntervalYearVector

func NewIntervalYearVector(data []byte, meta *shared.SerializedField) *intervalVector

func NewNullableIntervalDayVector

func NewNullableIntervalDayVector(data []byte, meta *shared.SerializedField) *nullableIntervalVector

func NewNullableIntervalVector

func NewNullableIntervalVector(data []byte, meta *shared.SerializedField) *nullableIntervalVector

func NewNullableIntervalYearVector

func NewNullableIntervalYearVector(data []byte, meta *shared.SerializedField) *nullableIntervalVector

func TypeToArrowType

func TypeToArrowType(typ common.MinorType) arrow.DataType

TypeToArrowType converts the specified type enum to an arrow Data Type

TODO: handle decimal types

Types

type BitVector

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

func NewBitVector

func NewBitVector(data []byte, meta *shared.SerializedField) *BitVector

func (*BitVector) Get

func (b *BitVector) Get(index uint) bool

func (*BitVector) GetRawBytes

func (v *BitVector) GetRawBytes() []byte

func (*BitVector) Len

func (b *BitVector) Len() int

func (BitVector) Type

func (BitVector) Type() reflect.Type

func (BitVector) TypeLen

func (BitVector) TypeLen() (int64, bool)

func (*BitVector) Value

func (b *BitVector) Value(index uint) interface{}

type DataVector

type DataVector interface {
	Len() int
	Value(index uint) interface{}
	Type() reflect.Type
	TypeLen() (int64, bool)
	GetRawBytes() []byte
}

func NewNumericValueVec

func NewNumericValueVec(rawData []byte, meta *shared.SerializedField) DataVector

func NewValueVec

func NewValueVec(rawData []byte, meta *shared.SerializedField) DataVector

type DateVector

type DateVector struct {
	*TimestampVector
}

func NewDateVector

func NewDateVector(data []byte, meta *shared.SerializedField) *DateVector

func (*DateVector) Get

func (dv *DateVector) Get(index uint) time.Time

func (DateVector) GetRawBytes

func (v DateVector) GetRawBytes() []byte

func (*DateVector) Value

func (dv *DateVector) Value(index uint) interface{}

type DecimalTraits

type DecimalTraits interface {
	NumDigits() int
	ByteWidth() int
	IsSparse() bool
	MaxPrecision() int
}

type DecimalVector

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

func NewDecimalVector

func NewDecimalVector(data []byte, meta *shared.SerializedField, traits DecimalTraits) *DecimalVector

func (*DecimalVector) Get

func (dv *DecimalVector) Get(index uint) *big.Float

func (DecimalVector) GetRawBytes

func (v DecimalVector) GetRawBytes() []byte

func (DecimalVector) Len

func (v DecimalVector) Len() int

func (DecimalVector) Type

func (DecimalVector) Type() reflect.Type

func (DecimalVector) TypeLen

func (DecimalVector) TypeLen() (int64, bool)

func (*DecimalVector) Value

func (dv *DecimalVector) Value(index uint) interface{}

type Float32Vector

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

func NewFloat32Vector

func NewFloat32Vector(data []byte, meta *shared.SerializedField) *Float32Vector

func (*Float32Vector) Get

func (v *Float32Vector) Get(index uint) float32

func (*Float32Vector) GetRawBytes

func (v *Float32Vector) GetRawBytes() []byte

func (*Float32Vector) Len

func (v *Float32Vector) Len() int

func (Float32Vector) Type

func (Float32Vector) Type() reflect.Type

func (Float32Vector) TypeLen

func (Float32Vector) TypeLen() (int64, bool)

func (*Float32Vector) Value

func (v *Float32Vector) Value(index uint) interface{}

type Float64Vector

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

func NewFloat64Vector

func NewFloat64Vector(data []byte, meta *shared.SerializedField) *Float64Vector

func (*Float64Vector) Get

func (v *Float64Vector) Get(index uint) float64

func (*Float64Vector) GetRawBytes

func (v *Float64Vector) GetRawBytes() []byte

func (*Float64Vector) Len

func (v *Float64Vector) Len() int

func (Float64Vector) Type

func (Float64Vector) Type() reflect.Type

func (Float64Vector) TypeLen

func (Float64Vector) TypeLen() (int64, bool)

func (*Float64Vector) Value

func (v *Float64Vector) Value(index uint) interface{}

type Int16Vector

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

func NewInt16Vector

func NewInt16Vector(data []byte, meta *shared.SerializedField) *Int16Vector

func (*Int16Vector) Get

func (v *Int16Vector) Get(index uint) int16

func (*Int16Vector) GetRawBytes

func (v *Int16Vector) GetRawBytes() []byte

func (*Int16Vector) Len

func (v *Int16Vector) Len() int

func (Int16Vector) Type

func (Int16Vector) Type() reflect.Type

func (Int16Vector) TypeLen

func (Int16Vector) TypeLen() (int64, bool)

func (*Int16Vector) Value

func (v *Int16Vector) Value(index uint) interface{}

type Int32Vector

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

func NewInt32Vector

func NewInt32Vector(data []byte, meta *shared.SerializedField) *Int32Vector

func (*Int32Vector) Get

func (v *Int32Vector) Get(index uint) int32

func (*Int32Vector) GetRawBytes

func (v *Int32Vector) GetRawBytes() []byte

func (*Int32Vector) Len

func (v *Int32Vector) Len() int

func (Int32Vector) Type

func (Int32Vector) Type() reflect.Type

func (Int32Vector) TypeLen

func (Int32Vector) TypeLen() (int64, bool)

func (*Int32Vector) Value

func (v *Int32Vector) Value(index uint) interface{}

type Int64Vector

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

func NewInt64Vector

func NewInt64Vector(data []byte, meta *shared.SerializedField) *Int64Vector

func (*Int64Vector) Get

func (v *Int64Vector) Get(index uint) int64

func (*Int64Vector) GetRawBytes

func (v *Int64Vector) GetRawBytes() []byte

func (*Int64Vector) Len

func (v *Int64Vector) Len() int

func (Int64Vector) Type

func (Int64Vector) Type() reflect.Type

func (Int64Vector) TypeLen

func (Int64Vector) TypeLen() (int64, bool)

func (*Int64Vector) Value

func (v *Int64Vector) Value(index uint) interface{}

type Int8Vector

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

func NewInt8Vector

func NewInt8Vector(data []byte, meta *shared.SerializedField) *Int8Vector

func (*Int8Vector) Get

func (v *Int8Vector) Get(index uint) int8

func (*Int8Vector) GetRawBytes

func (v *Int8Vector) GetRawBytes() []byte

func (*Int8Vector) Len

func (v *Int8Vector) Len() int

func (Int8Vector) Type

func (Int8Vector) Type() reflect.Type

func (Int8Vector) TypeLen

func (Int8Vector) TypeLen() (int64, bool)

func (*Int8Vector) Value

func (v *Int8Vector) Value(index uint) interface{}

type NullableBitVector

type NullableBitVector struct {
	*BitVector
	// contains filtered or unexported fields
}

func NewNullableBitVector

func NewNullableBitVector(data []byte, meta *shared.SerializedField) *NullableBitVector

func (*NullableBitVector) Get

func (nb *NullableBitVector) Get(index uint) *bool

func (*NullableBitVector) GetNullBytemap

func (n *NullableBitVector) GetNullBytemap() []byte

func (NullableBitVector) GetRawBytes

func (v NullableBitVector) GetRawBytes() []byte

func (*NullableBitVector) IsNull

func (n *NullableBitVector) IsNull(index uint) bool

func (*NullableBitVector) Value

func (nb *NullableBitVector) Value(index uint) interface{}

type NullableDataVector

type NullableDataVector interface {
	DataVector
	IsNull(index uint) bool
	GetNullBytemap() []byte
}

type NullableDateVector

type NullableDateVector struct {
	*NullableTimestampVector
}

func NewNullableDateVector

func NewNullableDateVector(data []byte, meta *shared.SerializedField) *NullableDateVector

func (*NullableDateVector) Get

func (nv *NullableDateVector) Get(index uint) *time.Time

func (NullableDateVector) GetNullBytemap

func (n NullableDateVector) GetNullBytemap() []byte

func (NullableDateVector) GetRawBytes

func (v NullableDateVector) GetRawBytes() []byte

func (NullableDateVector) IsNull

func (n NullableDateVector) IsNull(index uint) bool

func (*NullableDateVector) Value

func (nv *NullableDateVector) Value(index uint) interface{}

type NullableDecimalVector

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

func NewNullableDecimalVector

func NewNullableDecimalVector(data []byte, meta *shared.SerializedField, traits DecimalTraits) *NullableDecimalVector

func (*NullableDecimalVector) Get

func (dv *NullableDecimalVector) Get(index uint) *big.Float

func (NullableDecimalVector) GetNullBytemap

func (nv NullableDecimalVector) GetNullBytemap() []byte

func (*NullableDecimalVector) Value

func (dv *NullableDecimalVector) Value(index uint) interface{}

type NullableFloat32Vector

type NullableFloat32Vector struct {
	*Float32Vector
	// contains filtered or unexported fields
}

func NewNullableFloat32Vector

func NewNullableFloat32Vector(data []byte, meta *shared.SerializedField) *NullableFloat32Vector

func (*NullableFloat32Vector) Get

func (nv *NullableFloat32Vector) Get(index uint) *float32

func (*NullableFloat32Vector) GetNullBytemap

func (n *NullableFloat32Vector) GetNullBytemap() []byte

func (NullableFloat32Vector) GetRawBytes

func (v NullableFloat32Vector) GetRawBytes() []byte

func (*NullableFloat32Vector) IsNull

func (n *NullableFloat32Vector) IsNull(index uint) bool

func (*NullableFloat32Vector) Value

func (nv *NullableFloat32Vector) Value(index uint) interface{}

type NullableFloat64Vector

type NullableFloat64Vector struct {
	*Float64Vector
	// contains filtered or unexported fields
}

func NewNullableFloat64Vector

func NewNullableFloat64Vector(data []byte, meta *shared.SerializedField) *NullableFloat64Vector

func (*NullableFloat64Vector) Get

func (nv *NullableFloat64Vector) Get(index uint) *float64

func (*NullableFloat64Vector) GetNullBytemap

func (n *NullableFloat64Vector) GetNullBytemap() []byte

func (NullableFloat64Vector) GetRawBytes

func (v NullableFloat64Vector) GetRawBytes() []byte

func (*NullableFloat64Vector) IsNull

func (n *NullableFloat64Vector) IsNull(index uint) bool

func (*NullableFloat64Vector) Value

func (nv *NullableFloat64Vector) Value(index uint) interface{}

type NullableInt16Vector

type NullableInt16Vector struct {
	*Int16Vector
	// contains filtered or unexported fields
}

func NewNullableInt16Vector

func NewNullableInt16Vector(data []byte, meta *shared.SerializedField) *NullableInt16Vector

func (*NullableInt16Vector) Get

func (nv *NullableInt16Vector) Get(index uint) *int16

func (*NullableInt16Vector) GetNullBytemap

func (n *NullableInt16Vector) GetNullBytemap() []byte

func (NullableInt16Vector) GetRawBytes

func (v NullableInt16Vector) GetRawBytes() []byte

func (*NullableInt16Vector) IsNull

func (n *NullableInt16Vector) IsNull(index uint) bool

func (*NullableInt16Vector) Value

func (nv *NullableInt16Vector) Value(index uint) interface{}

type NullableInt32Vector

type NullableInt32Vector struct {
	*Int32Vector
	// contains filtered or unexported fields
}

func NewNullableInt32Vector

func NewNullableInt32Vector(data []byte, meta *shared.SerializedField) *NullableInt32Vector

func (*NullableInt32Vector) Get

func (nv *NullableInt32Vector) Get(index uint) *int32

func (*NullableInt32Vector) GetNullBytemap

func (n *NullableInt32Vector) GetNullBytemap() []byte

func (NullableInt32Vector) GetRawBytes

func (v NullableInt32Vector) GetRawBytes() []byte

func (*NullableInt32Vector) IsNull

func (n *NullableInt32Vector) IsNull(index uint) bool

func (*NullableInt32Vector) Value

func (nv *NullableInt32Vector) Value(index uint) interface{}

type NullableInt64Vector

type NullableInt64Vector struct {
	*Int64Vector
	// contains filtered or unexported fields
}

func NewNullableInt64Vector

func NewNullableInt64Vector(data []byte, meta *shared.SerializedField) *NullableInt64Vector

func (*NullableInt64Vector) Get

func (nv *NullableInt64Vector) Get(index uint) *int64

func (*NullableInt64Vector) GetNullBytemap

func (n *NullableInt64Vector) GetNullBytemap() []byte

func (NullableInt64Vector) GetRawBytes

func (v NullableInt64Vector) GetRawBytes() []byte

func (*NullableInt64Vector) IsNull

func (n *NullableInt64Vector) IsNull(index uint) bool

func (*NullableInt64Vector) Value

func (nv *NullableInt64Vector) Value(index uint) interface{}

type NullableInt8Vector

type NullableInt8Vector struct {
	*Int8Vector
	// contains filtered or unexported fields
}

func NewNullableInt8Vector

func NewNullableInt8Vector(data []byte, meta *shared.SerializedField) *NullableInt8Vector

func (*NullableInt8Vector) Get

func (nv *NullableInt8Vector) Get(index uint) *int8

func (*NullableInt8Vector) GetNullBytemap

func (n *NullableInt8Vector) GetNullBytemap() []byte

func (NullableInt8Vector) GetRawBytes

func (v NullableInt8Vector) GetRawBytes() []byte

func (*NullableInt8Vector) IsNull

func (n *NullableInt8Vector) IsNull(index uint) bool

func (*NullableInt8Vector) Value

func (nv *NullableInt8Vector) Value(index uint) interface{}

type NullableTimeVector

type NullableTimeVector struct {
	*NullableInt32Vector
}

func NewNullableTimeVector

func NewNullableTimeVector(data []byte, meta *shared.SerializedField) *NullableTimeVector

func (*NullableTimeVector) Get

func (v *NullableTimeVector) Get(index uint) *time.Time

func (NullableTimeVector) GetNullBytemap

func (n NullableTimeVector) GetNullBytemap() []byte

func (NullableTimeVector) GetRawBytes

func (v NullableTimeVector) GetRawBytes() []byte

func (NullableTimeVector) IsNull

func (n NullableTimeVector) IsNull(index uint) bool

func (NullableTimeVector) Type

func (*NullableTimeVector) Value

func (v *NullableTimeVector) Value(index uint) interface{}

type NullableTimestampVector

type NullableTimestampVector struct {
	*NullableInt64Vector
}

func NewNullableTimestampVector

func NewNullableTimestampVector(data []byte, meta *shared.SerializedField) *NullableTimestampVector

func (*NullableTimestampVector) Get

func (v *NullableTimestampVector) Get(index uint) *time.Time

func (NullableTimestampVector) GetNullBytemap

func (n NullableTimestampVector) GetNullBytemap() []byte

func (NullableTimestampVector) GetRawBytes

func (v NullableTimestampVector) GetRawBytes() []byte

func (NullableTimestampVector) IsNull

func (n NullableTimestampVector) IsNull(index uint) bool

func (NullableTimestampVector) Type

func (*NullableTimestampVector) Value

func (v *NullableTimestampVector) Value(index uint) interface{}

type NullableUint16Vector

type NullableUint16Vector struct {
	*Uint16Vector
	// contains filtered or unexported fields
}

func NewNullableUint16Vector

func NewNullableUint16Vector(data []byte, meta *shared.SerializedField) *NullableUint16Vector

func (*NullableUint16Vector) Get

func (nv *NullableUint16Vector) Get(index uint) *uint16

func (*NullableUint16Vector) GetNullBytemap

func (n *NullableUint16Vector) GetNullBytemap() []byte

func (NullableUint16Vector) GetRawBytes

func (v NullableUint16Vector) GetRawBytes() []byte

func (*NullableUint16Vector) IsNull

func (n *NullableUint16Vector) IsNull(index uint) bool

func (*NullableUint16Vector) Value

func (nv *NullableUint16Vector) Value(index uint) interface{}

type NullableUint32Vector

type NullableUint32Vector struct {
	*Uint32Vector
	// contains filtered or unexported fields
}

func NewNullableUint32Vector

func NewNullableUint32Vector(data []byte, meta *shared.SerializedField) *NullableUint32Vector

func (*NullableUint32Vector) Get

func (nv *NullableUint32Vector) Get(index uint) *uint32

func (*NullableUint32Vector) GetNullBytemap

func (n *NullableUint32Vector) GetNullBytemap() []byte

func (NullableUint32Vector) GetRawBytes

func (v NullableUint32Vector) GetRawBytes() []byte

func (*NullableUint32Vector) IsNull

func (n *NullableUint32Vector) IsNull(index uint) bool

func (*NullableUint32Vector) Value

func (nv *NullableUint32Vector) Value(index uint) interface{}

type NullableUint64Vector

type NullableUint64Vector struct {
	*Uint64Vector
	// contains filtered or unexported fields
}

func NewNullableUint64Vector

func NewNullableUint64Vector(data []byte, meta *shared.SerializedField) *NullableUint64Vector

func (*NullableUint64Vector) Get

func (nv *NullableUint64Vector) Get(index uint) *uint64

func (*NullableUint64Vector) GetNullBytemap

func (n *NullableUint64Vector) GetNullBytemap() []byte

func (NullableUint64Vector) GetRawBytes

func (v NullableUint64Vector) GetRawBytes() []byte

func (*NullableUint64Vector) IsNull

func (n *NullableUint64Vector) IsNull(index uint) bool

func (*NullableUint64Vector) Value

func (nv *NullableUint64Vector) Value(index uint) interface{}

type NullableUint8Vector

type NullableUint8Vector struct {
	*Uint8Vector
	// contains filtered or unexported fields
}

func NewNullableUint8Vector

func NewNullableUint8Vector(data []byte, meta *shared.SerializedField) *NullableUint8Vector

func (*NullableUint8Vector) Get

func (nv *NullableUint8Vector) Get(index uint) *uint8

func (*NullableUint8Vector) GetNullBytemap

func (n *NullableUint8Vector) GetNullBytemap() []byte

func (NullableUint8Vector) GetRawBytes

func (v NullableUint8Vector) GetRawBytes() []byte

func (*NullableUint8Vector) IsNull

func (n *NullableUint8Vector) IsNull(index uint) bool

func (*NullableUint8Vector) Value

func (nv *NullableUint8Vector) Value(index uint) interface{}

type NullableVarcharVector

type NullableVarcharVector struct {
	*VarcharVector
	// contains filtered or unexported fields
}

func NewNullableVarcharVector

func NewNullableVarcharVector(data []byte, meta *shared.SerializedField) *NullableVarcharVector

func (*NullableVarcharVector) Get

func (nv *NullableVarcharVector) Get(index uint) *string

func (*NullableVarcharVector) GetNullBytemap

func (n *NullableVarcharVector) GetNullBytemap() []byte

func (NullableVarcharVector) GetRawBytes

func (v NullableVarcharVector) GetRawBytes() []byte

func (*NullableVarcharVector) IsNull

func (n *NullableVarcharVector) IsNull(index uint) bool

func (*NullableVarcharVector) Value

func (nv *NullableVarcharVector) Value(index uint) interface{}

type TimeVector

type TimeVector struct {
	*Int32Vector
}

func NewTimeVector

func NewTimeVector(date []byte, meta *shared.SerializedField) *TimeVector

func (*TimeVector) Get

func (t *TimeVector) Get(index uint) time.Time

func (TimeVector) GetRawBytes

func (v TimeVector) GetRawBytes() []byte

func (TimeVector) Type

func (TimeVector) Type() reflect.Type

func (*TimeVector) Value

func (t *TimeVector) Value(index uint) interface{}

type TimestampVector

type TimestampVector struct {
	*Int64Vector
}

func NewTimestampVector

func NewTimestampVector(data []byte, meta *shared.SerializedField) *TimestampVector

func (*TimestampVector) Get

func (v *TimestampVector) Get(index uint) time.Time

func (TimestampVector) GetRawBytes

func (v TimestampVector) GetRawBytes() []byte

func (TimestampVector) Type

func (TimestampVector) Type() reflect.Type

func (*TimestampVector) Value

func (v *TimestampVector) Value(index uint) interface{}

type Uint16Vector

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

func NewUint16Vector

func NewUint16Vector(data []byte, meta *shared.SerializedField) *Uint16Vector

func (*Uint16Vector) Get

func (v *Uint16Vector) Get(index uint) uint16

func (*Uint16Vector) GetRawBytes

func (v *Uint16Vector) GetRawBytes() []byte

func (*Uint16Vector) Len

func (v *Uint16Vector) Len() int

func (Uint16Vector) Type

func (Uint16Vector) Type() reflect.Type

func (Uint16Vector) TypeLen

func (Uint16Vector) TypeLen() (int64, bool)

func (*Uint16Vector) Value

func (v *Uint16Vector) Value(index uint) interface{}

type Uint32Vector

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

func NewUint32Vector

func NewUint32Vector(data []byte, meta *shared.SerializedField) *Uint32Vector

func (*Uint32Vector) Get

func (v *Uint32Vector) Get(index uint) uint32

func (*Uint32Vector) GetRawBytes

func (v *Uint32Vector) GetRawBytes() []byte

func (*Uint32Vector) Len

func (v *Uint32Vector) Len() int

func (Uint32Vector) Type

func (Uint32Vector) Type() reflect.Type

func (Uint32Vector) TypeLen

func (Uint32Vector) TypeLen() (int64, bool)

func (*Uint32Vector) Value

func (v *Uint32Vector) Value(index uint) interface{}

type Uint64Vector

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

func NewUint64Vector

func NewUint64Vector(data []byte, meta *shared.SerializedField) *Uint64Vector

func (*Uint64Vector) Get

func (v *Uint64Vector) Get(index uint) uint64

func (*Uint64Vector) GetRawBytes

func (v *Uint64Vector) GetRawBytes() []byte

func (*Uint64Vector) Len

func (v *Uint64Vector) Len() int

func (Uint64Vector) Type

func (Uint64Vector) Type() reflect.Type

func (Uint64Vector) TypeLen

func (Uint64Vector) TypeLen() (int64, bool)

func (*Uint64Vector) Value

func (v *Uint64Vector) Value(index uint) interface{}

type Uint8Vector

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

func NewUint8Vector

func NewUint8Vector(data []byte, meta *shared.SerializedField) *Uint8Vector

func (*Uint8Vector) Get

func (v *Uint8Vector) Get(index uint) uint8

func (*Uint8Vector) GetRawBytes

func (v *Uint8Vector) GetRawBytes() []byte

func (*Uint8Vector) Len

func (v *Uint8Vector) Len() int

func (Uint8Vector) Type

func (Uint8Vector) Type() reflect.Type

func (Uint8Vector) TypeLen

func (Uint8Vector) TypeLen() (int64, bool)

func (*Uint8Vector) Value

func (v *Uint8Vector) Value(index uint) interface{}

type VarbinaryVector

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

func NewVarbinaryVector

func NewVarbinaryVector(data []byte, meta *shared.SerializedField) *VarbinaryVector

func (*VarbinaryVector) Get

func (v *VarbinaryVector) Get(index uint) []byte

func (*VarbinaryVector) GetRawBytes

func (v *VarbinaryVector) GetRawBytes() []byte

func (*VarbinaryVector) Len

func (v *VarbinaryVector) Len() int

func (VarbinaryVector) Type

func (VarbinaryVector) Type() reflect.Type

func (VarbinaryVector) TypeLen

func (VarbinaryVector) TypeLen() (int64, bool)

func (*VarbinaryVector) Value

func (v *VarbinaryVector) Value(index uint) interface{}

type VarcharVector

type VarcharVector struct {
	*VarbinaryVector
}

func NewVarcharVector

func NewVarcharVector(data []byte, meta *shared.SerializedField) *VarcharVector

func (*VarcharVector) Get

func (v *VarcharVector) Get(index uint) string

func (VarcharVector) GetRawBytes

func (v VarcharVector) GetRawBytes() []byte

func (VarcharVector) Type

func (VarcharVector) Type() reflect.Type

Jump to

Keyboard shortcuts

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