Versions in this module Expand all Collapse all v7 v7.0.1 Jul 14, 2022 v7.0.0 Jan 29, 2022 Changes in this version + const Date32SizeBytes + const Date64SizeBytes + const DayTimeIntervalSizeBytes + const Decimal128SizeBytes + const DurationSizeBytes + const Float16SizeBytes + const Float32SizeBytes + const Float64SizeBytes + const Int16SizeBytes + const Int32SizeBytes + const Int64SizeBytes + const Int8SizeBytes + const MonthDayNanoIntervalSizeBytes + const MonthIntervalSizeBytes + const Time32SizeBytes + const Time64SizeBytes + const TimestampSizeBytes + const Uint16SizeBytes + const Uint32SizeBytes + const Uint64SizeBytes + const Uint8SizeBytes + var BinaryTypes = struct{ ... } + var BooleanTraits booleanTraits + var Date32Traits date32Traits + var Date64Traits date64Traits + var DayTimeIntervalTraits daytimeTraits + var Decimal128Traits decimal128Traits + var DurationTraits durationTraits + var FixedWidthTypes = struct{ ... } + var Float16Traits float16Traits + var Float32Traits float32Traits + var Float64Traits float64Traits + var Int16Traits int16Traits + var Int32Traits int32Traits + var Int64Traits int64Traits + var Int8Traits int8Traits + var MonthDayNanoIntervalTraits monthDayNanoTraits + var MonthIntervalTraits monthTraits + var PrimitiveTypes = struct{ ... } + var Time32Traits time32Traits + var Time64Traits time64Traits + var TimestampTraits timestampTraits + var Uint16Traits uint16Traits + var Uint32Traits uint32Traits + var Uint64Traits uint64Traits + var Uint8Traits uint8Traits + func ConvertTimestampValue(in, out TimeUnit, value int64) int64 + func HashType(seed maphash.Seed, dt DataType) uint64 + func RegisterExtensionType(typ ExtensionType) error + func TypeEqual(left, right DataType, opts ...TypeEqualOption) bool + func UnregisterExtensionType(typName string) error + type Array interface + Data func() ArrayData + DataType func() DataType + IsNull func(i int) bool + IsValid func(i int) bool + Len func() int + NullBitmapBytes func() []byte + NullN func() int + Release func() + Retain func() + type ArrayData interface + Buffers func() []*memory.Buffer + Children func() []ArrayData + DataType func() DataType + Len func() int + NullN func() int + Offset func() int + Release func() + Reset func(newtype DataType, newlength int, newbuffers []*memory.Buffer, ...) + Retain func() + type BinaryDataType interface + type BinaryType struct + func (t *BinaryType) Fingerprint() string + func (t *BinaryType) ID() Type + func (t *BinaryType) Name() string + func (t *BinaryType) String() string + type BooleanType struct + func (t *BooleanType) BitWidth() int + func (t *BooleanType) Fingerprint() string + func (t *BooleanType) ID() Type + func (t *BooleanType) Name() string + func (t *BooleanType) String() string + type Chunked struct + func NewChunked(dtype DataType, chunks []Array) *Chunked + func (a *Chunked) Chunk(i int) Array + func (a *Chunked) Chunks() []Array + func (a *Chunked) DataType() DataType + func (a *Chunked) Len() int + func (a *Chunked) NullN() int + func (a *Chunked) Release() + func (a *Chunked) Retain() + type Column struct + func NewColumn(field Field, chunks *Chunked) *Column + func NewColumnFromArr(field Field, arr Array) Column + func (col *Column) Data() *Chunked + func (col *Column) DataType() DataType + func (col *Column) Field() Field + func (col *Column) Len() int + func (col *Column) Name() string + func (col *Column) NullN() int + func (col *Column) Release() + func (col *Column) Retain() + type DataType interface + Fingerprint func() string + ID func() Type + Name func() string + type Date32 int32 + func Date32FromTime(t time.Time) Date32 + func (d Date32) ToTime() time.Time + type Date32Type struct + func (t *Date32Type) BitWidth() int + func (t *Date32Type) Fingerprint() string + func (t *Date32Type) ID() Type + func (t *Date32Type) Name() string + func (t *Date32Type) String() string + type Date64 int64 + func Date64FromTime(t time.Time) Date64 + func (d Date64) ToTime() time.Time + type Date64Type struct + func (t *Date64Type) BitWidth() int + func (t *Date64Type) Fingerprint() string + func (t *Date64Type) ID() Type + func (t *Date64Type) Name() string + func (t *Date64Type) String() string + type DayTimeInterval struct + Days int32 + Milliseconds int32 + type DayTimeIntervalType struct + func (*DayTimeIntervalType) Fingerprint() string + func (*DayTimeIntervalType) ID() Type + func (*DayTimeIntervalType) Name() string + func (*DayTimeIntervalType) String() string + func (t *DayTimeIntervalType) BitWidth() int + type Decimal128Type struct + Precision int32 + Scale int32 + func (*Decimal128Type) BitWidth() int + func (*Decimal128Type) ID() Type + func (*Decimal128Type) Name() string + func (t *Decimal128Type) Fingerprint() string + func (t *Decimal128Type) String() string + type Duration int64 + type DurationType struct + Unit TimeUnit + func (*DurationType) BitWidth() int + func (*DurationType) ID() Type + func (*DurationType) Name() string + func (t *DurationType) Fingerprint() string + func (t *DurationType) String() string + type ExtensionBase struct + Storage DataType + func (*ExtensionBase) ID() Type + func (*ExtensionBase) Name() string + func (e *ExtensionBase) Fields() []Field + func (e *ExtensionBase) Fingerprint() string + func (e *ExtensionBase) StorageType() DataType + func (e *ExtensionBase) String() string + type ExtensionType interface + ArrayType func() reflect.Type + Deserialize func(storageType DataType, data string) (ExtensionType, error) + ExtensionEquals func(ExtensionType) bool + ExtensionName func() string + Serialize func() string + StorageType func() DataType + func GetExtensionType(typName string) ExtensionType + type Field struct + Metadata Metadata + Name string + Nullable bool + Type DataType + func (f Field) Equal(o Field) bool + func (f Field) Fingerprint() string + func (f Field) HasMetadata() bool + func (f Field) String() string + type FixedSizeBinaryType struct + ByteWidth int + func (*FixedSizeBinaryType) ID() Type + func (*FixedSizeBinaryType) Name() string + func (t *FixedSizeBinaryType) BitWidth() int + func (t *FixedSizeBinaryType) Fingerprint() string + func (t *FixedSizeBinaryType) String() string + type FixedSizeListType struct + func FixedSizeListOf(n int32, t DataType) *FixedSizeListType + func FixedSizeListOfField(n int32, f Field) *FixedSizeListType + func FixedSizeListOfNonNullable(n int32, t DataType) *FixedSizeListType + func (*FixedSizeListType) ID() Type + func (*FixedSizeListType) Name() string + func (t *FixedSizeListType) Elem() DataType + func (t *FixedSizeListType) ElemField() Field + func (t *FixedSizeListType) Fields() []Field + func (t *FixedSizeListType) Fingerprint() string + func (t *FixedSizeListType) Len() int32 + func (t *FixedSizeListType) String() string + type FixedWidthDataType interface + BitWidth func() int + type Float16Type struct + func (t *Float16Type) BitWidth() int + func (t *Float16Type) Fingerprint() string + func (t *Float16Type) ID() Type + func (t *Float16Type) Name() string + func (t *Float16Type) String() string + type Float32Type struct + func (t *Float32Type) BitWidth() int + func (t *Float32Type) Fingerprint() string + func (t *Float32Type) ID() Type + func (t *Float32Type) Name() string + func (t *Float32Type) String() string + type Float64Type struct + func (t *Float64Type) BitWidth() int + func (t *Float64Type) Fingerprint() string + func (t *Float64Type) ID() Type + func (t *Float64Type) Name() string + func (t *Float64Type) String() string + type Int16Type struct + func (t *Int16Type) BitWidth() int + func (t *Int16Type) Fingerprint() string + func (t *Int16Type) ID() Type + func (t *Int16Type) Name() string + func (t *Int16Type) String() string + type Int32Type struct + func (t *Int32Type) BitWidth() int + func (t *Int32Type) Fingerprint() string + func (t *Int32Type) ID() Type + func (t *Int32Type) Name() string + func (t *Int32Type) String() string + type Int64Type struct + func (t *Int64Type) BitWidth() int + func (t *Int64Type) Fingerprint() string + func (t *Int64Type) ID() Type + func (t *Int64Type) Name() string + func (t *Int64Type) String() string + type Int8Type struct + func (t *Int8Type) BitWidth() int + func (t *Int8Type) Fingerprint() string + func (t *Int8Type) ID() Type + func (t *Int8Type) Name() string + func (t *Int8Type) String() string + type ListType struct + func ListOf(t DataType) *ListType + func ListOfField(f Field) *ListType + func ListOfNonNullable(t DataType) *ListType + func (*ListType) ID() Type + func (*ListType) Name() string + func (t *ListType) Elem() DataType + func (t *ListType) ElemField() Field + func (t *ListType) Fields() []Field + func (t *ListType) Fingerprint() string + func (t *ListType) SetElemMetadata(md Metadata) + func (t *ListType) SetElemNullable(n bool) + func (t *ListType) String() string + type MapType struct + KeysSorted bool + func MapOf(key, item DataType) *MapType + func (*MapType) ID() Type + func (*MapType) Name() string + func (t *MapType) Fields() []Field + func (t *MapType) Fingerprint() string + func (t *MapType) ItemField() Field + func (t *MapType) ItemType() DataType + func (t *MapType) KeyField() Field + func (t *MapType) KeyType() DataType + func (t *MapType) SetItemNullable(nullable bool) + func (t *MapType) String() string + func (t *MapType) ValueField() Field + func (t *MapType) ValueType() *StructType + type Metadata struct + func MetadataFrom(kv map[string]string) Metadata + func NewMetadata(keys, values []string) Metadata + func (md Metadata) Equal(rhs Metadata) bool + func (md Metadata) FindKey(k string) int + func (md Metadata) Keys() []string + func (md Metadata) Len() int + func (md Metadata) String() string + func (md Metadata) Values() []string + type MonthDayNanoInterval struct + Days int32 + Months int32 + Nanoseconds int64 + type MonthDayNanoIntervalType struct + func (*MonthDayNanoIntervalType) BitWidth() int + func (*MonthDayNanoIntervalType) Fingerprint() string + func (*MonthDayNanoIntervalType) ID() Type + func (*MonthDayNanoIntervalType) Name() string + func (*MonthDayNanoIntervalType) String() string + type MonthInterval int32 + func (m *MonthInterval) UnmarshalJSON(data []byte) error + func (m MonthInterval) MarshalJSON() ([]byte, error) + type MonthIntervalType struct + func (*MonthIntervalType) Fingerprint() string + func (*MonthIntervalType) ID() Type + func (*MonthIntervalType) Name() string + func (*MonthIntervalType) String() string + func (t *MonthIntervalType) BitWidth() int + type NestedType interface + Fields func() []Field + type NullType struct + var Null *NullType + func (*NullType) Fingerprint() string + func (*NullType) ID() Type + func (*NullType) Name() string + func (*NullType) String() string + type Record interface + Column func(i int) Array + ColumnName func(i int) string + Columns func() []Array + NewSlice func(i, j int64) Record + NumCols func() int64 + NumRows func() int64 + Release func() + Retain func() + Schema func() *Schema + type Schema struct + func NewSchema(fields []Field, metadata *Metadata) *Schema + func (s *Schema) Fingerprint() string + func (s *Schema) String() string + func (sc *Schema) Equal(o *Schema) bool + func (sc *Schema) Field(i int) Field + func (sc *Schema) FieldIndices(n string) []int + func (sc *Schema) Fields() []Field + func (sc *Schema) FieldsByName(n string) ([]Field, bool) + func (sc *Schema) HasField(n string) bool + func (sc *Schema) HasMetadata() bool + func (sc *Schema) Metadata() Metadata + type StringType struct + func (t *StringType) Fingerprint() string + func (t *StringType) ID() Type + func (t *StringType) Name() string + func (t *StringType) String() string + type StructType struct + func StructOf(fs ...Field) *StructType + func (*StructType) ID() Type + func (*StructType) Name() string + func (t *StructType) Field(i int) Field + func (t *StructType) FieldByName(name string) (Field, bool) + func (t *StructType) FieldIdx(name string) (int, bool) + func (t *StructType) Fields() []Field + func (t *StructType) Fingerprint() string + func (t *StructType) String() string + type Table interface + Column func(i int) *Column + NumCols func() int64 + NumRows func() int64 + Release func() + Retain func() + Schema func() *Schema + type Time32 int32 + func Time32FromString(val string, unit TimeUnit) (Time32, error) + func (t Time32) ToTime(unit TimeUnit) time.Time + type Time32Type struct + Unit TimeUnit + func (*Time32Type) BitWidth() int + func (*Time32Type) ID() Type + func (*Time32Type) Name() string + func (t *Time32Type) Fingerprint() string + func (t *Time32Type) String() string + type Time64 int64 + func Time64FromString(val string, unit TimeUnit) (Time64, error) + func (t Time64) ToTime(unit TimeUnit) time.Time + type Time64Type struct + Unit TimeUnit + func (*Time64Type) BitWidth() int + func (*Time64Type) ID() Type + func (*Time64Type) Name() string + func (t *Time64Type) Fingerprint() string + func (t *Time64Type) String() string + type TimeUnit int + const Microsecond + const Millisecond + const Nanosecond + const Second + func (u TimeUnit) Multiplier() time.Duration + func (u TimeUnit) String() string + type Timestamp int64 + func TimestampFromString(val string, unit TimeUnit) (Timestamp, error) + func (t Timestamp) ToTime(unit TimeUnit) time.Time + type TimestampType struct + TimeZone string + Unit TimeUnit + func (*TimestampType) BitWidth() int + func (*TimestampType) ID() Type + func (*TimestampType) Name() string + func (t *TimestampType) Fingerprint() string + func (t *TimestampType) String() string + type Type int + const BINARY + const BOOL + const DATE32 + const DATE64 + const DECIMAL + const DECIMAL128 + const DECIMAL256 + const DENSE_UNION + const DICTIONARY + const DURATION + const EXTENSION + const FIXED_SIZE_BINARY + const FIXED_SIZE_LIST + const FLOAT16 + const FLOAT32 + const FLOAT64 + const INT16 + const INT32 + const INT64 + const INT8 + const INTERVAL + const INTERVAL_DAY_TIME + const INTERVAL_MONTHS + const INTERVAL_MONTH_DAY_NANO + const LARGE_BINARY + const LARGE_LIST + const LARGE_STRING + const LIST + const MAP + const NULL + const SPARSE_UNION + const STRING + const STRUCT + const TIME32 + const TIME64 + const TIMESTAMP + const UINT16 + const UINT32 + const UINT64 + const UINT8 + func (i Type) String() string + type TypeEqualOption func(*typeEqualsConfig) + func CheckMetadata() TypeEqualOption + type Uint16Type struct + func (t *Uint16Type) BitWidth() int + func (t *Uint16Type) Fingerprint() string + func (t *Uint16Type) ID() Type + func (t *Uint16Type) Name() string + func (t *Uint16Type) String() string + type Uint32Type struct + func (t *Uint32Type) BitWidth() int + func (t *Uint32Type) Fingerprint() string + func (t *Uint32Type) ID() Type + func (t *Uint32Type) Name() string + func (t *Uint32Type) String() string + type Uint64Type struct + func (t *Uint64Type) BitWidth() int + func (t *Uint64Type) Fingerprint() string + func (t *Uint64Type) ID() Type + func (t *Uint64Type) Name() string + func (t *Uint64Type) String() string + type Uint8Type struct + func (t *Uint8Type) BitWidth() int + func (t *Uint8Type) Fingerprint() string + func (t *Uint8Type) ID() Type + func (t *Uint8Type) Name() string + func (t *Uint8Type) String() string Other modules containing this package github.com/apache/arrow/go/v10 github.com/apache/arrow/go/v11 github.com/apache/arrow/go/v12 github.com/apache/arrow/go/v13 github.com/apache/arrow/go/v14 github.com/apache/arrow/go/v15 github.com/apache/arrow/go/v16 github.com/apache/arrow/go/v17 github.com/apache/arrow/go/v6 github.com/apache/arrow/go/v8 github.com/apache/arrow/go/v9