Documentation
¶
Index ¶
Constants ¶
View Source
const (
UnitLimit = 256
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrHashMap ¶
type StrHashMap struct {
// contains filtered or unexported fields
}
StrHashMap, key is []byte, value a uint64 value (starting from 1)
each time a new key is inserted, the hashtable returns a lastvalue+1 or, if the old key is inserted, the value corresponding to that key
func NewStrMap ¶
func NewStrMap(hasNull bool) *StrHashMap
func (*StrHashMap) Insert ¶
func (m *StrHashMap) Insert(vecs []*vector.Vector, row int) bool
Insert a row from multiple columns into the hashmap, return true if it is new, otherwise false
func (*StrHashMap) InsertValue ¶
func (m *StrHashMap) InsertValue(val any) bool
Insert a value, return true if it is new, otherwise false never handle null
Click to show internal directories.
Click to hide internal directories.