Documentation ¶
Index ¶
- func Clean(bat *Batch, m *mheap.Mheap)
- func Cow(bat *Batch)
- func GetVector(bat *Batch, name string) *vector.Vector
- func GetVectorIndex(bat *Batch, name string) int
- func Length(bat *Batch) int
- func Prefetch(bat *Batch, attrs []string, vecs []*vector.Vector)
- func Reduce(bat *Batch, attrs []string, m *mheap.Mheap)
- func Reorder(bat *Batch, attrs []string)
- func SetLength(bat *Batch, n int)
- func Shrink(bat *Batch, sels []int64)
- func Shuffle(bat *Batch, m *mheap.Mheap) error
- type Batch
- type DecodeItem
- type DumpDecodeItem
- type DumpKey
- type DumpOption
- type DumpResult
- type DumpValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVectorIndex ¶
Types ¶
type Batch ¶
type Batch struct { // Ro if true, Attrs is read only Ro bool // SelsData encoded row number list SelsData []byte // Sels row number list Sels []int64 // Attrs column name list Attrs []string // Vecs col data Vecs []*vector.Vector // ring Zs []int64 As []string // alias list Refs []uint64 // reference count Rs []ring.Ring Ht interface{} // hash table Result *DumpResult }
Batch represents a part of a relationship including an optional list of row numbers, columns and list of attributes
(SelsData, Sels) - list of row numbers (Attrs) - list of attributes (vecs) - columns
type DecodeItem ¶
type DecodeItem struct { // Attrs column name list Attrs []string // column data, origin Data Vecs []DumpDecodeItem }
type DumpDecodeItem ¶
type DumpDecodeItem []interface{}
type DumpOption ¶
type DumpResult ¶
type DumpResult struct { Keys []DumpKey Values []DumpValue Decode_keys DecodeItem Decode_values DecodeItem }
Click to show internal directories.
Click to hide internal directories.