Documentation
¶
Index ¶
- func Append(v *Vector, arg interface{}) error
- func Clean(v *Vector, m *mheap.Mheap)
- func Copy(v, w *Vector, vi, wi int64, m *mheap.Mheap) error
- func DecodeFixedCol[T any](v *Vector, sz int) []T
- func Free(v *Vector, m *mheap.Mheap)
- func Length(v *Vector) int
- func PreAlloc(v, w *Vector, rows int, m *mheap.Mheap)
- func Reset(v *Vector)
- func SetCol(v *Vector, col interface{})
- func SetLength(v *Vector, n int)
- func Shrink(v *Vector, sels []int64)
- func Shuffle(v *Vector, sels []int64, m *mheap.Mheap) error
- func Union(v, w *Vector, sels []int64, m *mheap.Mheap) error
- func UnionBatch(v, w *Vector, offset int64, cnt int, flags []uint8, m *mheap.Mheap) error
- func UnionOne(v, w *Vector, sel int64, m *mheap.Mheap) error
- type Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFixedCol ¶
func UnionBatch ¶
Types ¶
type Vector ¶
type Vector struct {
Or bool // true: origin
Ref uint64 // reference count
Link uint64 // link count
Data []byte // raw data
Typ types.Type
Col interface{} // column data, encoded Data
Nsp *nulls.Nulls // nulls list
}
* origin true: * count || type || bitmap size || bitmap || vector * origin false: * count || vector
func (*Vector) GetColumnData ¶
GetColumnData get whole column from a vector
Click to show internal directories.
Click to hide internal directories.