Versions in this module Expand all Collapse all v0 v0.0.1 Apr 29, 2022 Changes in this version + func ConvertTimestampValue(in, out arrow.TimeUnit, value int64) int64 + func Equals(left, right Scalar) bool + func Hash(seed maphash.Seed, s Scalar) uint64 + func MakeArrayFromScalar(sc Scalar, length int, mem memory.Allocator) (array.Interface, error) + func MakeArrayOfNull(dt arrow.DataType, length int, mem memory.Allocator) array.Interface + type Binary struct + Value *memory.Buffer + func NewBinaryScalar(val *memory.Buffer, typ arrow.DataType) *Binary + func (b *Binary) CastTo(to arrow.DataType) (Scalar, error) + func (b *Binary) Data() []byte + func (b *Binary) Release() + func (b *Binary) Retain() + func (b *Binary) String() string + func (b *Binary) Validate() (err error) + func (b *Binary) ValidateFull() error + func (s *Binary) IsValid() bool + func (s Binary) DataType() arrow.DataType + type BinaryScalar interface + Data func() []byte + Release func() + Retain func() + type Boolean struct + Value bool + func NewBooleanScalar(val bool) *Boolean + func (s *Boolean) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Boolean) Data() []byte + func (s *Boolean) IsValid() bool + func (s *Boolean) String() string + func (s *Boolean) Validate() error + func (s *Boolean) ValidateFull() error + func (s Boolean) DataType() arrow.DataType + type Date32 struct + Value arrow.Date32 + func NewDate32Scalar(val arrow.Date32) *Date32 + func (s *Date32) CastTo(to arrow.DataType) (Scalar, error) + func (s *Date32) Data() []byte + func (s *Date32) IsValid() bool + func (s *Date32) String() string + func (s *Date32) Validate() error + func (s *Date32) ValidateFull() error + func (s Date32) DataType() arrow.DataType + type Date64 struct + Value arrow.Date64 + func NewDate64Scalar(val arrow.Date64) *Date64 + func (s *Date64) CastTo(to arrow.DataType) (Scalar, error) + func (s *Date64) Data() []byte + func (s *Date64) IsValid() bool + func (s *Date64) String() string + func (s *Date64) Validate() error + func (s *Date64) ValidateFull() error + func (s Date64) DataType() arrow.DataType + type DateScalar interface + type DayTimeInterval struct + Value arrow.DayTimeInterval + func NewDayTimeIntervalScalar(val arrow.DayTimeInterval) *DayTimeInterval + func (s *DayTimeInterval) CastTo(to arrow.DataType) (Scalar, error) + func (s *DayTimeInterval) Data() []byte + func (s *DayTimeInterval) IsValid() bool + func (s *DayTimeInterval) String() string + func (s *DayTimeInterval) Validate() error + func (s *DayTimeInterval) ValidateFull() error + func (s DayTimeInterval) DataType() arrow.DataType + type Decimal128 struct + Value decimal128.Num + func NewDecimal128Scalar(val decimal128.Num, typ arrow.DataType) *Decimal128 + func (s *Decimal128) CastTo(to arrow.DataType) (Scalar, error) + func (s *Decimal128) IsValid() bool + func (s *Decimal128) String() string + func (s *Decimal128) Validate() error + func (s *Decimal128) ValidateFull() error + func (s Decimal128) DataType() arrow.DataType + type Duration struct + Value arrow.Duration + func NewDurationScalar(val arrow.Duration, typ arrow.DataType) *Duration + func (s *Duration) CastTo(to arrow.DataType) (Scalar, error) + func (s *Duration) Data() []byte + func (s *Duration) IsValid() bool + func (s *Duration) String() string + func (s *Duration) Unit() arrow.TimeUnit + func (s *Duration) Validate() error + func (s *Duration) ValidateFull() error + func (s Duration) DataType() arrow.DataType + type Extension struct + Value Scalar + func NewExtensionScalar(storage Scalar, typ arrow.DataType) *Extension + func (e *Extension) Validate() (err error) + func (e *Extension) ValidateFull() error + func (s *Extension) CastTo(to arrow.DataType) (Scalar, error) + func (s *Extension) IsValid() bool + func (s *Extension) String() string + func (s Extension) DataType() arrow.DataType + type FixedSizeBinary struct + func NewFixedSizeBinaryScalar(val *memory.Buffer, typ arrow.DataType) *FixedSizeBinary + func (b *FixedSizeBinary) Validate() (err error) + func (b *FixedSizeBinary) ValidateFull() error + func (s FixedSizeBinary) DataType() arrow.DataType + func (s FixedSizeBinary) IsValid() bool + type FixedSizeList struct + func NewFixedSizeListScalar(val array.Interface) *FixedSizeList + func NewFixedSizeListScalarWithType(val array.Interface, typ arrow.DataType) *FixedSizeList + func (f *FixedSizeList) Validate() (err error) + func (f *FixedSizeList) ValidateFull() error + func (s FixedSizeList) DataType() arrow.DataType + func (s FixedSizeList) IsValid() bool + type Float16 struct + Value float16.Num + func NewFloat16Scalar(val float16.Num) *Float16 + func NewFloat16ScalarFromFloat32(val float32) *Float16 + func (f *Float16) CastTo(to arrow.DataType) (Scalar, error) + func (f *Float16) Data() []byte + func (s *Float16) IsValid() bool + func (s *Float16) String() string + func (s *Float16) Validate() error + func (s *Float16) ValidateFull() error + func (s Float16) DataType() arrow.DataType + type Float32 struct + Value float32 + func NewFloat32Scalar(val float32) *Float32 + func (s *Float32) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Float32) Data() []byte + func (s *Float32) IsValid() bool + func (s *Float32) String() string + func (s *Float32) Validate() error + func (s *Float32) ValidateFull() error + func (s Float32) DataType() arrow.DataType + type Float64 struct + Value float64 + func NewFloat64Scalar(val float64) *Float64 + func (s *Float64) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Float64) Data() []byte + func (s *Float64) IsValid() bool + func (s *Float64) String() string + func (s *Float64) Validate() error + func (s *Float64) ValidateFull() error + func (s Float64) DataType() arrow.DataType + type Int16 struct + Value int16 + func NewInt16Scalar(val int16) *Int16 + func (s *Int16) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Int16) Data() []byte + func (s *Int16) IsValid() bool + func (s *Int16) String() string + func (s *Int16) Validate() error + func (s *Int16) ValidateFull() error + func (s Int16) DataType() arrow.DataType + type Int32 struct + Value int32 + func NewInt32Scalar(val int32) *Int32 + func (s *Int32) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Int32) Data() []byte + func (s *Int32) IsValid() bool + func (s *Int32) String() string + func (s *Int32) Validate() error + func (s *Int32) ValidateFull() error + func (s Int32) DataType() arrow.DataType + type Int64 struct + Value int64 + func NewInt64Scalar(val int64) *Int64 + func (s *Int64) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Int64) Data() []byte + func (s *Int64) IsValid() bool + func (s *Int64) String() string + func (s *Int64) Validate() error + func (s *Int64) ValidateFull() error + func (s Int64) DataType() arrow.DataType + type Int8 struct + Value int8 + func NewInt8Scalar(val int8) *Int8 + func (s *Int8) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Int8) Data() []byte + func (s *Int8) IsValid() bool + func (s *Int8) String() string + func (s *Int8) Validate() error + func (s *Int8) ValidateFull() error + func (s Int8) DataType() arrow.DataType + type IntervalScalar interface + type List struct + Value array.Interface + func NewListScalar(val array.Interface) *List + func (l *List) CastTo(to arrow.DataType) (Scalar, error) + func (l *List) GetList() array.Interface + func (l *List) Release() + func (l *List) Retain() + func (l *List) String() string + func (l *List) Validate() (err error) + func (l *List) ValidateFull() error + func (s *List) IsValid() bool + func (s List) DataType() arrow.DataType + type ListScalar interface + GetList func() array.Interface + Release func() + Retain func() + type Map struct + func NewMapScalar(val array.Interface) *Map + func (s Map) DataType() arrow.DataType + func (s Map) IsValid() bool + type MonthDayNanoInterval struct + Value arrow.MonthDayNanoInterval + func NewMonthDayNanoIntervalScalar(val arrow.MonthDayNanoInterval) *MonthDayNanoInterval + func (s *MonthDayNanoInterval) CastTo(to arrow.DataType) (Scalar, error) + func (s *MonthDayNanoInterval) Data() []byte + func (s *MonthDayNanoInterval) IsValid() bool + func (s *MonthDayNanoInterval) String() string + func (s *MonthDayNanoInterval) Validate() error + func (s *MonthDayNanoInterval) ValidateFull() error + func (s MonthDayNanoInterval) DataType() arrow.DataType + type MonthInterval struct + Value arrow.MonthInterval + func NewMonthIntervalScalar(val arrow.MonthInterval) *MonthInterval + func (s *MonthInterval) CastTo(to arrow.DataType) (Scalar, error) + func (s *MonthInterval) Data() []byte + func (s *MonthInterval) IsValid() bool + func (s *MonthInterval) String() string + func (s *MonthInterval) Validate() error + func (s *MonthInterval) ValidateFull() error + func (s MonthInterval) DataType() arrow.DataType + type Null struct + var ScalarNull *Null = &Null{ ... } + func (n *Null) CastTo(dt arrow.DataType) (Scalar, error) + func (n *Null) Validate() (err error) + func (n *Null) ValidateFull() error + func (s *Null) IsValid() bool + func (s *Null) String() string + func (s Null) DataType() arrow.DataType + type PrimitiveScalar interface + Data func() []byte + type Releasable interface + Release func() + Retain func() + type Scalar interface + CastTo func(arrow.DataType) (Scalar, error) + DataType func() arrow.DataType + IsValid func() bool + Validate func() error + ValidateFull func() error + func GetScalar(arr array.Interface, idx int) (Scalar, error) + func MakeIntegerScalar(v int64, bitsize int) (Scalar, error) + func MakeNullScalar(dt arrow.DataType) Scalar + func MakeScalar(val interface{}) Scalar + func MakeScalarParam(val interface{}, dt arrow.DataType) (Scalar, error) + func MakeUnsignedIntegerScalar(v uint64, bitsize int) (Scalar, error) + func ParseScalar(dt arrow.DataType, val string) (Scalar, error) + type String struct + func NewStringScalar(val string) *String + func NewStringScalarFromBuffer(val *memory.Buffer) *String + func (s *String) CastTo(to arrow.DataType) (Scalar, error) + func (s *String) Validate() error + func (s *String) ValidateFull() (err error) + func (s String) DataType() arrow.DataType + func (s String) IsValid() bool + type Struct struct + Value Vector + func NewStructScalar(val []Scalar, typ arrow.DataType) *Struct + func NewStructScalarWithNames(val []Scalar, names []string) (*Struct, error) + func (s *Struct) CastTo(to arrow.DataType) (Scalar, error) + func (s *Struct) Field(name string) (Scalar, error) + func (s *Struct) IsValid() bool + func (s *Struct) String() string + func (s *Struct) Validate() (err error) + func (s *Struct) ValidateFull() (err error) + func (s Struct) DataType() arrow.DataType + type TemporalScalar interface + type Time32 struct + Value arrow.Time32 + func NewTime32Scalar(val arrow.Time32, typ arrow.DataType) *Time32 + func (s *Time32) CastTo(to arrow.DataType) (Scalar, error) + func (s *Time32) Data() []byte + func (s *Time32) IsValid() bool + func (s *Time32) String() string + func (s *Time32) Unit() arrow.TimeUnit + func (s *Time32) Validate() error + func (s *Time32) ValidateFull() error + func (s Time32) DataType() arrow.DataType + type Time64 struct + Value arrow.Time64 + func NewTime64Scalar(val arrow.Time64, typ arrow.DataType) *Time64 + func (s *Time64) CastTo(to arrow.DataType) (Scalar, error) + func (s *Time64) Data() []byte + func (s *Time64) IsValid() bool + func (s *Time64) String() string + func (s *Time64) Unit() arrow.TimeUnit + func (s *Time64) Validate() error + func (s *Time64) ValidateFull() error + func (s Time64) DataType() arrow.DataType + type TimeScalar interface + Unit func() arrow.TimeUnit + type Timestamp struct + Value arrow.Timestamp + func NewTimestampScalar(val arrow.Timestamp, typ arrow.DataType) *Timestamp + func (s *Timestamp) CastTo(to arrow.DataType) (Scalar, error) + func (s *Timestamp) Data() []byte + func (s *Timestamp) IsValid() bool + func (s *Timestamp) String() string + func (s *Timestamp) Unit() arrow.TimeUnit + func (s *Timestamp) Validate() error + func (s *Timestamp) ValidateFull() error + func (s Timestamp) DataType() arrow.DataType + type Uint16 struct + Value uint16 + func NewUint16Scalar(val uint16) *Uint16 + func (s *Uint16) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Uint16) Data() []byte + func (s *Uint16) IsValid() bool + func (s *Uint16) String() string + func (s *Uint16) Validate() error + func (s *Uint16) ValidateFull() error + func (s Uint16) DataType() arrow.DataType + type Uint32 struct + Value uint32 + func NewUint32Scalar(val uint32) *Uint32 + func (s *Uint32) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Uint32) Data() []byte + func (s *Uint32) IsValid() bool + func (s *Uint32) String() string + func (s *Uint32) Validate() error + func (s *Uint32) ValidateFull() error + func (s Uint32) DataType() arrow.DataType + type Uint64 struct + Value uint64 + func NewUint64Scalar(val uint64) *Uint64 + func (s *Uint64) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Uint64) Data() []byte + func (s *Uint64) IsValid() bool + func (s *Uint64) String() string + func (s *Uint64) Validate() error + func (s *Uint64) ValidateFull() error + func (s Uint64) DataType() arrow.DataType + type Uint8 struct + Value uint8 + func NewUint8Scalar(val uint8) *Uint8 + func (s *Uint8) CastTo(dt arrow.DataType) (Scalar, error) + func (s *Uint8) Data() []byte + func (s *Uint8) IsValid() bool + func (s *Uint8) String() string + func (s *Uint8) Validate() error + func (s *Uint8) ValidateFull() error + func (s Uint8) DataType() arrow.DataType + type Vector []Scalar Other modules containing this package github.com/aliyun/aliyun-odps-go-sdk