Versions in this module Expand all Collapse all v18 v18.0.0 Oct 15, 2024 Changes in this version + const ConvDIVIDE + const ConvMULTIPLY + const Date32SizeBytes + const Date64SizeBytes + const DayTimeIntervalSizeBytes + const Decimal128SizeBytes + const Decimal256SizeBytes + const Decimal32SizeBytes + const Decimal64SizeBytes + const DenseMode + const DurationSizeBytes + const Float16SizeBytes + const Float32SizeBytes + const Float64SizeBytes + const Int16SizeBytes + const Int32SizeBytes + const Int64SizeBytes + const Int8SizeBytes + const InvalidUnionChildID + const MaxUnionTypeCode + const MonthDayNanoIntervalSizeBytes + const MonthIntervalSizeBytes + const PkgVersion + const SparseMode + const Time32SizeBytes + const Time64SizeBytes + const TimestampSizeBytes + const Uint16SizeBytes + const Uint32SizeBytes + const Uint64SizeBytes + const Uint8SizeBytes + const ViewHeaderSizeBytes + const ViewPrefixLen + var BinaryTypes = struct{ ... } + var BooleanTraits booleanTraits + var Date32Traits date32Traits + var Date64Traits date64Traits + var DayTimeIntervalTraits daytimeTraits + var Decimal128Traits decimal128Traits + var Decimal256Traits decimal256Traits + var Decimal32Traits decimal32Traits + var Decimal64Traits decimal64Traits + var DurationTraits durationTraits + var ErrIndex = errors.New("index error") + var ErrInvalid = errors.New("invalid") + var ErrKey = errors.New("key error") + var ErrNotFound = errors.New("not found") + var ErrNotImplemented = errors.New("not implemented") + var ErrType = errors.New("type error") + 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 TimeUnitValues = []TimeUnit + var TimestampTraits timestampTraits + var Uint16Traits uint16Traits + var Uint32Traits uint32Traits + var Uint64Traits uint64Traits + var Uint8Traits uint8Traits + var ViewHeaderTraits viewHeaderTraits + func ConvertTimestampValue(in, out TimeUnit, value int64) int64 + func GetBytes[T FixedWidthType | ViewHeader](in []T) []byte + func GetData[T FixedWidthType | ViewHeader](in []byte) []T + func GetOffsets[T int32 | int64](data ArrayData, i int) []T + func GetValues[T FixedWidthType](data ArrayData, i int) []T + func HashType(seed maphash.Seed, dt DataType) uint64 + func IsBaseBinary(t Type) bool + func IsBinaryLike(t Type) bool + func IsDecimal(t Type) bool + func IsFixedSizeBinary(t Type) bool + func IsFloating(t Type) bool + func IsInteger(t Type) bool + func IsLargeBinaryLike(t Type) bool + func IsListLike(t Type) bool + func IsNested(t Type) bool + func IsPrimitive(t Type) bool + func IsSignedInteger(t Type) bool + func IsUnion(t Type) bool + func IsUnsignedInteger(t Type) bool + func IsViewInline(length int) bool + func RegisterExtensionType(typ ExtensionType) error + func TypeEqual(left, right DataType, opts ...TypeEqualOption) bool + func TypesToString(types []DataType) string + func UnregisterExtensionType(typName string) error + type Array interface + Data func() ArrayData + DataType func() DataType + GetOneForMarshal func(i int) interface{} + IsNull func(i int) bool + IsValid func(i int) bool + Len func() int + NullBitmapBytes func() []byte + NullN func() int + Release func() + Retain func() + ValueStr func(i int) string + type ArrayData interface + Buffers func() []*memory.Buffer + Children func() []ArrayData + DataType func() DataType + Dictionary func() ArrayData + Len func() int + NullN func() int + Offset func() int + Release func() + Reset func(newtype DataType, newlength int, newbuffers []*memory.Buffer, ...) + Retain func() + SizeInBytes func() uint64 + type BinaryDataType interface + IsUtf8 func() bool + type BinaryType struct + func (BinaryType) IsUtf8() bool + func (t *BinaryType) Fingerprint() string + func (t *BinaryType) ID() Type + func (t *BinaryType) Layout() DataTypeLayout + func (t *BinaryType) Name() string + func (t *BinaryType) OffsetTypeTraits() OffsetTraits + func (t *BinaryType) String() string + type BinaryViewDataType interface + type BinaryViewType struct + func (*BinaryViewType) ID() Type + func (*BinaryViewType) IsUtf8() bool + func (*BinaryViewType) Layout() DataTypeLayout + func (*BinaryViewType) Name() string + func (*BinaryViewType) String() string + func (t *BinaryViewType) Fingerprint() string + type BooleanType struct + func (BooleanType) Bytes() int + func (BooleanType) Layout() DataTypeLayout + 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 BufferKind int8 + const KindAlwaysNull + const KindBitmap + const KindFixedWidth + const KindVarWidth + type BufferSpec struct + ByteWidth int + Kind BufferKind + func SpecAlwaysNull() BufferSpec + func SpecBitmap() BufferSpec + func SpecFixedWidth(w int) BufferSpec + func SpecVariableWidth() BufferSpec + func (b BufferSpec) Equals(other BufferSpec) bool + 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 + Layout func() DataTypeLayout + Name func() string + var Null DataType = new(NullType) + func GetDataType[T NumericType | bool | string | []byte | float16.Num]() DataType + type DataTypeLayout struct + Buffers []BufferSpec + HasDict bool + VariadicSpec *BufferSpec + type Date32 int32 + func Date32FromTime(t time.Time) Date32 + func (d Date32) FormattedString() string + func (d Date32) ToTime() time.Time + type Date32Type struct + func (t *Date32Type) BitWidth() int + func (t *Date32Type) Bytes() int + func (t *Date32Type) Fingerprint() string + func (t *Date32Type) ID() Type + func (t *Date32Type) Layout() DataTypeLayout + func (t *Date32Type) Name() string + func (t *Date32Type) String() string + type Date64 int64 + func Date64FromTime(t time.Time) Date64 + func (d Date64) FormattedString() string + func (d Date64) ToTime() time.Time + type Date64Type struct + func (t *Date64Type) BitWidth() int + func (t *Date64Type) Bytes() int + func (t *Date64Type) Fingerprint() string + func (t *Date64Type) ID() Type + func (t *Date64Type) Layout() DataTypeLayout + 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 (DayTimeIntervalType) Bytes() int + func (DayTimeIntervalType) Layout() DataTypeLayout + func (t *DayTimeIntervalType) BitWidth() int + type Decimal128Type struct + Precision int32 + Scale int32 + func (*Decimal128Type) BitWidth() int + func (*Decimal128Type) Bytes() int + func (*Decimal128Type) ID() Type + func (*Decimal128Type) Name() string + func (Decimal128Type) Layout() DataTypeLayout + func (t *Decimal128Type) Fingerprint() string + func (t *Decimal128Type) GetPrecision() int32 + func (t *Decimal128Type) GetScale() int32 + func (t *Decimal128Type) String() string + type Decimal256Type struct + Precision int32 + Scale int32 + func (*Decimal256Type) BitWidth() int + func (*Decimal256Type) Bytes() int + func (*Decimal256Type) ID() Type + func (*Decimal256Type) Name() string + func (Decimal256Type) Layout() DataTypeLayout + func (t *Decimal256Type) Fingerprint() string + func (t *Decimal256Type) GetPrecision() int32 + func (t *Decimal256Type) GetScale() int32 + func (t *Decimal256Type) String() string + type Decimal32Type struct + Precision int32 + Scale int32 + func (*Decimal32Type) BitWidth() int + func (*Decimal32Type) Bytes() int + func (*Decimal32Type) ID() Type + func (*Decimal32Type) Name() string + func (Decimal32Type) Layout() DataTypeLayout + func (t *Decimal32Type) Fingerprint() string + func (t *Decimal32Type) GetPrecision() int32 + func (t *Decimal32Type) GetScale() int32 + func (t *Decimal32Type) String() string + type Decimal64Type struct + Precision int32 + Scale int32 + func (*Decimal64Type) BitWidth() int + func (*Decimal64Type) Bytes() int + func (*Decimal64Type) ID() Type + func (*Decimal64Type) Name() string + func (Decimal64Type) Layout() DataTypeLayout + func (t *Decimal64Type) Fingerprint() string + func (t *Decimal64Type) GetPrecision() int32 + func (t *Decimal64Type) GetScale() int32 + func (t *Decimal64Type) String() string + type DecimalType interface + BitWidth func() int + GetPrecision func() int32 + GetScale func() int32 + func NarrowestDecimalType(prec, scale int32) (DecimalType, error) + func NewDecimalType(id Type, prec, scale int32) (DecimalType, error) + type DenseUnionType struct + func DenseUnionFromArrays(children []Array, fields []string, codes []UnionTypeCode) *DenseUnionType + func DenseUnionOf(fields []Field, typeCodes []UnionTypeCode) *DenseUnionType + func (DenseUnionType) ID() Type + func (DenseUnionType) Layout() DataTypeLayout + func (DenseUnionType) Mode() UnionMode + func (DenseUnionType) Name() string + func (DenseUnionType) OffsetTypeTraits() OffsetTraits + func (t *DenseUnionType) ChildIDs() []int + func (t *DenseUnionType) Fields() []Field + func (t *DenseUnionType) Fingerprint() string + func (t *DenseUnionType) MaxTypeCode() (max UnionTypeCode) + func (t *DenseUnionType) NumFields() int + func (t *DenseUnionType) String() string + func (t *DenseUnionType) TypeCodes() []UnionTypeCode + type DictionaryType struct + IndexType DataType + Ordered bool + ValueType DataType + func (*DictionaryType) ID() Type + func (*DictionaryType) Name() string + func (d *DictionaryType) BitWidth() int + func (d *DictionaryType) Bytes() int + func (d *DictionaryType) Fingerprint() string + func (d *DictionaryType) Layout() DataTypeLayout + func (d *DictionaryType) String() string + type Duration int64 + type DurationType struct + Unit TimeUnit + func (*DurationType) BitWidth() int + func (*DurationType) Bytes() int + func (*DurationType) ID() Type + func (*DurationType) Name() string + func (DurationType) Layout() DataTypeLayout + func (t *DurationType) Fingerprint() string + func (t *DurationType) String() string + func (t *DurationType) TimeUnit() TimeUnit + type EncodedType interface + Encoded func() DataType + 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) Layout() DataTypeLayout + func (e *ExtensionBase) NumFields() int + 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) Bytes() int + func (t *FixedSizeBinaryType) Fingerprint() string + func (t *FixedSizeBinaryType) Layout() DataTypeLayout + 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) Layout() DataTypeLayout + 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) NumFields() int + func (t *FixedSizeListType) SetElemNullable(n bool) + func (t *FixedSizeListType) String() string + type FixedWidthDataType interface + BitWidth func() int + Bytes func() int + type FixedWidthType interface + type Float16Type struct + func (Float16Type) Bytes() int + func (Float16Type) Layout() DataTypeLayout + 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) Bytes() int + func (t *Float32Type) Fingerprint() string + func (t *Float32Type) ID() Type + func (t *Float32Type) Layout() DataTypeLayout + func (t *Float32Type) Name() string + func (t *Float32Type) String() string + type Float64Type struct + func (t *Float64Type) BitWidth() int + func (t *Float64Type) Bytes() int + func (t *Float64Type) Fingerprint() string + func (t *Float64Type) ID() Type + func (t *Float64Type) Layout() DataTypeLayout + func (t *Float64Type) Name() string + func (t *Float64Type) String() string + type FloatType interface + type Int16Type struct + func (t *Int16Type) BitWidth() int + func (t *Int16Type) Bytes() int + func (t *Int16Type) Fingerprint() string + func (t *Int16Type) ID() Type + func (t *Int16Type) Layout() DataTypeLayout + func (t *Int16Type) Name() string + func (t *Int16Type) String() string + type Int32Type struct + func (t *Int32Type) BitWidth() int + func (t *Int32Type) Bytes() int + func (t *Int32Type) Fingerprint() string + func (t *Int32Type) ID() Type + func (t *Int32Type) Layout() DataTypeLayout + func (t *Int32Type) Name() string + func (t *Int32Type) String() string + type Int64Type struct + func (t *Int64Type) BitWidth() int + func (t *Int64Type) Bytes() int + func (t *Int64Type) Fingerprint() string + func (t *Int64Type) ID() Type + func (t *Int64Type) Layout() DataTypeLayout + func (t *Int64Type) Name() string + func (t *Int64Type) String() string + type Int8Type struct + func (t *Int8Type) BitWidth() int + func (t *Int8Type) Bytes() int + func (t *Int8Type) Fingerprint() string + func (t *Int8Type) ID() Type + func (t *Int8Type) Layout() DataTypeLayout + func (t *Int8Type) Name() string + func (t *Int8Type) String() string + type IntType interface + type LargeBinaryType struct + func (LargeBinaryType) IsUtf8() bool + func (t *LargeBinaryType) Fingerprint() string + func (t *LargeBinaryType) ID() Type + func (t *LargeBinaryType) Layout() DataTypeLayout + func (t *LargeBinaryType) Name() string + func (t *LargeBinaryType) OffsetTypeTraits() OffsetTraits + func (t *LargeBinaryType) String() string + type LargeListType struct + func LargeListOf(t DataType) *LargeListType + func LargeListOfField(f Field) *LargeListType + func LargeListOfNonNullable(t DataType) *LargeListType + func (*LargeListType) Layout() DataTypeLayout + func (*LargeListType) OffsetTypeTraits() OffsetTraits + func (LargeListType) ID() Type + func (LargeListType) Name() string + func (t *LargeListType) Fingerprint() string + func (t *LargeListType) String() string + type LargeListViewType struct + func LargeListViewOf(t DataType) *LargeListViewType + func LargeListViewOfField(f Field) *LargeListViewType + func LargeListViewOfNonNullable(t DataType) *LargeListViewType + func (*LargeListViewType) ID() Type + func (*LargeListViewType) Layout() DataTypeLayout + func (*LargeListViewType) Name() string + func (*LargeListViewType) OffsetTypeTraits() OffsetTraits + func (t *LargeListViewType) Elem() DataType + func (t *LargeListViewType) ElemField() Field + func (t *LargeListViewType) Fields() []Field + func (t *LargeListViewType) Fingerprint() string + func (t *LargeListViewType) NumFields() int + func (t *LargeListViewType) SetElemMetadata(md Metadata) + func (t *LargeListViewType) SetElemNullable(n bool) + func (t *LargeListViewType) String() string + type LargeStringType struct + func (LargeStringType) IsUtf8() bool + func (t *LargeStringType) Fingerprint() string + func (t *LargeStringType) ID() Type + func (t *LargeStringType) Layout() DataTypeLayout + func (t *LargeStringType) Name() string + func (t *LargeStringType) OffsetTypeTraits() OffsetTraits + func (t *LargeStringType) String() string + type ListLikeType interface + Elem func() DataType + ElemField func() Field + type ListType struct + func ListOf(t DataType) *ListType + func ListOfField(f Field) *ListType + func ListOfNonNullable(t DataType) *ListType + func (*ListType) ID() Type + func (*ListType) Layout() DataTypeLayout + func (*ListType) Name() string + func (*ListType) OffsetTypeTraits() OffsetTraits + func (t *ListType) Elem() DataType + func (t *ListType) ElemField() Field + func (t *ListType) Fields() []Field + func (t *ListType) Fingerprint() string + func (t *ListType) NumFields() int + func (t *ListType) SetElemMetadata(md Metadata) + func (t *ListType) SetElemNullable(n bool) + func (t *ListType) String() string + type ListViewType struct + func ListViewOf(t DataType) *ListViewType + func ListViewOfField(f Field) *ListViewType + func ListViewOfNonNullable(t DataType) *ListViewType + func (*ListViewType) ID() Type + func (*ListViewType) Layout() DataTypeLayout + func (*ListViewType) Name() string + func (*ListViewType) OffsetTypeTraits() OffsetTraits + func (t *ListViewType) Elem() DataType + func (t *ListViewType) ElemField() Field + func (t *ListViewType) Fields() []Field + func (t *ListViewType) Fingerprint() string + func (t *ListViewType) NumFields() int + func (t *ListViewType) SetElemMetadata(md Metadata) + func (t *ListViewType) SetElemNullable(n bool) + func (t *ListViewType) String() string + type MapType struct + KeysSorted bool + func MapOf(key, item DataType) *MapType + func MapOfWithMetadata(key DataType, keyMetadata Metadata, item DataType, itemMetadata Metadata) *MapType + func (*MapType) ID() Type + func (*MapType) Name() string + func (*MapType) OffsetTypeTraits() OffsetTraits + func (t *MapType) Elem() DataType + func (t *MapType) ElemField() Field + 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) Layout() DataTypeLayout + func (t *MapType) NumFields() int + 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) GetValue(k string) (string, bool) + func (md Metadata) Keys() []string + func (md Metadata) Len() int + func (md Metadata) String() string + func (md Metadata) ToMap() map[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) Bytes() int + func (*MonthDayNanoIntervalType) Fingerprint() string + func (*MonthDayNanoIntervalType) ID() Type + func (*MonthDayNanoIntervalType) Name() string + func (*MonthDayNanoIntervalType) String() string + func (MonthDayNanoIntervalType) Layout() DataTypeLayout + 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 (MonthIntervalType) Bytes() int + func (MonthIntervalType) Layout() DataTypeLayout + func (t *MonthIntervalType) BitWidth() int + type NestedType interface + Fields func() []Field + NumFields func() int + type NullType struct + func (*NullType) Fingerprint() string + func (*NullType) ID() Type + func (*NullType) Layout() DataTypeLayout + func (*NullType) Name() string + func (*NullType) String() string + type NumericType interface + type OffsetTraits interface + BytesRequired func(int) int + type OffsetsDataType interface + OffsetTypeTraits func() OffsetTraits + 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 + SetColumn func(i int, col Array) (Record, error) + type RunEndEncodedType struct + ValueNullable bool + func RunEndEncodedOf(runEnds, values DataType) *RunEndEncodedType + func (*RunEndEncodedType) ID() Type + func (*RunEndEncodedType) Layout() DataTypeLayout + func (*RunEndEncodedType) Name() string + func (*RunEndEncodedType) ValidRunEndsType(dt DataType) bool + func (t *RunEndEncodedType) Encoded() DataType + func (t *RunEndEncodedType) Fields() []Field + func (t *RunEndEncodedType) Fingerprint() string + func (t *RunEndEncodedType) NumFields() int + func (t *RunEndEncodedType) RunEnds() DataType + func (t *RunEndEncodedType) String() string + type Schema struct + func NewSchema(fields []Field, metadata *Metadata) *Schema + func NewSchemaWithEndian(fields []Field, metadata *Metadata, e endian.Endianness) *Schema + func (s *Schema) AddField(i int, field Field) (*Schema, error) + func (s *Schema) Fingerprint() string + func (s *Schema) String() string + func (sc *Schema) Endianness() endian.Endianness + 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) IsNativeEndian() bool + func (sc *Schema) Metadata() Metadata + func (sc *Schema) NumFields() int + func (sc *Schema) WithEndianness(e endian.Endianness) *Schema + type SparseUnionType struct + func SparseUnionFromArrays(children []Array, fields []string, codes []UnionTypeCode) *SparseUnionType + func SparseUnionOf(fields []Field, typeCodes []UnionTypeCode) *SparseUnionType + func (SparseUnionType) ID() Type + func (SparseUnionType) Layout() DataTypeLayout + func (SparseUnionType) Mode() UnionMode + func (SparseUnionType) Name() string + func (t *SparseUnionType) ChildIDs() []int + func (t *SparseUnionType) Fields() []Field + func (t *SparseUnionType) Fingerprint() string + func (t *SparseUnionType) MaxTypeCode() (max UnionTypeCode) + func (t *SparseUnionType) NumFields() int + func (t *SparseUnionType) String() string + func (t *SparseUnionType) TypeCodes() []UnionTypeCode + type StringType struct + func (StringType) IsUtf8() bool + func (t *StringType) Fingerprint() string + func (t *StringType) ID() Type + func (t *StringType) Layout() DataTypeLayout + func (t *StringType) Name() string + func (t *StringType) OffsetTypeTraits() OffsetTraits + func (t *StringType) String() string + type StringViewType struct + func (*StringViewType) ID() Type + func (*StringViewType) IsUtf8() bool + func (*StringViewType) Layout() DataTypeLayout + func (*StringViewType) Name() string + func (*StringViewType) String() string + func (t *StringViewType) Fingerprint() string + type StructType struct + func StructOf(fs ...Field) *StructType + func (*StructType) ID() Type + func (*StructType) Layout() DataTypeLayout + 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) FieldIndices(name string) []int + func (t *StructType) Fields() []Field + func (t *StructType) FieldsByName(n string) ([]Field, bool) + func (t *StructType) Fingerprint() string + func (t *StructType) NumFields() int + func (t *StructType) String() string + type Table interface + AddColumn func(pos int, f Field, c Column) (Table, error) + Column func(i int) *Column + NumCols func() int64 + NumRows func() int64 + Release func() + Retain func() + Schema func() *Schema + type TemporalType interface + type TemporalWithUnit interface + TimeUnit func() TimeUnit + type Time32 int32 + func Time32FromString(val string, unit TimeUnit) (Time32, error) + func (t Time32) FormattedString(unit TimeUnit) string + func (t Time32) ToTime(unit TimeUnit) time.Time + type Time32Type struct + Unit TimeUnit + func (*Time32Type) BitWidth() int + func (*Time32Type) Bytes() int + func (*Time32Type) ID() Type + func (*Time32Type) Name() string + func (Time32Type) Layout() DataTypeLayout + func (t *Time32Type) Fingerprint() string + func (t *Time32Type) String() string + func (t *Time32Type) TimeUnit() TimeUnit + type Time64 int64 + func Time64FromString(val string, unit TimeUnit) (Time64, error) + func (t Time64) FormattedString(unit TimeUnit) string + func (t Time64) ToTime(unit TimeUnit) time.Time + type Time64Type struct + Unit TimeUnit + func (*Time64Type) BitWidth() int + func (*Time64Type) Bytes() int + func (*Time64Type) ID() Type + func (*Time64Type) Name() string + func (Time64Type) Layout() DataTypeLayout + func (t *Time64Type) Fingerprint() string + func (t *Time64Type) String() string + func (t *Time64Type) TimeUnit() TimeUnit + 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 TimestampFromStringInLocation(val string, unit TimeUnit, loc *time.Location) (Timestamp, bool, error) + func TimestampFromTime(val time.Time, unit TimeUnit) (Timestamp, error) + func (t Timestamp) ToTime(unit TimeUnit) time.Time + type TimestampConvertOp int8 + func GetTimestampConvert(in, out TimeUnit) (op TimestampConvertOp, factor int64) + type TimestampType struct + TimeZone string + Unit TimeUnit + func (*TimestampType) BitWidth() int + func (*TimestampType) Bytes() int + func (*TimestampType) ID() Type + func (*TimestampType) Layout() DataTypeLayout + func (*TimestampType) Name() string + func (t *TimestampType) ClearCachedLocation() + func (t *TimestampType) Fingerprint() string + func (t *TimestampType) GetToTimeFunc() (func(Timestamp) time.Time, error) + func (t *TimestampType) GetZone() (*time.Location, error) + func (t *TimestampType) String() string + func (t *TimestampType) TimeUnit() TimeUnit + type Type int + const BINARY + const BINARY_VIEW + const BOOL + const DATE32 + const DATE64 + const DECIMAL + const DECIMAL128 + const DECIMAL256 + const DECIMAL32 + const DECIMAL64 + 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_DAY_TIME + const INTERVAL_MONTHS + const INTERVAL_MONTH_DAY_NANO + const LARGE_BINARY + const LARGE_LIST + const LARGE_LIST_VIEW + const LARGE_STRING + const LIST + const LIST_VIEW + const MAP + const NULL + const RUN_END_ENCODED + const SPARSE_UNION + const STRING + const STRING_VIEW + const STRUCT + const TIME32 + const TIME64 + const TIMESTAMP + const UINT16 + const UINT32 + const UINT64 + const UINT8 + func GetType[T NumericType | bool | string]() Type + func (i Type) String() string + type TypeEqualOption func(*typeEqualsConfig) + func CheckMetadata() TypeEqualOption + type Uint16Type struct + func (t *Uint16Type) BitWidth() int + func (t *Uint16Type) Bytes() int + func (t *Uint16Type) Fingerprint() string + func (t *Uint16Type) ID() Type + func (t *Uint16Type) Layout() DataTypeLayout + func (t *Uint16Type) Name() string + func (t *Uint16Type) String() string + type Uint32Type struct + func (t *Uint32Type) BitWidth() int + func (t *Uint32Type) Bytes() int + func (t *Uint32Type) Fingerprint() string + func (t *Uint32Type) ID() Type + func (t *Uint32Type) Layout() DataTypeLayout + func (t *Uint32Type) Name() string + func (t *Uint32Type) String() string + type Uint64Type struct + func (t *Uint64Type) BitWidth() int + func (t *Uint64Type) Bytes() int + func (t *Uint64Type) Fingerprint() string + func (t *Uint64Type) ID() Type + func (t *Uint64Type) Layout() DataTypeLayout + func (t *Uint64Type) Name() string + func (t *Uint64Type) String() string + type Uint8Type struct + func (t *Uint8Type) BitWidth() int + func (t *Uint8Type) Bytes() int + func (t *Uint8Type) Fingerprint() string + func (t *Uint8Type) ID() Type + func (t *Uint8Type) Layout() DataTypeLayout + func (t *Uint8Type) Name() string + func (t *Uint8Type) String() string + type UintType interface + type UnionMode int8 + func (i UnionMode) String() string + type UnionType interface + ChildIDs func() []int + MaxTypeCode func() UnionTypeCode + Mode func() UnionMode + TypeCodes func() []UnionTypeCode + func UnionOf(mode UnionMode, fields []Field, typeCodes []UnionTypeCode) UnionType + type UnionTypeCode = int8 + type VarLenListLikeType interface + type ViewHeader struct + func (sh *ViewHeader) BufferIndex() int32 + func (sh *ViewHeader) BufferOffset() int32 + func (sh *ViewHeader) Equals(buffers []*memory.Buffer, other *ViewHeader, otherBuffers []*memory.Buffer) bool + func (sh *ViewHeader) InlineBytes() (data []byte) + func (sh *ViewHeader) InlineString() (data string) + func (sh *ViewHeader) IsInline() bool + func (sh *ViewHeader) Len() int + func (sh *ViewHeader) Prefix() [ViewPrefixLen]byte + func (sh *ViewHeader) SetBytes(data []byte) int + func (sh *ViewHeader) SetIndexOffset(bufferIndex, offset int32) + func (sh *ViewHeader) SetString(data string) int v18.0.0-rc0 Oct 15, 2024